Re: How to download YouTube, Facebook & Instagram videos & audio in highest quality
For those having trouble with downloading using youtube-dl because of certificate error, i.e. "Youtube-dl download failed [<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)>]", I came across several fixes that might help you.
The quick fix that worked for me was to simply add the following script after the --no-check-certificate
Found the solution here: [URL]https://github.com/ytdl-org/youtube-dl/issues/11573#issuecomment-269896421[/URL]
There's also mention of a fix that removes expired Certificates (but that didn't help me) here's the steps:
[QUOTE]For anyone else having the issue, here are the steps that were posted to manually remove a cert:
run certmgr.msc
menu -> action -> find certificates.
choose "look in fields: issued to"
at the "contains" field type "google".
click "find now"
mark all the expired certs (useful to sort by exp. date)
right click and choose "delete"
[/QUOTE]
Finally another solution I found, but haven't tried yet is:
[QUOTE]
You can redirect the download directory for youtube-dl to avoid this error :1. first locate your "settings.json" usually in "C:\Users\AppData\Roaming\youtube-dlg" 2. edit the last line ("youtubedl_path".............. ")
and change the path to something practical like C:\youtube-dl 3. paste the latest youtube-dl.exe downloaded from this url
[URL]https://github.com/ytdl-org/youtube-dl/releases/[/URL] Probably you need to make the copy a a fresh .exe time to time to get the latest version but its straight and works.
This is a way to manually update the library avoiding the certificate error.[/QUOTE]
If you didn't know already to make sure you're running the latest version of youtube-dl run the following script: youtube-dl -U
Hope this information helps. ;)