aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/medialaan.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/medialaan.py')
-rw-r--r--hypervideo_dl/extractor/medialaan.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/hypervideo_dl/extractor/medialaan.py b/hypervideo_dl/extractor/medialaan.py
index 788acf7..bce20dc 100644
--- a/hypervideo_dl/extractor/medialaan.py
+++ b/hypervideo_dl/extractor/medialaan.py
@@ -1,5 +1,3 @@
-from __future__ import unicode_literals
-
import re
from .common import InfoExtractor
@@ -71,8 +69,8 @@ class MedialaanIE(InfoExtractor):
'only_matching': True,
}]
- @staticmethod
- def _extract_urls(webpage):
+ @classmethod
+ def _extract_embed_urls(cls, url, webpage):
entries = []
for element in re.findall(r'(<div[^>]+data-mychannels-type="video"[^>]*>)', webpage):
mychannels_id = extract_attributes(element).get('data-mychannels-id')
@@ -102,7 +100,6 @@ class MedialaanIE(InfoExtractor):
'ext': ext,
'url': src,
})
- self._sort_formats(formats)
return {
'id': production_id,