1、在请求中加入verify=False,关闭认证---------解决requests.exceptions.SSLError
2、添加代码----------- 解决InsecureRequestWarning
import urllib3 urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)