mirror of https://github.com/yt-dlp/yt-dlp.git
[ustream] Remove unnecessary webpage download
This commit is contained in:
parent
8f0c8fb452
commit
5c6b1e578c
|
@ -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)
|
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')
|
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
|
desktop_url = 'http://www.ustream.tv/recorded/' + video_id
|
||||||
return self.url_result(desktop_url, 'Ustream')
|
return self.url_result(desktop_url, 'Ustream')
|
||||||
if m.group('type') == 'embed':
|
if m.group('type') == 'embed':
|
||||||
|
|
Loading…
Reference in New Issue