projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94fef94
)
[dplayit] Sort formats
author
Sergey M․
<dstftw@gmail.com>
Wed, 4 Jul 2018 19:14:50 +0000
(
02:14
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 4 Jul 2018 19:14:50 +0000
(
02:14
+0700)
youtube_dl/extractor/dplay.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/dplay.py
b/youtube_dl/extractor/dplay.py
index a95e3213cbca396cfd881e12b4ab303f1444684e..ebf59512c6bdf89df0efeb22c8cf047156dd4a7d 100644
(file)
--- 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>',