InsecureRequestWarning: Unverified HTTPS request is being made to host ‘xxxx‘.

/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py:1099: InsecureRequestWarning: Unverified HTTPS request is being made to host 'xxxx'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings

这是因为指定了verify=False,去掉即可。或者隐藏warning(如报错中的链接的方法)

你可能感兴趣的:(Python,https,http,python)