Browse Source

[dplayit] Sort formats

Sergey M․ 7 years ago
parent
commit
e15141adae
1 changed files with 1 additions and 0 deletions
  1. 1 0
      youtube_dl/extractor/dplay.py

+ 1 - 0
youtube_dl/extractor/dplay.py

@@ -342,6 +342,7 @@ class DPlayItIE(InfoExtractor):
         formats = self._extract_m3u8_formats(
         formats = self._extract_m3u8_formats(
             hls_url, display_id, ext='mp4', entry_protocol='m3u8_native',
             hls_url, display_id, ext='mp4', entry_protocol='m3u8_native',
             m3u8_id='hls')
             m3u8_id='hls')
+        self._sort_formats(formats)
 
 
         series = self._html_search_regex(
         series = self._html_search_regex(
             r'(?s)<h1[^>]+class=["\'].*?\bshow_title\b.*?["\'][^>]*>(.+?)</h1>',
             r'(?s)<h1[^>]+class=["\'].*?\bshow_title\b.*?["\'][^>]*>(.+?)</h1>',