Przeglądaj źródła

[twitch:clips] Sort formats

Sergey M․ 9 lat temu
rodzic
commit
0cacae2807
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      youtube_dl/extractor/twitch.py

+ 2 - 0
youtube_dl/extractor/twitch.py

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