问题解决:python去除requests请求https时的警告信息

InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html

在文件上方加入:

# 去除https警告
requests.packages.urllib3.disable_warnings()

你可能感兴趣的:(问题解决,python基础,python)