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

[Site Support Request] e-hentai.org #278

Closed
ghost opened this issue May 25, 2019 · 20 comments
Closed

[Site Support Request] e-hentai.org #278

ghost opened this issue May 25, 2019 · 20 comments

Comments

@ghost
Copy link

ghost commented May 25, 2019

I hope this is possible. If you can, make it download the original image instead of the view. Ex gallery (https://e-hentai.org/g/820791/a90c4b9af1)

Link to related APIs:

@Hrxn
Copy link
Contributor

Hrxn commented May 25, 2019

But it already is? Gallery links, like the one you posted above, should already work, as far as I know.

BASE_PATTERN = r"(?:https?://)?(e[x-]|g\.e-)hentai\.org"

@ghost
Copy link
Author

ghost commented May 25, 2019

Ohh, I don't know those are the same website, and yeah the extractor is working fine. But for some reason, I can't use gallery-dl to download the original images from the gallery, although I still can download the original image manually. Is there a workaround for this problem?

@mikf
Copy link
Owner

mikf commented May 26, 2019

You can only download originals if you are logged in.

Either set a username and password, or your cookies, including igneous, like here:

"cookies":
{
"ipb_member_id": "12345",
"ipb_pass_hash": "1234567890abcdef"
},

@mikf
Copy link
Owner

mikf commented May 28, 2019

@ucok66 Did you manage to login and download original images? Can this issue be closed?

@ghost
Copy link
Author

ghost commented May 28, 2019

I can log in with:

{
    "extractor":
    {
        "exhentai":
        {
            "username": "username",
            "password": "password"
        }
    }
}

and

{
    "extractor":
    {
        "exhentai":
        {
            "cookies":
            {
                "ipb_member_id": "12345",
                "ipb_pass_hash": "1234567890abcdef"
            },
        }
    }
}

But, the problem is I can't download the original images. I allways got this messege everytime I login.

[exhentai][info] sadpanda.jpg
[exhentai][error] You do not have permission to access the resource at 'https://e-hentai.org/g/1422372/a69986bd68/'

Is there a step that I miss?

@Hrxn
Copy link
Contributor

Hrxn commented May 28, 2019

Wait, do you use cookies and username & password at the same time?

@ghost
Copy link
Author

ghost commented May 29, 2019

It's separate configuration. Not at the same time.

@Hrxn
Copy link
Contributor

Hrxn commented May 29, 2019

If I recall correctly, [exhentai][info] sadpanda.jpg indicates some issue with your account. Like wrong credentials, temporary restrictions, IP bans or something.

Maybe try checking with the site in your browser. Could be caused by alternating between configs with different access methods like you seem to do here..

@ghost
Copy link
Author

ghost commented May 29, 2019

Hmm, I can log in to my account, I can download the original images manually, and so far there is no sign of error. Maybe I am going to look deeper what causes this, but in the meantime keep this issue open just in case

@mikf
Copy link
Owner

mikf commented May 30, 2019

How old is your account? New accounts need to wait a couple of days/weeks before they are allowed to access exhentai, and gallery-dl does everything over exhentai.org, regardless of the original input URL.

Wait, do you use cookies and username & password at the same time?

That's fine. gallery-dl will just ignore username & password If the right cookies are set.

If I recall correctly, [exhentai][info] sadpanda.jpg indicates some issue with your account.

Yep, that means your account is not allowed to access exhentai at that point in time. If you try to access exhentai, but aren't allowed to for some reason (not logged in, account not old enough, etc), you'll get an image of a sad panda instead.

@ghost
Copy link
Author

ghost commented May 31, 2019

"Joined: July 18."
hmm, how old exactly you have to be able to download a gallery using gallery-dl?

@Bfgeshka
Copy link

You will not be able to download via gallery-dl until you can pass sad panda gate. I do not think that anybody knows for sure, but usually accout verification takes 2-4 weeks, if I recall correctly.

@ghost
Copy link
Author

ghost commented May 31, 2019

I already verify my account right after I sign up. Also, my account is almost a year old, that is more long enough than verification time

@Bfgeshka, if you able to download original images from exhentai.org, can you tell me how?

@Bfgeshka
Copy link

WDYM by "original images"?

@ghost
Copy link
Author

ghost commented May 31, 2019

Original image or source image, the non-downscale image that usually the bottom of the page of the gallery that writes "Download original 3624 x 4812 1.71 MB source."

@mikf
Copy link
Owner

mikf commented May 31, 2019

I think you need to visit exhentai.org in your browser at least once while being logged into e-hentai.org to make this work. Your account is definitely old enough.

If you get a picture of a sad panda:

  • Delete all cookies for e-hentai.org, exhentai.org, forums.e-hentai.org
  • Log into e-hentai.org
  • Go to exhentai.org and it should work this time

@ghost
Copy link
Author

ghost commented May 31, 2019

hmm, I already deleted:

  • e-hentai.org
  • forums.e-hentai.org
  • upload.e-hentai.org
  • exhentai.org

But, I still get that sadpanda.jpg

mikf added a commit that referenced this issue May 31, 2019
Use e-hentai.org as root and cookiedomain if the input URL is from
e-hentai (or g.e-hentai), use exhentai.org otherwise.
@mikf
Copy link
Owner

mikf commented May 31, 2019

The exhentai extractor now uses e-hentai.org as base if the input URL also came from there, so you should be able to download originals when you are logged in.

It is still weird you can't access exhentai with your account. You are probably doing "something" wrong ...

@ghost
Copy link
Author

ghost commented May 31, 2019

Yeah, I still don't know what is going on how people can download from https://exhentai.org, but it is working now. Thanks for the fix

@ghost ghost closed this as completed May 31, 2019
@wankio
Copy link
Contributor

wankio commented Jun 2, 2019

you can earned points by upload, seeding, play their website game. When you have enough, you can browser exh without problem

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

No branches or pull requests

4 participants