aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/limelight.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/limelight.py')
-rw-r--r--hypervideo_dl/extractor/limelight.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/hypervideo_dl/extractor/limelight.py b/hypervideo_dl/extractor/limelight.py
index b20681a..e11ec43 100644
--- a/hypervideo_dl/extractor/limelight.py
+++ b/hypervideo_dl/extractor/limelight.py
@@ -1,6 +1,3 @@
-# coding: utf-8
-from __future__ import unicode_literals
-
import re
from .common import InfoExtractor
@@ -20,7 +17,7 @@ class LimelightBaseIE(InfoExtractor):
_PLAYLIST_SERVICE_URL = 'http://production-ps.lvp.llnw.net/r/PlaylistService/%s/%s/%s'
@classmethod
- def _extract_urls(cls, webpage, source_url):
+ def _extract_embed_urls(cls, url, webpage):
lm = {
'Media': 'media',
'Channel': 'channel',
@@ -28,7 +25,7 @@ class LimelightBaseIE(InfoExtractor):
}
def smuggle(url):
- return smuggle_url(url, {'source_url': source_url})
+ return smuggle_url(url, {'source_url': url})
entries = []
for kind, video_id in re.findall(
@@ -182,8 +179,6 @@ class LimelightBaseIE(InfoExtractor):
'ext': ext,
})
- self._sort_formats(formats)
-
subtitles = {}
for flag in mobile_item.get('flags'):
if flag == 'ClosedCaptions':