requests.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed

前端 未结 1 769
孤街浪徒
孤街浪徒 2021-01-22 01:42

I cannot request a popular SSL site without geting the error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed.

The requests documentation states t

相关标签:
1条回答
  • 2021-01-22 02:18
    r = requests.get('https://www.example.com', proxies=proxies, verify=False)
    

    Change this line and it will work.

    0 讨论(0)
自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题