requests.exceptions.ProxyError
直接两种方式: session = requests.Session() session.trust_env = False response = session.get(‘http://ff2.pw’) 或者: proxies = { “http”: None, “https”: None} requests.get(“http://ff2.pw”, proxies=proxies) 都可以绕过系统设置的代理就好了
...
原创
2021-02-02 08:40:50 ·
148 阅读 ·
0 评论