ArchiveBox/archivebox/pkgs/abx-plugin-title/abx_plugin_title/extractors.py

11 lines
204 B
Python

__package__ = 'abx_plugin_title'
from abx_spec_extractor import BaseExtractor, ExtractorName
class TitleExtractor(BaseExtractor):
name: ExtractorName = 'title'
TITLE_EXTRACTOR = TitleExtractor()