Example:
resp = requests.get('https://github.com',
proxies=dict(http='socks5://username:password@127.0.0.1:9011',
https='socks5://username:password@127.0.0.1:9011'))
Error: ConnectionRefusedError: [WinError 10061]
HTTP: same Error: http://apache.org/img/uima.jpg
or use Firefox with the option: Use Socks5 for DNS
Any Idea for the reason?
Example:
resp = requests.get('https://github.com',
proxies=dict(http='socks5://username:password@127.0.0.1:9011',
https='socks5://username:password@127.0.0.1:9011'))
Error: ConnectionRefusedError: [WinError 10061]
HTTP: same Error: http://apache.org/img/uima.jpg
or use Firefox with the option: Use Socks5 for DNS
Any Idea for the reason?