[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)