]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[dplayit] Sort formats
authorSergey M․ <dstftw@gmail.com>
Wed, 4 Jul 2018 19:14:50 +0000 (02:14 +0700)
committerSergey M․ <dstftw@gmail.com>
Wed, 4 Jul 2018 19:14:50 +0000 (02:14 +0700)
youtube_dl/extractor/dplay.py

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