def disable_urllib3_warning():
 try:
  import requests.packages.urllib3
  requests.packages.urllib3.disable_warnings()
 except Exception:
  pass

def disable_urllib3_warning ( ) : try : import requests . packages . urllib3 requests . packages . urllib3 . disable_warnings ( ) except Exception : pass
URL#insecurerequestwarning insecureplatformwarning 警告的临时解决方案 .