1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-22 08:47:41 +00:00

[appletrailers] correct thumbnail fallback

This commit is contained in:
Remita Amine 2016-06-23 19:03:34 +01:00
parent 8065d6c55f
commit fee70322d7

View file

@ -127,7 +127,7 @@ class AppleTrailersIE(InfoExtractor):
'id': movie + '-' + re.sub(r'[^a-zA-Z0-9]', '', clip_title).lower(),
'formats': formats,
'title': clip_title,
'thumbnail': clip.get('screen') or clip.get('runtime'),
'thumbnail': clip.get('screen') or clip.get('thumb'),
'duration': parse_duration(clip.get('runtime') or clip.get('faded')),
'upload_date': unified_strdate(clip.get('posted')),
'uploader_id': uploader_id,