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.
ustream download has ceased to work #6943
Comments
|
youtube-dl uses an old API to fetch video info, and now seems ustream has disabled the old API. The new API requires AMF (Action Message Format) support, which is quite complicated. |
|
In this case I would take ustream off the supported sites list, and perhaps notify the user immediately |
|
Haven't tested on live streams, or tested if their are multiple video urls, but for the info for davidrabinowitz's video now at https://api.ustream.tv/videos/73439996.json So change it in ustream.py to: and this to: Should download in theory, haven't actually tried the above. http://tcdn.ustream.tv/video/73439996?preset_id=1&e=1443673703&h=5e54fdfb89ffec05d0e06e6fc8aeeb00 Which my browser says is a bit over a gigabyte. Can grab the title also from the json. Somebody else will have to figure out channels. |
|
Thanks @CeruleanSky , I've created a fix based on your comment |
|
This issue has been fixed and will be available in the next version. Thanks for the report. |
It appears ustearm has changed something, as now U get the following error:
$ youtube-dl http://www.ustream.tv/recorded/73439996 --verbose
[debug] System config: []
[debug] User config: [u'--prefer-ffmpeg']
[debug] Command-line args: [u'http://www.ustream.tv/recorded/73439996', u'--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.09.22
[debug] Python version 2.7.8 - Darwin-14.5.0-x86_64-i386-64bit
[debug] exe versions: avconv 2.8, ffmpeg 2.8, ffprobe 2.8
[debug] Proxy map: {}
[ustream] 73439996: Downloading JSON metadata
ERROR: This call is deprecated. Contact customer support for more details.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 660, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 287, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/ustream.py", line 63, in _real_extract
raise ExtractorError(params['error']['message'], expected=True)
ExtractorError: This call is deprecated. Contact customer support for more details.