每天努力一点点,坚持下去 ------ 博客首页

如何解决: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)

解决了:

 


 

posted @ 2022-11-09 17:08  他还在坚持嘛  阅读(1669)  评论(0编辑  收藏  举报