Bootstrap

请求https前缀的网站验证SSL证书的解决方案之一

from requests.packages.urllib3.exceptions import InsecureRequestWarning

# 禁用安全请求警告
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)



 

转载于:https://www.cnblogs.com/weiwei-python/p/10118999.html

;