We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The API of pdfminer has changed in newer versions, requiring a small change in preprocess.py.
https://github.com/euske/pdfminer#api-changes
diff of preprocess.py
@@ -323 +323,2 @@ - from pdfminer.pdfinterp import PDFResourceManager, process_pdf + from pdfminer.pdfinterp import PDFResourceManager, PDFPageInterpreter + from pdfminer.pdfpage import PDFPage @@ -402 +403,3 @@ - process_pdf(rsrcmgr, device, pdf_stream, pagenos=set(), password=password, caching=True, check_extractable=True) + interpreter = PDFPageInterpreter(rsrcmgr, device) + for page in PDFPage.get_pages(pdf_stream, password=password, caching=True, check_extractable=True): + interpreter.process_page(page)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The API of pdfminer has changed in newer versions, requiring a small change in preprocess.py.
https://github.com/euske/pdfminer#api-changes
diff of preprocess.py
The text was updated successfully, but these errors were encountered: