diff options
Diffstat (limited to 'hypervideo_dl/extractor/theta.py')
-rw-r--r-- | hypervideo_dl/extractor/theta.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/hypervideo_dl/extractor/theta.py b/hypervideo_dl/extractor/theta.py index 8b6d70a..ecf0ea0 100644 --- a/hypervideo_dl/extractor/theta.py +++ b/hypervideo_dl/extractor/theta.py @@ -1,6 +1,3 @@ -# coding: utf-8 -from __future__ import unicode_literals - from .common import InfoExtractor from ..utils import try_get @@ -44,7 +41,6 @@ class ThetaStreamIE(InfoExtractor): if data.get('type') != 'embed' and data.get('resolution') in ('master', 'source')) formats = self._extract_m3u8_formats(m3u8_playlist, channel_id, 'mp4', m3u8_id='hls', live=True) - self._sort_formats(formats) channel = try_get(info, lambda x: x['user']['username']) # using this field instead of channel_id due to capitalization @@ -81,7 +77,6 @@ class ThetaVideoIE(InfoExtractor): m3u8_playlist = try_get(info, lambda x: x['video_urls'][0]['url']) formats = self._extract_m3u8_formats(m3u8_playlist, video_id, 'mp4', m3u8_id='hls') - self._sort_formats(formats) return { 'id': video_id, |