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

Hitbox live downloader fails #5315

Closed
riking opened this issue Mar 29, 2015 · 5 comments
Closed

Hitbox live downloader fails #5315

riking opened this issue Mar 29, 2015 · 5 comments

Comments

@riking
Copy link
Contributor

@riking riking commented Mar 29, 2015

$ youtube-dl http://www.hitbox.tv/SuperCereal --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'http://www.hitbox.tv/SuperCereal', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.03.28
[debug] Python version 2.7.8 - Linux-3.16.0-33-generic-x86_64-with-Ubuntu-14.10-utopic
[debug] exe versions: avconv 11-6, avprobe 11-6, ffmpeg 2.4.git, ffprobe 2.4.git, rtmpdump 2.4
[debug] Proxy map: {}
[hitbox:live] SuperCereal: Downloading JSON metadata
ERROR: Unable to download JSON metadata: 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 "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 314, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1673, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 410, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 448, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Apr 10, 2015

Can you watch the video in browsers? Seems the video is already broken.

@riking
Copy link
Contributor Author

@riking riking commented Apr 11, 2015

Just tried with one off the front page.

$ youtube-dl http://www.hitbox.tv/grabagra --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'http://www.hitbox.tv/grabagra', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.03.28
[debug] Python version 2.7.8 - Linux-3.16.0-33-generic-x86_64-with-Ubuntu-14.10-utopic
[debug] exe versions: avconv 11-6, avprobe 11-6, ffmpeg 2.4.git, ffprobe 2.4.git, rtmpdump 2.4
[debug] Proxy map: {}
[hitbox:live] grabagra: Downloading JSON metadata
[hitbox:live] grabagra: Downloading JSON metadata
[debug] Invoking downloader on u'http://edge.hls.hitbox.tv/hls/http://edge.hls.hitbox.tv/hls/grabagra/index.m3u8'
[download] Destination: Farmimy HOTS'a  -) 2015-04-10 19_20-grabagra.mp4
avconv version 11-6:11-1, Copyright (c) 2000-2014 the Libav developers
  built on Sep 26 2014 14:36:31 with gcc 4.9.1 (Ubuntu 4.9.1-15ubuntu1)
[http @ 0x74fd00] HTTP error 404 Not Found
http://edge.hls.hitbox.tv/hls/http://edge.hls.hitbox.tv/hls/grabagra/index.m3u8: Input/output error


ERROR: avconv exited with code 1
<stack elided>
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/hls.py", line 50, in real_download
    self.report_error('%s exited with code %d' % (ffpp.basename, retval))
<stack elided>
@riking
Copy link
Contributor Author

@riking riking commented Apr 11, 2015

It's trying to get http://edge.hls.hitbox.tv/hls/http://edge.hls.hitbox.tv/hls/grabagra/index.m3u8 when it should be trying to get http://edge.hls.hitbox.tv/hls/grabagra/index.m3u8.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Apr 11, 2015

http://edge.hls.hitbox.tv/hls/grabagra/index.m3u8 gives an 404 error. And I can't find any videos in http://www.hitbox.tv/grabagra, either. Several other videos found on http://www.hitbox.tv/ works fine on youtube-dl. Wanna check again?

@dstftw dstftw closed this in 65939ef Apr 11, 2015
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 11, 2015

Will be fixed in the next version. Thanks for the report.

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.