Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] #2641
Comments
|
Python 2 does not check certificate validity. You can pass in the This error indicates that the SSL certificate was incorrect. While it can be caused by misconfiguration, this is a serious issue if you are worried about the privacy or integrity of your video viewing experience. Does the error occur if you don't pass in a proxy (i.e. add
? |
But pls be noted that if I don't use the '--proxy' option, I don't even have internet access to Youtube.
|
|
Forgot to mention I'm using goagent. |
|
as a note, with windows, python 3.3: c:\downloads>python youtube-dl "https://www.youtube.com/watch?v=Xr9f-hwZAtw" -ci -f best -x --no-mtime --add-metadata |
|
+1 |
|
For users who wish to opt out of certificate verification on a single connection, they can achieve this by providing the contextargument to urllib.urlopen :
|
|
As a reference, you'll need |
I think it's related to python3, 'cause when I git cloned this repo and ran it with python2, everything just worked.