SSL error : routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

后端 未结 7 1999
梦毁少年i
梦毁少年i 2020-12-15 03:56

I have a large number of file download links in a txt file. I am trying to write a python script to download all the files at once, but I end up wi

7条回答
  •  被撕碎了的回忆
    2020-12-15 04:46

    Experienced this myself when using requests:

    This is extremely insecure; use only as a last resort! (See rdlowrey's comment.)

    requests.get('https://github.com', verify=True)
    

    Making that verify=False did the trick for me.

提交回复
热议问题