hrbrmstr / pdfbox

📄◻️ Create, Maniuplate and Extract Data from PDF Files (R Apache PDFBox wrapper)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extract from password protected PDFs

mjcarroll1985 opened this issue · comments

First, I have to say thank you - I love this package. I get very reliable text extraction quickly, which is great.

However, I have a password protected PDF that returns NULL when I use extract_text() - this is as expected.

I do have the password, so if I could enter it somewhere, the text should be extractable. Is there a way to modify extract_text to allow a password to be entered?

Any help appreciated

Matthew