archivebox.services.runnerο
Module Contentsο
Classesο
Functionsο
APIο
- archivebox.services.runner._runner_console_line(*, crawl=None, crawl_id=None, snapshot=None, status: str = 'STARTED') None[source]ο
- archivebox.services.runner._count_selected_hooks(catalog: abx_dl.catalog.PluginCatalog, selected_plugins: list[str] | None) int[source]ο
- archivebox.services.runner._enable_requested_plugins(config: dict[str, Any], plugins: abx_dl.catalog.PluginCatalog) None[source]ο
- archivebox.services.runner._is_nonfatal_setup_hook(plugin_name: str, hook_name: str) bool[source]ο
- archivebox.services.runner._is_external_task_cancelled(error: asyncio.CancelledError) bool[source]ο
- class archivebox.services.runner.CrawlRunner(crawl, *, snapshot_ids: list[str] | None = None, selected_plugins: list[str] | None = None, process_discovered_snapshots_inline: bool = True, show_progress: bool = True, interactive_interrupts: bool = False, config_overrides: dict[str, Any] | None = None)[source]ο
Initialization
- async watch_for_cancelled_crawl(parent_event: abxbus.BaseEvent, *, poll_interval: float = 1.0) None[source]ο
- property allow_maintenance_on_inactive_crawl: bool[source]ο
Run explicitly targeted plugin work on already-sealed snapshots.
- async enqueue_snapshot(snapshot_id: str, crawl_start_event: abx_dl.events.CrawlStartEvent | None = None) None[source]ο
- archivebox.services.runner.run_crawl(crawl_id: str, *, snapshot_ids: list[str] | None = None, selected_plugins: list[str] | None = None, process_discovered_snapshots_inline: bool = True, show_progress: bool = True, interactive_interrupts: bool = False, config_overrides: dict[str, Any] | None = None) None[source]ο
- archivebox.services.runner._run_crawl_locked(crawl_id: str, *, snapshot_ids: list[str] | None = None, selected_plugins: list[str] | None = None, process_discovered_snapshots_inline: bool = True, show_progress: bool = True, interactive_interrupts: bool = False, config_overrides: dict[str, Any] | None = None) None[source]ο
- archivebox.services.runner.run_snapshot_maintenance(snapshot_id: str, *, output_dir: pathlib.Path | None = None) bool[source]ο
- archivebox.services.runner.run_due_crawl(crawl, *, lock_seconds: int, interactive_interrupts: bool = False) bool[source]ο
- archivebox.services.runner._run_due_crawl_locked(crawl, *, lock_seconds: int, interactive_interrupts: bool = False) bool[source]ο
- archivebox.services.runner.run_due_snapshot(snapshot, *, lock_seconds: int, interactive_interrupts: bool = False, runtime_config=None) bool[source]ο
- archivebox.services.runner._run_due_snapshot_locked(snapshot, *, lock_seconds: int, interactive_interrupts: bool = False, runtime_config=None) bool[source]ο
- async archivebox.services.runner._run_install(plugin_names: list[str] | None = None) None[source]ο
- archivebox.services.runner._run_due_crawl_status(status: str, *, crawl_id: str | None, lock_seconds: int, interactive_interrupts: bool) bool[source]ο
- archivebox.services.runner._run_due_snapshot_query(queryset, *, lock_seconds: int, interactive_interrupts: bool, runtime_config) bool[source]ο