projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8065d6c
)
[appletrailers] correct thumbnail fallback
author
Remita Amine
<remitamine@gmail.com>
Thu, 23 Jun 2016 18:03:34 +0000
(19:03 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Thu, 23 Jun 2016 18:03:34 +0000
(19:03 +0100)
youtube_dl/extractor/appletrailers.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/appletrailers.py
b/youtube_dl/extractor/appletrailers.py
index babbd0265c351182260c88f2a953b8feca4792aa..a6801f3d4860414c286277c92bd994e16212cffd 100644
(file)
--- 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,