import urllib.request
# 代理设置
proxy_support = urllib.request.ProxyHandler({'http': 'http://127.0.0.1:7890',
'https': 'https://127.0.0.1:7890'})
opener = urllib.request.build_opener(proxy_support)
urllib.request.install_opener(opener)
python代理设置
于 2024-01-21 01:07:47 首次发布