projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[lynda] Remove superfluous space
[youtube-dl]
/
youtube_dl
/
extractor
/
appletrailers.py
diff --git
a/youtube_dl/extractor/appletrailers.py
b/youtube_dl/extractor/appletrailers.py
index ef5644aa54fe28002dc4d8c76308941c264252e3..e7361ae06e379cb44b1512c9b316e2cfe49554a0 100644
(file)
--- a/
youtube_dl/extractor/appletrailers.py
+++ b/
youtube_dl/extractor/appletrailers.py
@@
-110,7
+110,8
@@
class AppleTrailersIE(InfoExtractor):
'width': format['width'],
'height': int(format['height']),
})
'width': format['width'],
'height': int(format['height']),
})
- formats = sorted(formats, key=lambda f: (f['height'], f['width']))
+
+ self._sort_formats(formats)
playlist.append({
'_type': 'video',
playlist.append({
'_type': 'video',