Pypdf extracts code from one PDF, but not from another?
问题 I am trying to make a primitive crawler for my own pdf files. For that, I use Pypdf to extract the Data (Customer, Product, Amount, etc.) and use that data. Now, I have the code, its pretty easy, but it doesn't seem to be able to extract anything out of my PDFs while I tried it on some random PDF from google and it works. I tried with multiple of my documents, pdfs, don't work, random pdf off the internet works. I use Spyder. Below is the code I am using: import PyPDF2 as p2 PDFfile=open("pdf