aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/rts.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/rts.py')
-rw-r--r--hypervideo_dl/extractor/rts.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/hypervideo_dl/extractor/rts.py b/hypervideo_dl/extractor/rts.py
index 865a730..81c4d7c 100644
--- a/hypervideo_dl/extractor/rts.py
+++ b/hypervideo_dl/extractor/rts.py
@@ -1,6 +1,3 @@
-# coding: utf-8
-from __future__ import unicode_literals
-
import re
from .srgssr import SRGSSRIE
@@ -15,7 +12,7 @@ from ..utils import (
)
-class RTSIE(SRGSSRIE):
+class RTSIE(SRGSSRIE): # XXX: Do not subclass from concrete IE
IE_DESC = 'RTS.ch'
_VALID_URL = r'rts:(?P<rts_id>\d+)|https?://(?:.+?\.)?rts\.ch/(?:[^/]+/){2,}(?P<id>[0-9]+)-(?P<display_id>.+?)\.html'
@@ -215,7 +212,6 @@ class RTSIE(SRGSSRIE):
})
self._check_formats(formats, media_id)
- self._sort_formats(formats)
duration = info.get('duration') or info.get('cutout') or info.get('cutduration')
if isinstance(duration, compat_str):