版权声明:欢迎任何形式的转载,但请务必注明出处,共创知识服务 https://blog.csdn.net/ASUKA2020/article/details/84404907
问题:
Python 提示 SSL 认证 「InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised」
解决方法:
# 引入模块
from requests.packages.urllib3.exceptions import InsecureRequestWarning
# 禁用安全请求警告
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)