-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
e-hentai.org gives back " You do not have permission to access the resource at" and can't dl certain tags #356
Comments
Logging in with You could try putting all of your e-hentai cookies in your config file so your "special" permissions are known to the e-hentai servers beforehand:
|
Well the problem there then is that I get a TypeError:
This is with |
Are you sure those values are actual strings, enclosed in double quotes and everything? (I'm using the cookies-in-config method myself and it's working as it should) |
Maybe the cookies have not been "exported" properly? What would you recommend? Still that old and trusty cookies.txt browser extension, for example? |
Here's my config:
|
Delete
And put the
|
Also: if your browser has any more e-hentai cookies than those three, I would advise you to put them in there as well. Another, maybe safer, way to achieve the same thing would be to export your browser cookies with a browser addon, as HRXN mentioned, and point the
|
After exporting my cookie to cookies.txt (via cookies.txt extension) and added it as a path instead like this:
I'm getting image page not found error: |
This can most likely solved by setting another cookie. I've gotten the same (?) error myself yesterday, and adding Since you are using a cookies.txt file you need to open it, duplicate any e-hentai cookie line, and set its name and value to edit: dc73d02 now automatically sets this cookie |
Hmm this is a bit confusing then. So if I use the latest version I don't need to edit it manually? If that is the case, I tried that but I get the exact same error (and I'm not banned or anything). also I noticed that for |
With the latest git snapshot, but not the latest version on PyPI. dc73d02 hasn't been "officially" released yet.
All you have to do is open your cookies file in a text editor and go to the first line with
Use copy and paste to duplicate it
And change name and value of the second line to
(All entries need to be separated by tab stops. Don't accidentally overwrite them) |
I see, so even if I used: Also I did as you said:
But I'm still getting the same error. |
No, that gets you the latest commit. Hmm, ok, then I really don't know why you can't access that gallery, because any HTTP request by gallery-dl should be the exact same as from a webbrowser. As a last resort, could you add a gallery-dl/gallery_dl/extractor/exhentai.py Line 243 in dc73d02
and send me the results (and maybe an uncensored verbose log when accessing this gallery) per email or as private message on Gitter I don't have a star account myself and can there not reproduce your issue. Understanding what exactly is going wrong here would be nice. |
I've sent a message on gitter. |
Thank you. I even managed to find out what is causing those problems: The multi page viewer and the website layout that comes with it. I'm not sure I can make it work with the MPV enabled since I don't have access to this feature myself, but disabling it on your end will definitely help. |
Ah I see, thanks I'll check it out shortly. |
There are two issues that are present but I think they are connected in how they act:
First one is that I can't download any favorites from e-hentai.org/favorites.php.
Since exhentai for now is dead, using e-hentai is much more cumbersome since it has weird rules in place in that only some users can access certain content.
This makes it so that gallery-dl can't access them but a typical web browser can.
I have username + password in gallery-dl.conf
But download any typical tag that doesn't require user registration (at least) works fine.
The text was updated successfully, but these errors were encountered: