archivebox.cli.archivebox_extract
Run abx-dl snapshot hooks for existing ArchiveBox snapshots.
Module Contents
Functions
Resolve CLI records to snapshot-level execution requests. |
|
Execute selected plugins through the snapshot-level runner. |
|
Re-run the parent Snapshot plugin referenced by an ArchiveResult. |
|
Run plugins on Snapshots; ArchiveResult IDs select their parent plugin. |
Data
API
- archivebox.cli.archivebox_extract._resolve_requests(records: list[dict], plugins: str) tuple[dict[str, set[str]], set[str]][source]
Resolve CLI records to snapshot-level execution requests.
ArchiveResult input is accepted as a convenient reference to its parent Snapshot and plugin. It is never reset or converted into queued work.
- archivebox.cli.archivebox_extract._run_snapshot_requests(requested: dict[str, set[str]], *, wait: bool, show_progress: bool) int[source]
- archivebox.cli.archivebox_extract.run_plugins(args: tuple, records: list[dict] | None = None, plugins: str = '', wait: bool = True, emit_results: bool = True, show_progress: bool = True) int[source]
Execute selected plugins through the snapshot-level runner.