diff options
author | Sergey M․ <dstftw@gmail.com> | 2020-12-13 15:04:18 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2020-12-13 15:04:18 +0700 |
commit | d8008dee4f8b2d9fb66835aa83023bc681f116f1 (patch) | |
tree | 26be2245665928aab570747a38da9ece2c522420 | |
parent | bb38a1215718cdf36d73ff0a7830a64cd9fa37cc (diff) |
[vlive] Sort live formats (closes #27404)
-rw-r--r-- | youtube_dl/extractor/vlive.py | 1 |
1 files changed, 1 insertions, 0 deletions
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']), |