lorenzodifuccia / safaribooks

Download and generate EPUB of your favorite books from O'Reilly Learning (aka Safari Books Online) library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ebook Downloaded but NO image

djefferson-saintilus opened this issue · comments

I have just test this script and everything seem like good but after when I read the book there's no images

Related - #280
PR in progress #288

Having the same problem. I tried multiple times to make sure it is not a site issue but the results are the same, All images download (and faster than usual) but they are all same size (33 kbyte) and non readable. Wonder what went wrong, Is it a change done at the source or a code changes that caused this!!

I think the problem might be the image files that get downloaded. Although they are *.png, they are not actually png files. They are html files

$ file Images/cover.png 
Images/cover.png: HTML document, UTF-8 Unicode text, with very long lines

Maybe the location of the image files has changed on safari

Yea, seems that the link is broken somehow if you look into the image 'html' code:
{"urn:orm:book:9781597499637:chapter:images%2fvellip_8942.jpg":{"error":{"message":"404 - 404: Not Found","status":404,"statusText":"404: Not Found"}}}