projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7217e14
)
[wistia] Use centralized sorting
author
Philipp Hagemeister
<phihag@phihag.de>
Wed, 25 Dec 2013 14:20:14 +0000
(15:20 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Wed, 25 Dec 2013 14:20:14 +0000
(15:20 +0100)
youtube_dl/extractor/wistia.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/wistia.py
b/youtube_dl/extractor/wistia.py
index e1748c2613bbcf94bb36b706ce7ddfdde6b2b86c..584550455ad8dbf611424ad6606411850dd72d3e 100644
(file)
--- a/
youtube_dl/extractor/wistia.py
+++ b/
youtube_dl/extractor/wistia.py
@@
-45,7
+45,8
@@
class WistiaIE(InfoExtractor):
'filesize': a['size'],
'ext': a['ext'],
})
- formats.sort(key=lambda a: a['filesize'])
+
+ self._sort_formats(formats)
return {
'id': video_id,