]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[twitch:clips] Sort formats
authorSergey M․ <dstftw@gmail.com>
Fri, 29 Jul 2016 02:01:53 +0000 (09:01 +0700)
committerSergey M․ <dstftw@gmail.com>
Fri, 29 Jul 2016 02:01:53 +0000 (09:01 +0700)
youtube_dl/extractor/twitch.py

index 5757eb119864c165f4577642cd7a2879e3054a86..890f551800d011c423636530dfd8d70e4e926290 100644 (file)
@@ -502,6 +502,8 @@ class TwitchClipsIE(InfoExtractor):
                 'url': clip['clip_video_url'],
             }]
 
+        self._sort_formats(formats)
+
         return {
             'id': video_id,
             'title': title,