python当使用requests.get获取https链接时,提示如下错误:
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)
最方便的手段是直接设置不验证,即:
requests.get('https://example.com', verify=False)