add favicon and archivedotorg plugins

This commit is contained in:
Nick Sweeting 2024-09-26 02:32:10 -07:00
parent c950271bc3
commit 446b38dc41
No known key found for this signature in database
2 changed files with 58 additions and 0 deletions

View file

@ -0,0 +1,28 @@
__package__ = 'archivebox.plugins_extractor.archivedotorg'
from typing import List
from plugantic.base_plugin import BasePlugin
from plugantic.base_configset import BaseConfigSet
from plugantic.base_hook import BaseHook
###################### Config ##########################
class ArchivedotorgConfig(BaseConfigSet):
SAVE_ARCHIVE_DOT_ORG: bool = True
ARCHIVEDOTORG_CONFIG = ArchivedotorgConfig()
class ArchivedotorgPlugin(BasePlugin):
app_label: str = 'archivedotorg'
verbose_name: str = 'Archive.org'
hooks: List[BaseHook] = [
ARCHIVEDOTORG_CONFIG
]
PLUGIN = ArchivedotorgPlugin()
DJANGO_APP = PLUGIN.AppConfig