如何解决:InsecureRequestWarning: Unverified HTTPS request is being made to host 'fatg
报错:
InsecureRequestWarning: Unverified HTTPS request is being made to host 'fatgt.cloud-link.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn(b'PK\x03\x04\x14\x00\x08\.....)
加上即可:
import urllib3 urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
解决了:
本文来自博客园,作者:他还在坚持嘛,转载请注明原文链接:他还在坚持嘛 https://www.cnblogs.com/brf-test/p/16874456.html