SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
request的post和get都有一个叫verify的参数,把他设成False就可以了。
#https
response = requests.get(url, headers=headers,verify=False)
官方链接:http://docs.python-requests.org/zh_CN/latest/user/advanced.html#ssl