feat: Add ReadEra extractor
For the readera epub/pdf reader application for android and ios.
This commit is contained in:
parent
5350b9215e
commit
3ef45e24f7
2 changed files with 87 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue