InsecureRequestWarning: Unverified HTTPS request is being made.解决方法

Posted milian0711

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了InsecureRequestWarning: Unverified HTTPS request is being made.解决方法相关的知识,希望对你有一定的参考价值。

在前面添加:

import requests
from requests.packages.urllib3.exceptions import InsecureRequestWarning

requests.packages.urllib3.disable_warnings(InsecureRequestWarning)

 

以上是关于InsecureRequestWarning: Unverified HTTPS request is being made.解决方法的主要内容,如果未能解决你的问题,请参考以下文章