Преглед изворни кода

[appletrailers] correct thumbnail fallback

Remita Amine пре 9 година
родитељ
комит
fee70322d7
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      youtube_dl/extractor/appletrailers.py

+ 1 - 1
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,