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

Recursively resolve youtube live channels' name #11164

Closed
baco opened this issue Nov 11, 2016 · 3 comments
Closed

Recursively resolve youtube live channels' name #11164

baco opened this issue Nov 11, 2016 · 3 comments
Labels
bug

Comments

@baco
Copy link

@baco baco commented Nov 11, 2016

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.11.08.1. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2016.11.08.1

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

Youtube-dl is unable to find video in Youtube channle live

When trying to access a live stream via its channel url's alias, youtube-dl is unable to determine the youtube's URL for the main video and crashes. For example the site https://youtube.com/lanacionmas/live is an alias for the channel https://youtube.com/channel/UCba3hpU7EFBSk817y9qZkiA/live

If I run: $ youtube-dl -F https://youtube.com/channel/UCba3hpU7EFBSk817y9qZkiA/live --verbose I obtain the expected result, but if I use its alias name lanacionmas when running youtube-dl $ youtube-dl -F https://youtube.com/lanacionmas/live --verbose I get an exception:

[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-F', u'https://youtube.com/lanacionmas/live', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.11.08.1
[debug] Python version 2.7.12+ - Linux-4.7.0-1-amd64-x86_64-with-debian-stretch-sid
[debug] exe versions: avconv 3.1.3-2, avprobe 3.1.3-2, ffmpeg 3.1.3-2, ffprobe 3.1.3-2, rtmpdump 2.4
[debug] Proxy map: {}
[youtube:user] lanacionmas: Downloading channel page
WARNING: Unable to download webpage: HTTP Error 404: Not Found
[youtube:user] lanacionmas: Downloading page #1
ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/tmp/mpv/youtube-dl/youtube_dl/extractor/common.py", line 404, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/tmp/mpv/youtube-dl/youtube_dl/YoutubeDL.py", line 2001, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
@yan12125 yan12125 added the bug label Nov 12, 2016
@v1kn
Copy link

@v1kn v1kn commented Nov 12, 2016

I am getting similar errors, but the video is no longer live
unrelated issue

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Nov 12, 2016

@v1kn That's a different problem. Could you open a new issue?

@v1kn
Copy link

@v1kn v1kn commented Nov 12, 2016

@yan12125 Sure, done

@dstftw dstftw closed this in 073d5bf Nov 16, 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.