X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fempflix.py;fp=youtube_dl%2Fextractor%2Fempflix.py;h=3c2289e5710d78b9f934ee2e578d9539d3cc267a;hb=15a1f4b8fe60fea11e757ea30a6e3bbc620aa688;hp=1290cd9f7028aace78fc104cceb76b33da6752ca;hpb=c7bee2a7254d31b7c478c0ac33bf23bdeba1c53c;p=youtube-dl 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, }