mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 17:18:01 +01:00
[ustream] Remove unnecessary webpage download
This commit is contained in:
parent
8f0c8fb452
commit
5c6b1e578c
1 changed files with 0 additions and 1 deletions
|
@ -29,7 +29,6 @@ def _real_extract(self, url):
|
||||||
|
|
||||||
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 a new issue