소스 검색

[vlive] Sort live formats (closes #27404)

Sergey M․ 4 년 전
부모
커밋
d8008dee4f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      youtube_dl/extractor/vlive.py

+ 1 - 0
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']),