requests设置代LI示例

[python] 2024-04-28 圈点668

摘要:requests设置代LI示例

requests设置代LI示例

proxy = {'http': '192.168.1.11:8118'}
'''
#socks5代理
proxy = {
    'http': 'socks5://user:pass@host:port',
    'https': 'socks5://user:pass@host:port'
}
'''
result = requests.get(url, proxies=proxy)


requests  代LI  

感谢反馈,已提交成功,审核后即会显示