devnoname120 / google-play-book-downloader

Download and decrypt books purchased on Google Play Books without text reflowing
GNU Affero General Public License v3.0
54 stars 4 forks source link

can't read file header, Unknown file format empty, damaged file or file not found ! #18

Open me-suzy opened 2 weeks ago

me-suzy commented 2 weeks ago

hello, in the file google-play-book-downloader-pdf.py

I change the Book Id, for example

BOOK_ID = "KOOEDwAAQBAJ"

Files starting to download one by one as .png files.

But when I try to open pdf file, I get this error:

image

image

awtur commented 1 week ago

I have the same issue. The PNG files are being downloaded as expected and the file size appears to be correct, but the files are corrupt/incomplete in some manner such that they can't be read or opened. I've attached an example. PA51