From: Sergey M․ Date: Tue, 26 Aug 2014 13:10:36 +0000 (+0700) Subject: [empflix] Extract thumbnail X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=15a1f4b8fe60fea11e757ea30a6e3bbc620aa688;p=youtube-dl [empflix] Extract thumbnail --- diff --git a/youtube_dl/extractor/empflix.py b/youtube_dl/extractor/empflix.py index 1290cd9f7..3c2289e57 100644 --- a/youtube_dl/extractor/empflix.py +++ b/youtube_dl/extractor/empflix.py @@ -47,10 +47,14 @@ class EmpflixIE(InfoExtractor): r'\s*([^>]+)\s*([^<]+)\s*', cfg_xml) ] + thumbnail = self._html_search_regex( + r'([^<]+)', cfg_xml, 'thumbnail', fatal=False) + return { 'id': video_id, 'title': video_title, 'description': video_description, + 'thumbnail': thumbnail, 'formats': formats, 'age_limit': age_limit, }