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

On page 65 onwards the script throws "Skipped: Download link for PAxx is missing" in a book of over 600 pages. #19

Open KiwasoVR opened 1 week ago

KiwasoVR commented 1 week ago

On page 65 onwards the script throws "Skipped: Download link for PAxx is missing" in a book of over 600 pages. It works correctly from page 1 to 65, but after 1 second it shows an error on all other pages. I have increased the time between pages to 4 seconds but it still happens on the same page number. Captura de pantalla 2024-09-19 225802

KiwasoVR commented 1 week ago

Fixed with a change of headers and cookies.

devnoname120 commented 4 days ago

Could you share your solution so that other people who have that issue in the future can solve it?

KiwasoVR commented 4 days ago

Could you share your solution so that other people who have that issue in the future can solve it?

I thought I had solved it by changing the cookies and header to new ones when refreshing the page, but the same thing keeps happening. There are 2 types of errors: The one I mentioned on this page, and the second error is that it keeps generating images until reaching the last page but from 137/609 onwards the images are corrupted with no preview and weight the same size (130 Kb if I remember correctly) in all of them.

It's strange, because 1 week later I re-launched the program with new cookies and with a time of 3 seconds between screenshots and I was able to make up to page 240 approx. (I don't have the file here right now)

I think it's some kind of block by Google.