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

Can't download from Sankaku #106

Closed
AnyByte opened this issue Sep 9, 2018 · 4 comments
Closed

Can't download from Sankaku #106

AnyByte opened this issue Sep 9, 2018 · 4 comments

Comments

@AnyByte
Copy link

AnyByte commented Sep 9, 2018

C:\Users\USER>gallery-dl "https://chan.sankakucomplex.com/?tags=fav:USER"
[sankaku][info] Logging in as USER
[sankaku][error] HTTP request failed:  HTTPSConnectionPool(host='chan.sankakucomplex.com', port=443): Max retries exceeded with url: /user/authenticate?url=&user%5Bname%5D=USER&user%5Bpassword%5D=PASSWORD&commit=Login (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)'),))
@wankio
Copy link
Contributor

wankio commented Sep 9, 2018

wrong id/password ?

@mikf
Copy link
Owner

mikf commented Sep 9, 2018

SSL: CERTIFICATE_VERIFY_FAILED

The root certificate bundle used by Python Requests is probably out of date.
Try updating it and see if that helps:

python -m pip install --upgrade certifi

Then again, I just tested this on an outdated Windows 7 VM with certifi 2017.7.27 and it worked just fine ...

@AnyByte
Copy link
Author

AnyByte commented Sep 14, 2018

Yeah, sorry, it was just a bad proxy, but I have another trouble now.
With this line gallery-dl 'https://chan.sankakucomplex.com/?tags=fav:USERNAME' and with this config:

 "cookies":
 {
     "login": "USERNAME",
     "pass_hash": "PASS_HASH",
     "auto_page": "0"
 }

Im using cookie authentication because script just freezes with username and pass, I guess thats because they their auth type possibly?
So with cookies it works but it downloads only first page, however when Im adding &page=1,2,3 in the end of the url in my browser it works just fine.

@mikf
Copy link
Owner

mikf commented Sep 14, 2018

Im using cookie authentication because script just freezes with username and pass, I guess thats because they their auth type possibly?

Weird. Logging in works just fine on my end, but it takes a very long time (at least 30sec) since Sankaku is incredibly slow. But I guess it's fine, since cookie-auth works.

but it downloads only first page

Fixed with fa64c38

@AnyByte AnyByte closed this as completed Sep 14, 2018
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

3 participants