1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-23 00:54:31 +01:00

[tumblr] Improve downloading notes

This commit is contained in:
Yen Chi Hsuan 2015-07-20 18:54:47 +08:00
parent c909e5820e
commit 3f302bca8c

View File

@ -66,7 +66,8 @@ class TumblrIE(InfoExtractor):
if iframe_url is None:
return self.url_result(urlh.geturl(), 'Generic')
iframe = self._download_webpage(iframe_url, video_id)
iframe = self._download_webpage(iframe_url, video_id,
'Downloading iframe page')
video_url = self._search_regex(r'<source src="([^"]+)"',
iframe, 'video url')