mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-30 06:25:28 -04:00
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
|
|
|