From: Remita Amine Date: Thu, 23 Jun 2016 18:03:34 +0000 (+0100) Subject: [appletrailers] correct thumbnail fallback X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=fee70322d76f416c3d68f58abdc73f9d3960083e;p=youtube-dl.git [appletrailers] correct thumbnail fallback --- diff --git a/youtube_dl/extractor/appletrailers.py b/youtube_dl/extractor/appletrailers.py index babbd0265..a6801f3d4 100644 --- a/youtube_dl/extractor/appletrailers.py +++ b/youtube_dl/extractor/appletrailers.py @@ -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,