feat: Add ReadEra extractor

For the readera epub/pdf reader application for android and ios.
This commit is contained in:
Marty Oehme 2025-09-10 22:50:48 +02:00
parent 5350b9215e
commit 3ef45e24f7
Signed by: Marty
GPG key ID: 4E535BC19C61886E
2 changed files with 87 additions and 0 deletions

View file

@ -5,12 +5,14 @@ import papis.logging
from papis_extract.extraction import Extractor
from papis_extract.extractors import pdf
from papis_extract.extractors.pocketbook import PocketBookExtractor
from papis_extract.extractors import readera
logger = papis.logging.get_logger(__name__)
all_extractors: dict[str, Extractor] = {}
all_extractors["pdf"] = pdf.PdfExtractor()
all_extractors["readera"] = readera.ReadEraExtractor()
if find_spec("bs4") and find_spec("magic"):
all_extractors["pocketbook"] = PocketBookExtractor()