rand-net/khan-dl

SSL error

iceplayer112 opened this issue · 4 comments

Hi - I'm getting this error:

File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 598, in trouble
raise DownloadError(message, exc_info)
youtube_dl.utils.DownloadError: ERROR: Unable to download API page: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)> (caused by URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)')))

Duplicate of #7

khan-dl -c https://www.khanacademy.org/test-prep/mcat/ youtube-dl --no-check-certificate won't work.

You can either check for proxy misconfiguration or certificates are missing. It might be also due to censorship.
For more information, check this https://stackoverflow.com/questions/51785882/youtube-dl-gave-me-an-error-about-ssl

khan-dl -c https://www.khanacademy.org/test-prep/mcat/ youtube-dl --no-check-certificate won't work.

You can either check for proxy misconfiguration or certificates are missing. It might be also due to censorship.
For more information, check this https://stackoverflow.com/questions/51785882/youtube-dl-gave-me-an-error-about-ssl