from requests.packages.urllib3.exceptions import InsecureRequestWarning # 禁用安全请求警告requests.packages.urllib3.disable_warnings(InsecureRequestWarning)