aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/amcnetworks.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/amcnetworks.py')
-rw-r--r--hypervideo_dl/extractor/amcnetworks.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/hypervideo_dl/extractor/amcnetworks.py b/hypervideo_dl/extractor/amcnetworks.py
index e38e215..c58bc7b 100644
--- a/hypervideo_dl/extractor/amcnetworks.py
+++ b/hypervideo_dl/extractor/amcnetworks.py
@@ -1,6 +1,3 @@
-# coding: utf-8
-from __future__ import unicode_literals
-
import re
from .theplatform import ThePlatformIE
@@ -12,7 +9,7 @@ from ..utils import (
)
-class AMCNetworksIE(ThePlatformIE):
+class AMCNetworksIE(ThePlatformIE): # XXX: Do not subclass from concrete IE
_VALID_URL = r'https?://(?:www\.)?(?P<site>amc|bbcamerica|ifc|(?:we|sundance)tv)\.com/(?P<id>(?:movies|shows(?:/[^/]+)+)/[^/?#&]+)'
_TESTS = [{
'url': 'https://www.bbcamerica.com/shows/the-graham-norton-show/videos/tina-feys-adorable-airline-themed-family-dinner--51631',
@@ -109,7 +106,6 @@ class AMCNetworksIE(ThePlatformIE):
media_url = update_url_query(media_url, query)
formats, subtitles = self._extract_theplatform_smil(
media_url, video_id)
- self._sort_formats(formats)
thumbnails = []
thumbnail_urls = [properties.get('imageDesktop')]