在用urllib模块抓取页面的时候遇见了IOError: [Errno socket error] [Errno 10061]错误 网上找了半天 都说是ie设置了代理服务器的原因

发现我的ie这里是关闭的 但是还是爆出10061错误 如果盆友和我是一样的情况可能是因为注册表的代理默认是开启的我们可以到注册表强制关闭(注册表打开应该都会)

这么多的表肯定很难找 我们ctrl+f 输入ProxyEnable自动查找

然后把1改成0就可以了

本文标题: python爬虫使用urllib错误 URLError:
本文链接:https://www.haomeiwen.com/subject/kfuuixtx.html
网友评论