Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Certificate error #3435

Closed
Jofsey opened this issue Aug 4, 2014 · 4 comments
Closed

Certificate error #3435

Jofsey opened this issue Aug 4, 2014 · 4 comments

Comments

@Jofsey
Copy link

@Jofsey Jofsey commented Aug 4, 2014

I'm trying to list available formats for live stream but get the following exception.

$ youtube-dl -F http://www.youtube.com/watch?v=SwrKzkRUlaw                                                                                                                             
[youtube] Setting language
[youtube] SwrKzkRUlaw: Downloading webpage
[youtube] SwrKzkRUlaw: Downloading video info webpage
[youtube] SwrKzkRUlaw: Extracting video information
[youtube] SwrKzkRUlaw: Downloading formats manifest
Traceback (most recent call last):
  File "/usr/lib/python3.4/runpy.py", line 170, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.4/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/local/bin/youtube-dl/__main__.py", line 18, in <module>
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 889, in main
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 879, in _real_main
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1052, in download
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 516, in extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 170, in extract
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 868, in _real_extract
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 579, in _extract_from_m3u8
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 283, in _download_webpage
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 223, in _download_webpage_handle
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 203, in _request_webpage
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1231, in urlopen
  File "/usr/lib/python3.4/urllib/request.py", line 455, in open
    response = self._open(req, data)
  File "/usr/lib/python3.4/urllib/request.py", line 473, in _open
    '_open', req)
  File "/usr/lib/python3.4/urllib/request.py", line 433, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.4/urllib/request.py", line 1230, in https_open
    context=self._context, check_hostname=self._check_hostname)
  File "/usr/lib/python3.4/urllib/request.py", line 1189, in do_open
    h.request(req.get_method(), req.selector, req.data, headers)
  File "/usr/lib/python3.4/http/client.py", line 1090, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python3.4/http/client.py", line 1128, in _send_request
    self.endheaders(body)
  File "/usr/lib/python3.4/http/client.py", line 1086, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python3.4/http/client.py", line 924, in _send_output
    self.send(msg)
  File "/usr/lib/python3.4/http/client.py", line 859, in send
    self.connect()
  File "/usr/lib/python3.4/http/client.py", line 1233, in connect
    ssl.match_hostname(self.sock.getpeercert(), server_hostname)
  File "/usr/lib/python3.4/ssl.py", line 288, in match_hostname
    % (hostname, dnsnames[0]))
ssl.CertificateError: hostname 'manifest.googlevideo.com' doesn't match 'www.google.com'
@tinybug
Copy link
Contributor

@tinybug tinybug commented Aug 6, 2014

this is live tv...

@Jofsey
Copy link
Author

@Jofsey Jofsey commented Aug 6, 2014

-F was working fine for live tv.

@tinybug
Copy link
Contributor

@tinybug tinybug commented Aug 7, 2014

-F is just a option to list all available formats

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jul 9, 2016

This live event has ended.

@dstftw dstftw closed this Jul 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.