Skip to content

A feature-rich command-line audio/video downloader

[twitch:clips] Sort formats

Sergey M․0cacae280725
diff --git a/youtube_dl/extractor/twitch.py b/youtube_dl/extractor/twitch.py
index 5757eb1198..890f551800 100644
--- a/youtube_dl/extractor/twitch.py
+++ b/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,