diff options
author | ruuk <ruuk@users.noreply.github.com> | 2014-02-25 14:41:36 -0800 |
---|---|---|
committer | ruuk <ruuk@users.noreply.github.com> | 2014-02-25 14:41:36 -0800 |
commit | 54ab1939706e9e6f15ea425de81e5c2c8f739137 (patch) | |
tree | 64cbd3a50484ca147fb057a7afbfbecf1cb9f09b /youtube_dl | |
parent | 76df418cbac1ed02c8919924d92bd1bc7ddc70d9 (diff) |
Extract thumbnail with _og_search_thumbnail
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/metacafe.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/metacafe.py b/youtube_dl/extractor/metacafe.py index 364ba993b..301031197 100644 --- a/youtube_dl/extractor/metacafe.py +++ b/youtube_dl/extractor/metacafe.py @@ -166,7 +166,7 @@ class MetacafeIE(InfoExtractor): video_title = self._html_search_regex(r'(?im)<title>(.*) - Video</title>', webpage, u'title') description = self._og_search_description(webpage) - thumbnail = self._html_search_regex(r'<meta property="og:image" content="([^"].+?)(?is)"', webpage, u'thumbnail',default='') + thumbnail = self._og_search_thumbnail(webpage) video_uploader = self._html_search_regex( r'submitter=(.*?);|googletag\.pubads\(\)\.setTargeting\("(?:channel|submiter)","([^"]+)"\);', webpage, u'uploader nickname', fatal=False) |