Skip to content

Commit

Permalink
Release: v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alisafaya committed May 3, 2024
1 parent 28b1c1e commit 3875c9b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name="txt-from-pdf",
version="1.0.1",
version="1.1.0",
description="Extract clean text from PDFs.",
license_files=["LICENSE"],
long_description=open("README.md", "r", encoding="utf-8").read(),
Expand Down
2 changes: 1 addition & 1 deletion txtfrompdf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
from .filter import post_process # noqa

__all__ = ["extract_txt_from_pdf", "get_size_per_page", "split_pdf", "pdf_to_text", "post_process"]
__version__ = "1.0.1"
__version__ = "1.1.0"
2 changes: 1 addition & 1 deletion txtfrompdf/extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def pdf_to_text(path):
interpreter = PDFPageInterpreter(manager, device)

try:
for page in PDFPage.get_pages(filepath, check_extractable=True):
for page in PDFPage.get_pages(filepath, check_extractable=False):
interpreter.process_page(page)

except (PDFSyntaxError, TypeError):
Expand Down

0 comments on commit 3875c9b

Please sign in to comment.