jaimeMF / youtube-dl-api-server

A youtube-dl REST API server
https://youtube-dl-api-server.readthedocs.org/
The Unlicense
364 stars 214 forks source link

SSL: CERTIFICATE_VERIFY_FAILED #38

Closed java4fun closed 8 years ago

java4fun commented 8 years ago

Hi, I downloaded the project to my Windows 7 PC (python 3.3). I tried to run the server on my PC. Got the following error:

// 20151206212422 // http://localhost:9191/api/info?url=http://www.ted.com/talks/dan_dennett_on_our_consciousness.html&flatten=False

{ "error": "ERROR: Failed to download m3u8 information: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:547)> (caused by URLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:547)'),))" }

Is there a workaround for testing purpose?

jaimeMF commented 8 years ago

Add 'nocheckcertificate': True,after this line. Unfortunately on Windows some people have the same problem when directly using youtube-dl (https://github.com/rg3/youtube-dl/issues/7309).

zaasmi commented 8 years ago

same issue still after adding youtube-dl.exe http://www.youtube.com/watch?v=qn6CMz18lkQ 'nocheckcertificate': True, [youtube] qn6CMz18lkQ: Downloading webpage ERROR: Unable to download webpage: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)> (caused by URLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)'),))

jaimeMF commented 8 years ago

@zaasmi This is not the bug tracker for youtube-dl, see https://github.com/rg3/youtube-dl/issues/7309 for more info.