首页 > 代码库 > InsecureRequestWarning: Unverified HTTPS request is being made.解决方法

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.解决方法