aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/cpac.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/cpac.py')
-rw-r--r--hypervideo_dl/extractor/cpac.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/hypervideo_dl/extractor/cpac.py b/hypervideo_dl/extractor/cpac.py
index 2274115..0f23f2b 100644
--- a/hypervideo_dl/extractor/cpac.py
+++ b/hypervideo_dl/extractor/cpac.py
@@ -1,6 +1,3 @@
-# coding: utf-8
-from __future__ import unicode_literals
-
from .common import InfoExtractor
from ..compat import compat_str
from ..utils import (
@@ -12,13 +9,6 @@ from ..utils import (
urljoin,
)
-# compat_range
-try:
- if callable(xrange):
- range = xrange
-except (NameError, TypeError):
- pass
-
class CPACIE(InfoExtractor):
IE_NAME = 'cpac'
@@ -64,8 +54,6 @@ class CPACIE(InfoExtractor):
else:
fmt['language_preference'] = -10
- self._sort_formats(formats)
-
category = str_or_none(content['details']['category_%s_t' % (url_lang, )])
def is_live(v_type):