Python3 requests模塊發送HTTPS請求,關閉SSL 驗證,控制檯會輸出如下錯誤:html
InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings InsecureRequestWarning)
解決辦法:安全
禁用安全警告信息url
import requests requests.packages.urllib3.disable_warnings()