from requests.packages.urllib3.exceptions import InsecureRequestWarning
# 禁用安全请求警告
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
请求https前缀的网站验证SSL证书的解决方案之一
猜你喜欢
转载自www.cnblogs.com/weiwei-python/p/10118999.html
今日推荐
周排行