原文:解决python爬虫requests.exceptions.SSLError: HTTPSConnectionPool(host='XXX', port=443)问题

爬虫时报错如下: requests.exceptions.SSLError: HTTPSConnectionPool host 某某某网站 , port : Max retries exceeded with url: login Caused by SSLError SSLError bad handshake: Error SSL routines , tls process server c ...

2020-01-27 12:22 0 19426 推荐指数:

查看详情

解决 requests.exceptions.SSLError: HTTPSConnectionPool 异常

有些网页,用脚本语言(python)访问的时候可能会报 requests.exceptions.SSLError 异常 解决办法: 在 requests.get 请求中加入 verify=False 参数即可解决 但是这样修改之后应该还会出现很多 warning ...

Fri Jan 03 02:42:00 CST 2020 0 2523
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM