现代方式:
pip install -U requests[socks]
然后
import requestsresp = requests.get('http://go.to', proxies=dict(http='socks5://user:pass@host:port',https='socks5://user:pass@host:port'))
现代方式:
pip install -U requests[socks]
然后
import requestsresp = requests.get('http://go.to', proxies=dict(http='socks5://user:pass@host:port',https='socks5://user:pass@host:port'))