mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-06-03 16:18:59 -04:00
wip
This commit is contained in:
parent
4b6f08b0fe
commit
5d9a32c364
178 changed files with 2982 additions and 1322 deletions
20
packages/abx-spec-archivebox/abx_spec_archivebox/effects.py
Normal file
20
packages/abx-spec-archivebox/abx_spec_archivebox/effects.py
Normal file
|
@ -0,0 +1,20 @@
|
|||
"""
|
||||
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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue