mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-15 13:55:38 +00:00
[empflix] Extract thumbnail
This commit is contained in:
parent
c7bee2a725
commit
15a1f4b8fe
1 changed files with 4 additions and 0 deletions
|
@ -47,10 +47,14 @@ class EmpflixIE(InfoExtractor):
|
|||
r'<item>\s*<res>([^>]+)</res>\s*<videoLink>([^<]+)</videoLink>\s*</item>', cfg_xml)
|
||||
]
|
||||
|
||||
thumbnail = self._html_search_regex(
|
||||
r'<startThumb>([^<]+)</startThumb>', cfg_xml, 'thumbnail', fatal=False)
|
||||
|
||||
return {
|
||||
'id': video_id,
|
||||
'title': video_title,
|
||||
'description': video_description,
|
||||
'thumbnail': thumbnail,
|
||||
'formats': formats,
|
||||
'age_limit': age_limit,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue