Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[hentaifox]: 404 errors due to extractor not supporting PNG #1366

Closed
jgrubs1 opened this issue Mar 9, 2021 · 0 comments
Closed

[hentaifox]: 404 errors due to extractor not supporting PNG #1366

jgrubs1 opened this issue Mar 9, 2021 · 0 comments

Comments

@jgrubs1
Copy link

jgrubs1 commented Mar 9, 2021

Some galleries on hentaifox are available in high resolution, with PNG instead of JPG images. The extractor does not seem to recognize this, thus missing the high-quality images. This leads to download errors. Example:

gallery-dl -v https://hentaifox.com/gallery/80550

This results in 404 errors on images 2, 12, 13, 26, 28, 45, 46, and 48:

[urllib3.connectionpool][debug] https://i.hentaifox.com:443 "GET /003/1859568/2.jpg HTTP/1.1" 404 None
[downloader.http][warning] '404 Not Found' for 'https://i.hentaifox.com/003/1859568/2.jpg'
[download][error] Failed to download hentaifox_80550_002.jpg

The correct URLs, as parsed from the gallery HTML, are as follows:

https://i.hentaifox.com/003/1859568/2.png
through
https://i2.hentaifox.com/003/1859568/48.png

Suggested fix: patch hentaifox extractor to detect the availability of PNG files in the gallery, and automatically download full-size PNG images instead of the downsized JPG, when present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants