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 video info JSON 1: HTTP Error 404: Not Found #3946
Comments
|
Perhaps Twitch has shut the old API down: |
|
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! |
|
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. |
|
Fixed in youtube-dl 2014.10.18. |
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)