Python爬取拉勾网时遇到的问题,求帮助
报错
requests.exceptions.SSLError: HTTPSConnectionPool(host=‘www.lagou.com’, port=443): Max retries exceeded with url: /jobs/positionAjax.json?city=%E5%8C%97%E4%BA%AC&needAddtionalResult=false (Caused by SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”))
Python爬取拉勾网时遇到的问题,求帮助
11 回复
https 协议验证问题,verify=False,试下
我无法理解你的问题
还是不行,,好奇 SSL module is not available 是啥意思
避开 ssl 的验证问题,requests 模块么
是 requests 模块,那要怎么解决
猜测是是 ssl 模块没有装好,是自己编译的 python 吗?如果是的话先装 SSL devel,然后重新编译
要装一个 openssl 吧
是安装的 anaconda,这个问题是在 pycharm 上运行出现的,在终端上程序都正常运行的
安装了的,觉得是 pycharm 的问题,用 spyder 都没报错
urllib3.disable_warnings() 试试
SSL module is not available SSL 证书模块不可用

