Following is the error that youtube-dl gave me. Another tool you-get
gave me a similar error. What should I do to download videos from youtube.
[~] youtube-dl -f 137 https://youtu.be/0Ef9GudbxXY
17:27:23 [youtube] 0Ef9GudbxXY: Downloading webpage ERROR: Unable to download webpage: (caused by URLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:841)'),))
This error means that there is a problem with the TLS certificate. Typical suspects are, in rough order descending likeliness, according to my experiences working as a youtube-dl developer:
-v
to the command line to see whether one is configured.In any case, you can avoid certificate checking by passing in --no-check-certificate
. However, note that this will allow nation states, ISPs, schools/companies, hackers, and other (semi-)malicious parties to log, intercept, and change your video traffic.
Note: The video https://youtu.be/0Ef9GudbxXY is not available in format 137. Simply leave out -f
to get the best available format.