Closed nishimi-ya closed 1 month ago
Context: I want to download nhentai favorite tab with this command % gallery-dl --cookies ~/Downloads/cookies-nhentai-net.txt https://nhentai.net/favorites/
Are you using a proxy?
Have you tried --no-check-certificate
?
Hello, sorry late reply. I used that flag and there's error because my ISP blocked the website, previously it wasn't like this. Changing the dns in resolv.conf doesn't work either.
my ISP blocked the website
Then use a VPN, shadowsocks, GreenTunnel, a regular Proxy, etc.
[downloader.http][warning] HTTPSConnectionPool(host='i.nhentai.net', port=443): Max retries exceeded with url: /galleries/1975089/1.jpg (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1000)'))) (1/5)
I have downgraded the python-requests to version 2.31.0 and will output like above. version 2.31.0 and lower will straight up
ModuleNotFoundError: No module named 'requests'
.