Closed olivierberten closed 7 months ago
Can you upload the raw images here for comparison purposes? Are you viewing the book on Google Play Books as Flowing text
or Original Pages
?
Hi!
I'm using Original Pages as this is a comic: https://play.google.com/books/reader?id=qSOWAwAAQBAJ
Here's the image downloaded by your script at max resolution:
Here's the same one downloaded with a limit at 1440x1920 to match the one in browser:
The one in browser from url https://play.google.com/books/publisher/content/reader?id=qSOWAwAAQBAJ&hl=fr&pg=i_9782803632190_090&img=1&zoom=6&cds=2&sig=ACfU3U0gnPvLoQyyT6NK3xdKMRyjp_TCLQ&w=1440&h=1920&enc_all=1&source=ge-web-app
Which is exactly the same as in the downloaded epub
Some interesting facts about https://play.google.com/books/publisher/content/reader?id=qSOWAwAAQBAJ&hl=fr&pg=i_9782803632190_090&img=1&zoom=6&cds=2&sig=ACfU3U0gnPvLoQyyT6NK3xdKMRyjp_TCLQ&w=1440&h=1920&enc_all=1&source=ge-web-app
enc_all
to 0 returns unencrypted and unmangled imagezoom=1
returns the same image, other values give an errorw
and h
parameters give the original size picture (in this case, it seems to actually be 1440x1920 as higher sizes do show artifacts)That url is to be found in https://play.google.com/books/volumes/qSOWAwAAQBAJ/content/segment?start=h_9782803632190-tpc-90&cds=2&av=2&vert=1&ef=4&flvers=1&svg=2&multi_toc=1&hl=fr&source=gbs_content_api which is listed in https://play.google.com/books/reader?id=qSOWAwAAQBAJ
As far as I know this URL links to a specific image in the page. In your case the whole page happens to just consist of a single big image, which is the reason why you can easily download it with this URL.
You can try with this free book and see how it goes (first image is on page 9): https://play.google.com/store/books/details/Ryan_Shah_Master_the_Art_of_Unreal_Engine_4_Bluepr?id=cGbkAwAAQBAJ
This issue boils down to that: https://github.com/devnoname120/google-play-book-downloader/issues/15
Hi!
Great script! I'm at last able to download my "big" books.
On my computer, google play books uses zoom 6, which has a better resolution than the downloaded ones. I changed it in the script but it still uses zoom 3. Is it possible to implement this?
Yours,