Browse Source

[wistia] Use centralized sorting

master
Philipp Hagemeister 11 years ago
parent
commit
539179f45b
1 changed files with 2 additions and 1 deletions
  1. 3
      youtube_dl/extractor/wistia.py

3
youtube_dl/extractor/wistia.py

@ -45,7 +45,8 @@ class WistiaIE(InfoExtractor):
'filesize': a['size'], 'filesize': a['size'],
'ext': a['ext'], 'ext': a['ext'],
}) })
formats.sort(key=lambda a: a['filesize'])
self._sort_formats(formats)
return { return {
'id': video_id, 'id': video_id,

Loading…
Cancel
Save