ArchiveBox/archivebox/pkgs/abx-plugin-readability/abx_plugin_readability/extractors.py
2024-10-28 20:05:20 -07:00

19 lines
455 B
Python

# __package__ = 'abx_plugin_readability'
# from pathlib import Path
# from pydantic_pkgr import BinName
# from .binaries import READABILITY_BINARY
# class ReadabilityExtractor(BaseExtractor):
# name: str = 'readability'
# binary: BinName = READABILITY_BINARY.name
# def get_output_path(self, snapshot) -> Path:
# return Path(snapshot.link_dir) / 'readability' / 'content.html'
# READABILITY_EXTRACTOR = ReadabilityExtractor()