Browse Source

[appletrailers] correct thumbnail fallback

totalwebcasting
Remita Amine 9 years ago
parent
commit
fee70322d7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/appletrailers.py

+ 1
- 1
youtube_dl/extractor/appletrailers.py 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,


Loading…
Cancel
Save