Browse Source

[tumblr] Improve downloading notes

totalwebcasting
Yen Chi Hsuan 9 years ago
parent
commit
3f302bca8c
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      youtube_dl/extractor/tumblr.py

+ 2
- 1
youtube_dl/extractor/tumblr.py 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')


Loading…
Cancel
Save