Commit graph

5 commits

Author SHA1 Message Date
Marty Oehme 8093259551
refactor: Remove pymupdf coupling in extraction
The library is only needed for pdf extraction which is taken care of
in its own extractor plugin. In the overall extraction routine we do not
need any knowledge of the existence of pymupdf.
2024-06-14 14:59:39 +02:00
Marty Oehme c2a5190237
refactor: Improve module availability checks
Followed ruff (Pyflakes) suggestion to use importlib utils directly
instead of try and erroring with imports.
2024-01-24 12:27:21 +01:00
Marty Oehme e7e5258b34
feat: Only activate pocketbook extractor optionally
Since we make the dependencies for pocketbook html extraction optional
as an extra, this commit ensures the extractor (and cli option) only
gets loaded when they exist.
2024-01-24 12:07:04 +01:00
Marty Oehme c53cd563b7
feat: Add pocketbook extraction 2024-01-24 08:56:21 +01:00
Marty Oehme a51205954c
refactor: Extract extractor list to extractor module 2024-01-23 09:21:46 +01:00