1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-21 19:03:02 +08: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':