qq_34358013
qq_34358013
2016-04-23 14:17

用Python的requests.get获取网页源代码出现ConnectionError

1
  • 爬虫
  • python
  • 源代码
  • requests

如下为具体报错:
requests.exceptions.ConnectionError: HTTPConnectionPool(host='seth_shy', port=80): Max retries exceeded with url: http://www.jikexueyuan.com/ (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError(': Failed to establish a new connection: [Errno 11004] getaddrinfo failed',)))

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

4条回答