1.Requests的请求默认verify=True,改为False
2.忽略警告
(1)
import requests requests.packages.urllib3.disable_warnings
(2)
import warnings warnings.filterwarnings("ignore")
(3)
import urllib3 urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)