InsecureRequestWarning: Unverified HTTPS request is being made

在这里插入图片描述

解决方法一:

requests.packages.urllib3.disable_warnings()

解决方法二:

from requests.packages.urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)

你可能感兴趣的:(安全.error,python)