-
-
Notifications
You must be signed in to change notification settings - Fork 995
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
[Exhentai] Html page is downloaded instead of the last image before hitting image limit #1808
Comments
My limit is also 50,000 but I'm not having that issue. "exhentai": {
"domain": "auto",
"limits": 50000,
"metadata": true,
"original": true,
"wait-min": 6.0,
"wait-max": 10.0,
"sleep": 3,
"sleep-request": 2,
"sleep-extractor": 3,
"username": null,
"password": null,
"skip": "abort",
"cookies": {
"ipb_member_id": REDACTED,
"ipb_pass_hash": REDACTED,
"hath_perks": REDACTED,
"ipb_session_id": REDACTED,
"sk": REDACTED,
"star": REDACTED,
"event": REDACTED
},
"base-directory": REDACTED,
"directory": [
"{eh_category}",
"{gid} - {title}"
],
"filename": "{num:>04}_{filename}.{extension!l}"
}, If something's different in your config it might help identify the issue? Edit: This is my version |
I added |
Check for a 'text/html' Content-Type instead of the very specific 137 bytes Content-Length, which might change depending on compression or other factors.
Do you still have that HTML file lying around? Does it contain the following text?
When |
Yes, it's that same message. It's weird since the previous method had been working fine until I raised my image limits |
I know it was fixed in #1437 but it started happening to me again, not sure since when but I suspect it started since I got the "More Pages" hath perks which raised the image limit up to 50000 instead of the usual 5000 though that doesn't make much sense. It happens with big galleries like this one for example:
https://exhentai.org/g/1966459/205507c4ed/
The image number 455 is downloaded fine but the number 456 is an html page. Does this happen to anyone else? Is there a way to make gallery-dl check if the last image is an html and give the link to the previous image (second to last), in this case number 456 instead of number 457?
The text was updated successfully, but these errors were encountered: