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.
Unable to download youtube videos #1170
Comments
|
Thanks for the report, the issue is the same as #883. |
|
Thanks. The --no-check-certificate fixed it. |
I have the latest version yet i keep getting this error whenever i try to download a video from youtube.
d:\Twitch>youtube-dl.py http://www.youtube.com/watch?v=Nw3bW2qQTRs --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.youtube.com/watch?v=Nw3bW2qQTRs', '--ver
bose']
[debug] youtube-dl version 2013.08.02
[debug] Python version 3.3.2 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
[youtube] Setting language
WARNING: unable to set language: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED]
certificate verify failed (_ssl.c:547)>
[youtube] Nw3bW2qQTRs: Downloading video webpage
ERROR: Unable to download video webpage: <urlopen error [SSL: CERTIFICATE_VERIFY
_FAILED] certificate verify failed (_ssl.c:547)>
Traceback (most recent call last):
File "D:\Python\lib\urllib\request.py", line 1248, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "D:\Python\lib\http\client.py", line 1061, in request
self._send_request(method, url, body, headers)
File "D:\Python\lib\http\client.py", line 1099, in _send_request
self.endheaders(body)
File "D:\Python\lib\http\client.py", line 1057, in endheaders
self._send_output(message_body)
File "D:\Python\lib\http\client.py", line 902, in _send_output
self.send(msg)
File "D:\Python\lib\http\client.py", line 840, in send
self.connect()
File "D:\Python\lib\http\client.py", line 1202, in connect
server_hostname=server_hostname)
File "D:\Python\lib\ssl.py", line 210, in wrap_socket
_context=self)
File "D:\Python\lib\ssl.py", line 310, in init
raise x
File "D:\Python\lib\ssl.py", line 306, in init
self.do_handshake()
File "D:\Python\lib\ssl.py", line 513, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c
:547)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Twitch\youtube-dl.py\youtube_dl\extractor\youtube.py", line 548, in _
real_extract
video_webpage_bytes = compat_urllib_request.urlopen(request).read()
File "D:\Python\lib\urllib\request.py", line 156, in urlopen
return opener.open(url, data, timeout)
File "D:\Python\lib\urllib\request.py", line 469, in open
response = self._open(req, data)
File "D:\Python\lib\urllib\request.py", line 487, in _open
'_open', req)
File "D:\Python\lib\urllib\request.py", line 447, in _call_chain
result = func(*args)
File "D:\Python\lib\urllib\request.py", line 1283, in https_open
context=self._context, check_hostname=self._check_hostname)
File "D:\Python\lib\urllib\request.py", line 1251, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certifica
te verify failed (_ssl.c:547)>
Traceback (most recent call last):
File "D:\Python\lib\urllib\request.py", line 1248, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "D:\Python\lib\http\client.py", line 1061, in request
self._send_request(method, url, body, headers)
File "D:\Python\lib\http\client.py", line 1099, in _send_request
self.endheaders(body)
File "D:\Python\lib\http\client.py", line 1057, in endheaders
self._send_output(message_body)
File "D:\Python\lib\http\client.py", line 902, in _send_output
self.send(msg)
File "D:\Python\lib\http\client.py", line 840, in send
self.connect()
File "D:\Python\lib\http\client.py", line 1202, in connect
server_hostname=server_hostname)
File "D:\Python\lib\ssl.py", line 210, in wrap_socket
_context=self)
File "D:\Python\lib\ssl.py", line 310, in init
raise x
File "D:\Python\lib\ssl.py", line 306, in init
self.do_handshake()
File "D:\Python\lib\ssl.py", line 513, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c
:547)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Twitch\youtube-dl.py\youtube_dl\extractor\youtube.py", line 548, in _
real_extract
video_webpage_bytes = compat_urllib_request.urlopen(request).read()
File "D:\Python\lib\urllib\request.py", line 156, in urlopen
return opener.open(url, data, timeout)
File "D:\Python\lib\urllib\request.py", line 469, in open
response = self._open(req, data)
File "D:\Python\lib\urllib\request.py", line 487, in _open
'_open', req)
File "D:\Python\lib\urllib\request.py", line 447, in _call_chain
result = func(*args)
File "D:\Python\lib\urllib\request.py", line 1283, in https_open
context=self._context, check_hostname=self._check_hostname)
File "D:\Python\lib\urllib\request.py", line 1251, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certifica
te verify failed (_ssl.c:547)>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Twitch\youtube-dl.py\youtube_dl\YoutubeDL.py", line 312, in extract_i
nfo
ie_result = ie.extract(url)
File "D:\Twitch\youtube-dl.py\youtube_dl\extractor\common.py", line 96, in ext
ract
return self._real_extract(url)
File "D:\Twitch\youtube-dl.py\youtube_dl\extractor\youtube.py", line 550, in _
real_extract
raise ExtractorError(u'Unable to download video webpage: %s' % compat_str(er
r))
youtube_dl.utils.ExtractorError: Unable to download video webpage: <urlopen erro
r [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:547)>