mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-29 14:05:21 -04:00
wip
This commit is contained in:
parent
4b6f08b0fe
commit
5d9a32c364
178 changed files with 2982 additions and 1322 deletions
0
packages/abx-plugin-archivedotorg-extractor/README.md
Normal file
0
packages/abx-plugin-archivedotorg-extractor/README.md
Normal file
39
packages/abx-plugin-archivedotorg-extractor/__init__.py
Normal file
39
packages/abx-plugin-archivedotorg-extractor/__init__.py
Normal file
|
@ -0,0 +1,39 @@
|
|||
__package__ = 'plugins_extractor.archivedotorg'
|
||||
__label__ = 'archivedotorg'
|
||||
__version__ = '2024.10.14'
|
||||
__author__ = 'ArchiveBox'
|
||||
__homepage__ = 'https://archive.org'
|
||||
__dependencies__ = []
|
||||
|
||||
import abx
|
||||
|
||||
|
||||
@abx.hookimpl
|
||||
def get_PLUGIN():
|
||||
return {
|
||||
'archivedotorg': {
|
||||
'PACKAGE': __package__,
|
||||
'LABEL': __label__,
|
||||
'VERSION': __version__,
|
||||
'AUTHOR': __author__,
|
||||
'HOMEPAGE': __homepage__,
|
||||
'DEPENDENCIES': __dependencies__,
|
||||
}
|
||||
}
|
||||
|
||||
@abx.hookimpl
|
||||
def get_CONFIG():
|
||||
from .config import ARCHIVEDOTORG_CONFIG
|
||||
|
||||
return {
|
||||
'archivedotorg': ARCHIVEDOTORG_CONFIG
|
||||
}
|
||||
|
||||
|
||||
# @abx.hookimpl
|
||||
# def get_EXTRACTORS():
|
||||
# from .extractors import ARCHIVEDOTORG_EXTRACTOR
|
||||
#
|
||||
# return {
|
||||
# 'archivedotorg': ARCHIVEDOTORG_EXTRACTOR,
|
||||
# }
|
11
packages/abx-plugin-archivedotorg-extractor/config.py
Normal file
11
packages/abx-plugin-archivedotorg-extractor/config.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
__package__ = 'plugins_extractor.archivedotorg'
|
||||
|
||||
|
||||
from abx.archivebox.base_configset import BaseConfigSet
|
||||
|
||||
|
||||
class ArchivedotorgConfig(BaseConfigSet):
|
||||
SAVE_ARCHIVE_DOT_ORG: bool = True
|
||||
|
||||
|
||||
ARCHIVEDOTORG_CONFIG = ArchivedotorgConfig()
|
|
@ -0,0 +1,7 @@
|
|||
[project]
|
||||
name = "abx-archivedotorg-extractor"
|
||||
version = "0.1.0"
|
||||
description = "Add your description here"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.10"
|
||||
dependencies = []
|
Loading…
Add table
Add a link
Reference in a new issue