]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[appletrailers] correct thumbnail fallback
authorRemita Amine <remitamine@gmail.com>
Thu, 23 Jun 2016 18:03:34 +0000 (19:03 +0100)
committerRemita Amine <remitamine@gmail.com>
Thu, 23 Jun 2016 18:03:34 +0000 (19:03 +0100)
youtube_dl/extractor/appletrailers.py

index babbd0265c351182260c88f2a953b8feca4792aa..a6801f3d4860414c286277c92bd994e16212cffd 100644 (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,