python3 爬虫 运行时报:InsecureRequestWarning:Unverified HTTPS request is being made. Adding certificate ve

requests.get(url,headers=headers,verify=False)
已经加上了
verify=False   还是报异常
需要先导入urllib3的包
然后在requests之前加上

urllib3.disable_warnings()即可!

猜你喜欢

转载自blog.csdn.net/rookie_is_me/article/details/80934789
今日推荐