1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-31 01:52:52 +08:00

[dplayit] Sort formats

This commit is contained in:
Sergey M․ 2018-07-05 02:14:50 +07:00
parent 94fef94d9c
commit e15141adae
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -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>',