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)
# 都可以绕过系统设置的代理就好了
转自: https://blog.csdn.net/qq_39241986/article/details/80457017