增加下面的就ok了
from requests.packages.urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
转载于:https://www.cnblogs.com/VseYoung/p/requests-https.html
增加下面的就ok了
from requests.packages.urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
转载于:https://www.cnblogs.com/VseYoung/p/requests-https.html