Python爬虫报错HTTPSConnectionPool(host=‘heat.qq.com‘, port=443)处理
1.在爬虫时出现报错:
requests.exceptions.SSLError: HTTPSConnectionPool(host=‘heat.qq.com’, port=443): Max retries exceeded with url: / (Caused by SSLError(SSLError(“bad handshake: SysCallError(10054, ‘WSAECONNRESET’)”)))
2.解决方法
第一步:在request.get()\requet.post()里面加参数
原创
2020-07-09 09:41:40 ·
1537 阅读 ·
0 评论