mikf / gallery-dl

Command-line program to download image galleries and collections from several image hosting sites
GNU General Public License v2.0
11.37k stars 925 forks source link

Getting authentication errors on Exhentai and E-hentai #2179

Closed BlueDragonKaiser closed 2 years ago

BlueDragonKaiser commented 2 years ago

Trying to download these two (NSFW) galleries: https://exhentai.org/g/1168717/fcb6fd425d/ https://e-hentai.org/g/1949053/0f391a1640/

But every time I put my credentials into CMD it gives me an authentication error. I've changed my password twice already but the errors persist:

[exhentai][info] Logging in as [exhentai][error] AuthenticationError: Invalid or missing login credentials

When I try through the conf file it gives me this error:

[config][warning] Could not parse 'C:\X\X.conf': Expecting value: line 88 column 25 (char 2028)

Any help would be appreciated.

Fukitsu commented 2 years ago

What does your config file look like? Post it without your credentials or private data

BlueDragonKaiser commented 2 years ago

Here it is gallery-dl (no cred).txt

Fukitsu commented 2 years ago

That config file worked with my credentials, I only changed the extension to .conf, try that

BlueDragonKaiser commented 2 years ago

Nope still getting the "could not parse" error. And even putting my credentials in manually in cmd itself gets me an "invalid credentials" error. Really not sure what's going on here.

BlueDragonKaiser commented 2 years ago

I went ahead and used the config file with the cookies and that solved the issue. Still not sure why I was having so much trouble with the regular one but at least it's working now.