一、SSL問題
1、在你不啟用fiddler時,python代碼直接發送https請求,不會有SSL問題(也就是說不想看到SSL問題,關掉fiddler就行)
2.啟用fiddler會報出以下錯誤:
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='163.com', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)')))
verify參數設置
1、Requests的請求默認verify=True
2、如果你將 verify設置為 False,Requests 也能忽略對 SSL 證書的驗證
3、但是依然會出現兩行Warning,可以不用管

Python3 提示warning 添加如下三種任意一種代碼即可解決:
方式1:
import requests requests.packages.urllib3.disable_warnings
方式2:
import warnings warnings.filterwarnings("ignore")
方式3:
import urllib3 urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)