Skip to content

Some pdfs downloaded is password protected. #42

@ER-EPR

Description

@ER-EPR

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions