错误处理
文章平均质量分 50
sunny_happy08
持之以恒是一种伟大的能力
展开
-
python使用第三方库request访问https报错
摘要:使用pip安装request插件,访问https时,有时会报出SNIMissingWarning和InsecurePlatformWarning警告报错详情:SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not ava...原创 2018-08-07 17:51:38 · 1137 阅读 · 0 评论 -
使用火狐浏览器报错
selenium使用报错“selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH.”安装了python2.7.8,使用pip安装了selenium,但是在使用时,报了“selenium.common.exceptions.WebDriverExcep...原创 2018-08-06 16:30:47 · 1708 阅读 · 0 评论 -
python用requests请求,报SSL:CERTIFICATE_VERIFY_FAILED错误
requests模块之前一直正常的,某一天开始对https的请求都抛错误了:requests.exceptions.SSLError: [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed 起初,以为是代理不稳定,重启代理无效,...原创 2018-10-18 14:39:24 · 8913 阅读 · 0 评论