refactor: Extract extractor list to extractor module
This commit is contained in:
parent
629932a5e8
commit
a51205954c
3 changed files with 10 additions and 9 deletions
6
papis_extract/extractors/__init__.py
Normal file
6
papis_extract/extractors/__init__.py
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
from papis_extract.extraction import Extractor
|
||||
from papis_extract.extractors import pdf
|
||||
|
||||
all_extractors: dict[str, Extractor] = {
|
||||
"pdf": pdf.PdfExtractor(),
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue