aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/lnkgo.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/lnkgo.py')
-rw-r--r--hypervideo_dl/extractor/lnkgo.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/hypervideo_dl/extractor/lnkgo.py b/hypervideo_dl/extractor/lnkgo.py
index bd2dffa..6282d2e 100644
--- a/hypervideo_dl/extractor/lnkgo.py
+++ b/hypervideo_dl/extractor/lnkgo.py
@@ -1,11 +1,7 @@
-# coding: utf-8
-from __future__ import unicode_literals
-
-
from .common import InfoExtractor
+from ..compat import compat_str
from ..utils import (
clean_html,
- compat_str,
format_field,
int_or_none,
parse_iso8601,
@@ -71,7 +67,6 @@ class LnkGoIE(InfoExtractor):
formats = self._extract_m3u8_formats(
self._M3U8_TEMPL % (prefix, video_info['videoUrl'], video_info.get('secureTokenParams') or ''),
video_id, 'mp4', 'm3u8_native')
- self._sort_formats(formats)
return {
'id': video_id,
@@ -153,7 +148,6 @@ class LnkIE(InfoExtractor):
formats.extend(fmts)
subtitles = self._merge_subtitles(subtitles, subs)
- self._sort_formats(formats)
return {
'id': id,
'title': video_json.get('title'),