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

Unable to download video info JSON 1: HTTP Error 404: Not Found #3946

Closed
isaaclw opened this issue Oct 14, 2014 · 4 comments
Closed

Unable to download video info JSON 1: HTTP Error 404: Not Found #3946

isaaclw opened this issue Oct 14, 2014 · 4 comments
Assignees

Comments

@isaaclw
Copy link

@isaaclw isaaclw commented Oct 14, 2014

isaac@tesla:/media/swap/$ youtube-dl -e --verbose http://www.twitch.tv/riotgames/b/577357806
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-e', '--verbose', 'http://www.twitch.tv/riotgames/b/577357806']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.10.13
[debug] Python version 2.7.3 - Linux-3.2.0-4-amd64-x86_64-with-debian-7.6
[debug] Proxy map: {}
ERROR: Unable to download video info JSON 1: HTTP Error 404: Not Found (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 226, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1266, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 407, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 520, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 445, in error
return self._call_chain(_args)
File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
result = func(_args)
File "/usr/lib/python2.7/urllib2.py", line 528, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

@andrewguertin
Copy link

@andrewguertin andrewguertin commented Oct 14, 2014

I did some network sniffing and found the url https://api.twitch.tv/api/videos/a570051803?as3=t . It seems to have all the video URLS necessary. The as3=t doesn't appear to be necessary/have any effect.

I also found https://github.com/justintv/Twitch-API which appears to be official? I didn't investigate it too deeply.

Hope this helps someone to get twitch working again!

@dstftw dstftw self-assigned this Oct 16, 2014
@dstftw dstftw closed this in 355d074 Oct 16, 2014
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 16, 2014

twitch.tv extractor has been adjusted to work with new API. This will be available in the next release of youtube-dl. Thanks for the report.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 18, 2014

Fixed in youtube-dl 2014.10.18.

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
4 participants
You can’t perform that action at this time.