热线电话:13121318867

登录
2019-04-08 阅读量: 898
python爬虫报错

问题描述:

python爬虫报错:requests.exceptions.ProxyError

解决方法:

对于这个错误,stackoverflow给出的解释是

The ProxyError exception is not actually the requests.exceptions exception; it an exception with the same name from the embedded urllib3 library, and it is wrapped in a MaxRetryError exception.

翻译过来就是这个错误实际上不是requests.exceptions中的异常,这是嵌入到urllib2库中的同名异常,这个异常是封装在MaxRetryError当中的。补充一点,通常在代理服务器不通时出现这个异常。

0.0000
2
关注作者
收藏
评论(0)

发表评论

暂无数据
推荐帖子