Closed snthsnthsnthsnth closed 3 years ago
Should be fixed in v1.31.12
.
I updated to v1.31.12, but I'm seeing the same issue, with the same console output. It happens on both e-hentai and exhentai.
Hi, I've tried v1.31.12 with your settings, and it looks fine. You can uninstall the script and reinstall to check if the problem solved. If no and if you don't have other scripts installed on GreaseMonkey, you can try Tampermonkey or ViolentMonkey.
I tried uninstalling and reinstalling, and it's the only script I had installed that was active on Exhentai.
I was originally using GreaseMonkey, so I tried the script on ViolentMonkey and TamperMonkey. I got a lot of 'Failed! (Empty Response)' and 'Failed! (Unknown)' messages. Between 100% and 60% of the images would give this response. Switching to resized images allowed downloading with both ViolentMonkey and TamperMonkey.
I got a lot of 'Failed! (Empty Response)' and 'Failed! (Unknown)' messages.
Are you still experiencing the error? If so, are you using a proxy server to browse E-Hentai? Using a proxy server may lead to this problem, or it may be a problem of E-Hentai server. Would you mind to post the error log here?
I'm not currently using a proxy. I'm a bit new to debugging, where can I find the error logs?
where can I find the error logs?
It's outputed in the console, by pressing F12
-> Console
and copy the logs that started with [EHD]
.
It's a bit long, so I picked a small gallery.
That's a bit weird, since the download url should returns a 302
redirect like this:
HTTP/1.1 302 Found
Date: Sat, 05 Sep 2020 20:17:46 GMT
Server: Apache
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Location: https://thzaexqketdoxorsmqpe.hath.network/om/81874690/5dc377c37d7bec406b5780664614c33e51eae715-2154180-2100-3187-jpg/x/0/s43iwg7amcyolg6woc/77179254_p0.jpg?dl=1
Content-Length: 3
Content-Type: text/html; charset=UTF-8
X-Varnish: 637986178
Age: 0
Via: 1.1 varnish-v4
Strict-Transport-Security: max-age=31536000; preload;
But on your log, the return code is 200
and doesn't have the Location
header. The response should be from E-Hentai server, as the Server
header is Apache and using varnish-v4
. So at this time it may be a bug of E-Hentai server.
I tried to open the image link in browser's private mode (so it doesn't have login cookie), and got the same return as yours.
HTTP/1.1 200 OK
Date: Sat, 05 Sep 2020 20:18:31 GMT
Server: Apache
Content-Length: 0
Content-Type: text/html; charset=UTF-8
X-Varnish: 463223836
Age: 0
Via: 1.1 varnish-v4
Accept-Ranges: bytes
Strict-Transport-Security: max-age=31536000; preload;
So it seems that the cookie is not sync, maybe you should try relaunch your browser. If that doesn't help, you can try to clear your cookies on e-hentai.org
and exhentai.org
, and login your account again. A step-by-step tip can be found at https://github.com/ccloli/E-Hentai-Downloader/issues/92#issuecomment-359184675.
BTW if you changed your browsers privacy settings, you can set E-Hentai as exception by following the steps at https://github.com/ccloli/E-Hentai-Downloader/issues/86#issuecomment-353815914.
Here is a updated steps to remove E-Hentai cookies on Firefox, it's verified by myself:
about:preferences#privacy
e-hentai.org
and exhentai.org
, press Ctrl
key to select both of them, then click Remove Selected button at the bottom left, then click Save Changes button at the bottom right
https://e-hentai.org/home.php
, you should see a login screen, login your accountWell it's around 5 AM on my time zone, so I need to go to sleep, if you've any question, you can leave them here, I'll check them once I wake up.
I did as instructed, cleared the cookies, logged into E-h, then opened Exh, tried downloading full size, still got errors. Resized images continue to work correctly.
I'm a bit confused, since it might be a cookies error, remove the cookies and login should fix the problem.
Can you download the original image by clicking the [Download original image] link under the image? You can try a larger gallery and click a page, the download link should at the bottom, if no you can go to another page.
If you can download the original image without any problem, at this time, maybe you can try another tool to download the gallery.
But if you still can't get the image, it might be a bug of E-Hentai itself, at this time we can't do anything.
Request URL > https://exhentai.org/fullimg.php?gid=1726556&page=3&key=9jtlr6t9isk Final URL > https://exhentai.org/?poni=no
Request URL > https://exhentai.org/ Final URL > https://exhentai.org/?poni=no
Oh wait... looks like your cookies is not sync again. Maybe you should retry the steps again, but after step 4, go to https://exhentai.org, make sure you see the gallery list, then restart your browser, then try downloading. If that doesn't help, maybe you should try other tools.
Yeah, still getting the same issues just using E-hentai. Probably something cookie based, but clearing them and not using Exhentai at al doesn't seem to clear up the issue. I'll just deal with only having resized images for the moment. Thanks for the help.
v1.32
is released, it adds passing cookies to the download request, for some unknown reason that makes the cookies not sync.
If you can download original images like this image by clicking the link Download original 1633 x 2500 1.00 MB source
at the bottom, but still cannot download original images by script, you can try updating to v1.32
and enabling Settings -> Pass cookies manually when downloading images, this should fix the problem.
That works perfectly, thanks!
The script fetches the gallery pages, but doesn't download the images. I recall it having a similar issue when I first used it, which I cleared through means I can no longer remember.
Here's the console output if that helps
[EHD] E-Hentai Downloader is running. E-Hentai%20Downloader:524:1 [EHD] Bugs Report > https://github.com/ccloli/E-Hentai-Downloader/issues | https://greasyfork.org/scripts/10379-e-hentai-downloader/feedback E-Hentai%20Downloader:525:1 [EHD] To report a bug, it's recommended to provide the logs started with "[EHD]", thanks. =w= E-Hentai%20Downloader:526:1 [EHD] UserAgent > Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 E-Hentai%20Downloader:12794:1 [EHD] Script Handler > Greasemonkey E-Hentai%20Downloader:12795:1 [EHD] Script Handler Version > 4.9 E-Hentai%20Downloader:12796:1 [EHD] E-Hentai Downloader Version > 1.31.11 E-Hentai%20Downloader:12797:1 [EHD] Current URL > https://exhentai.org/g/1701490/fa4f3f95f7/ E-Hentai%20Downloader:12798:1 [EHD] Is Logged In > true E-Hentai%20Downloader:12799:1 [EHD] E-Hentai Downloader Setting > {"speed-detect":false,"number-images":false,"number-real-index":false,"number-auto-retry":false,"auto-download-cancel":true,"recheck-file-name":false,"ignore-torrent":false,"status-in-title":"never","hide-image-limits":false,"hide-estimated-cost":false,"file-descriptor":false,"force-resized":false,"never-new-url":false,"never-send-nl":false,"store-in-fs":false,"play-silent-music":false,"save-info":"file","save-info-list":["title","metas","uploader-comment","page-links"],"save-info-list[]":false,"replace-with-full-width":false,"force-pause":false,"save-as-cbz":false} E-Hentai%20Downloader:12760:3 [EHD] Request Resolution Setting E-Hentai%20Downloader:14907:2 [EHD] Request Image Limits From e-hentai.org E-Hentai%20Downloader:14797:2 [EHD] Resolution Setting > {"withoutHentaiAtHome":0,"resolution":0,"timestamp":1599214671968} E-Hentai%20Downloader:14917:3 [EHD] Request Image Limits From e-hentai.org E-Hentai%20Downloader:14797:2