diff options
author | Sergey M․ <dstftw@gmail.com> | 2018-07-05 02:14:50 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2018-07-05 02:14:50 +0700 |
commit | e15141adaee67d1e9b9e97c17b73fe4c052c3449 (patch) | |
tree | 1bbeaa550cef24935b21a71e9c2a25cf08790345 | |
parent | 94fef94d9c8571db255b0f3694617f5cd56825b8 (diff) |
[dplayit] Sort formats
-rw-r--r-- | youtube_dl/extractor/dplay.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/dplay.py b/youtube_dl/extractor/dplay.py index a95e3213c..ebf59512c 100644 --- a/youtube_dl/extractor/dplay.py +++ b/youtube_dl/extractor/dplay.py @@ -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>', |