]> jfr.im git - yt-dlp.git/commitdiff
[extractor/patreon] Sort formats
authorpukkandan <redacted>
Wed, 21 Sep 2022 19:53:22 +0000 (01:23 +0530)
committerpukkandan <redacted>
Wed, 21 Sep 2022 20:09:42 +0000 (01:39 +0530)
yt_dlp/extractor/patreon.py

index 529aba178c5bfa3f572ffe26351da9088d970efd..43c90c8f1655b82ada4e05f7f7d30a4cfe1d4d5a 100644 (file)
@@ -277,6 +277,7 @@ def _real_extract(self, url):
                 }
             elif name == 'video':
                 formats, subtitles = self._extract_m3u8_formats_and_subtitles(post_file['url'], video_id)
+                self._sort_formats(formats)
                 return {
                     **info,
                     'formats': formats,