From d8008dee4f8b2d9fb66835aa83023bc681f116f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergey=20M=E2=80=A4?= Date: Sun, 13 Dec 2020 15:04:18 +0700 Subject: [PATCH] [vlive] Sort live formats (closes #27404) --- youtube_dl/extractor/vlive.py | 1 + 1 file changed, 1 insertion(+) diff --git a/youtube_dl/extractor/vlive.py b/youtube_dl/extractor/vlive.py index 223709b1e..6224e6200 100644 --- a/youtube_dl/extractor/vlive.py +++ b/youtube_dl/extractor/vlive.py @@ -155,6 +155,7 @@ class VLiveIE(VLiveBaseIE): 'old/v3/live/%s/playInfo', video_id)['result']['adaptiveStreamUrl'] formats = self._extract_m3u8_formats(stream_url, video_id, 'mp4') + self._sort_formats(formats) info = get_common_fields() info.update({ 'title': self._live_title(video['title']),