在使用 requests 爬网站时报错:
- ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:1129)
- urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='mooc1-1.chaoxing.com', port=443): Max retries exceeded with url: /work/ .......
- requests.exceptions.SSLError: HTTPSConnectionPool(host='mooc1-1.chaoxing.com', port=443): Max retries exceeded with url: /work/ ......
原因是使用了代理,把代理关了就可以了