1、在请求中加入verify=False,关闭认证---------解决requests.exceptions.SSLError
2、添加代码----------- 解决InsecureRequestWarning
import urllib3 urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
来源:https://www.cnblogs.com/erchun/p/12653525.html
1、在请求中加入verify=False,关闭认证---------解决requests.exceptions.SSLError
2、添加代码----------- 解决InsecureRequestWarning
import urllib3 urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
来源:https://www.cnblogs.com/erchun/p/12653525.html