mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-06-07 18:04:43 -04:00

Some checks are pending
Build Debian package / build (push) Waiting to run
Build Docker image / buildx (push) Waiting to run
Build Homebrew package / build (push) Waiting to run
Run linters / lint (push) Waiting to run
Build Pip package / build (push) Waiting to run
Run tests / python_tests (ubuntu-22.04, 3.11) (push) Waiting to run
Run tests / docker_tests (push) Waiting to run
20 lines
390 B
Python
20 lines
390 B
Python
"""
|
|
Hookspec for side-effects that ArchiveBox plugins can trigger.
|
|
|
|
(e.g. network requests, binary execution, remote API calls, external library calls, etc.)
|
|
"""
|
|
|
|
__package__ = 'abx.archivebox'
|
|
|
|
import abx
|
|
|
|
|
|
@abx.hookspec
|
|
def check_remote_seed_connection(urls, extractor, credentials, created_by):
|
|
pass
|
|
|
|
|
|
@abx.hookspec
|
|
def exec_extractor(url, extractor, credentials, config):
|
|
pass
|
|
|