File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -4691,6 +4691,7 @@ def get_pdf_text(
4691
4691
wrap=False,
4692
4692
nav=False,
4693
4693
override=False,
4694
+ caching=True,
4694
4695
):
4695
4696
"""Gets text from a PDF file.
4696
4697
PDF can be either a URL or a file path on the local file system.
@@ -4712,7 +4713,8 @@ def get_pdf_text(
4712
4713
(Not needed because the PDF will be downloaded anyway.)
4713
4714
override - If the PDF file to be downloaded already exists in the
4714
4715
downloaded_files/ folder, that PDF will be used
4715
- instead of downloading it again."""
4716
+ instead of downloading it again.
4717
+ caching - If resources should be cached via pdfminer."""
4716
4718
import warnings
4717
4719
4718
4720
with warnings.catch_warnings():
@@ -4760,7 +4762,7 @@ def get_pdf_text(
4760
4762
password="",
4761
4763
page_numbers=page_search,
4762
4764
maxpages=maxpages,
4763
- caching=False ,
4765
+ caching=caching ,
4764
4766
codec=codec,
4765
4767
)
4766
4768
pdf_text = self.__fix_unicode_conversion(pdf_text)
You can’t perform that action at this time.
0 commit comments