TheAxeDude / ZiniGo

Utility to backup magazines from the Zinio service as PDF, bypassing/Removing their DRM.
MIT License
51 stars 9 forks source link

Some pdfs downloaded is password protected. #42

Open ER-EPR opened 9 months ago

ER-EPR commented 9 months ago

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 https://github.com/TheAxeDude/ZiniGo/issues/34#issuecomment-1708934863

sunshadowx commented 9 months ago

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