1
0
Fork 0
mirror of https://codeberg.org/polarisfm/youtube-dl.git synced 2024-12-26 01:26:45 +00:00

[ustream] Remove unnecessary webpage download

This commit is contained in:
Sergey M․ 2014-05-29 20:20:11 +07:00
parent 8f0c8fb452
commit 5c6b1e578c

View file

@ -29,7 +29,6 @@ class UstreamIE(InfoExtractor):
if m.group('type') == 'embed/recorded': # some sites use this embed format (see: http://github.com/rg3/youtube-dl/issues/2990)
video_id = m.group('videoID')
webpage = self._download_webpage(url, video_id, note="Downloading embedded Ustream page")
desktop_url = 'http://www.ustream.tv/recorded/' + video_id
return self.url_result(desktop_url, 'Ustream')
if m.group('type') == 'embed':