1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +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(), 'id': movie + '-' + re.sub(r'[^a-zA-Z0-9]', '', clip_title).lower(),
'formats': formats, 'formats': formats,
'title': clip_title, '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')), 'duration': parse_duration(clip.get('runtime') or clip.get('faded')),
'upload_date': unified_strdate(clip.get('posted')), 'upload_date': unified_strdate(clip.get('posted')),
'uploader_id': uploader_id, 'uploader_id': uploader_id,