Skip to content
New issue

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

Some pdfs downloaded is password protected. #42

Open
ER-EPR opened this issue Feb 12, 2024 · 1 comment
Open

Some pdfs downloaded is password protected. #42

ER-EPR opened this issue Feb 12, 2024 · 1 comment

Comments

@ER-EPR
Copy link

ER-EPR commented Feb 12, 2024

I'm using fork branch fixgetpages from @motoyugota , it works most of the time, thank you very much, it helps me a lot.
I subscribe to a magazine but several issue of the magazine can't be combine to one pdf. The error is as follows.

.retrying after error: pdfcpu: please provide the correct password
Removing extra pages failed with pdfcpu: please provide the correct password

And the pages downloaded is all password protected. I can't see any patten, seems random, totally.
An example of the password protected pdf looks like this. And if I skip the password protected issues, other issues can be downloaded quite fine.
618519_0.pdf

         Someone mentioned it in another bug report:
(...)
ID:  86
Source  https://cdn2.audiencemedia.com/<several IDs>.pdf
ID:  87
Removing extra pages failed with pdfcpu: please provide the correct password
.retrying after error: pdfcpu: please provide the correct password
(...)

And indeed, while this script is running, all the temporary .PDF (inside the issue/ folder) have a password (if i try to open one with evince : i can't).
They however have a "regular" size (= are not empty, ...), like several hundeds of kb.

image

The resulting / final PDF in the end is sadly empty (0 bytes).

My config file is just :

{
 "username":"XXXXXXXXXXXXXXXXXXXXXXXX",
 "password":"XXXXXXXXXXXXXXXXXXXXXXXX",
 "chromepath":"/usr/bin/google-chrome-stable",
  "fingerprint":"XXXXXXXXXXXXXXXXXX"
}

Originally posted by @SR-G in #34 (comment)

@sunshadowx
Copy link

I am using the same fork, and am also getting password prompts on all my pdf files. ZiniGo is failing to combine the pdfs.

error:
.retrying after error: pdfcpu: please provide the correct password
Removing extra pages failed with pdfcpu: please provide the correct password

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants