import requests
proxies = {
'http': 'socks5://127.0.0.1:1080',
'https': 'socks5://127.0.0.1:1080'
}
r=requests.get('https://www.google.com', proxies=proxies)
print(r.status_code)
python requests socks
最新推荐文章于 2024-06-18 13:05:17 发布