InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised.解决办法
最近使用requests进行get请求的时候,控制台输出如下错误。
InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised.
最简单,不顾一切的解决办法。。
import urllib3 urllib3.disable_warnings()
即可。测试,可行,而且对程序运行没有不良影响。
其实我也不明白这个错误是什么原因,希望能有大佬给解释下。