aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/vodplatform.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/vodplatform.py')
-rw-r--r--hypervideo_dl/extractor/vodplatform.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/hypervideo_dl/extractor/vodplatform.py b/hypervideo_dl/extractor/vodplatform.py
index 74d2257..5ff0500 100644
--- a/hypervideo_dl/extractor/vodplatform.py
+++ b/hypervideo_dl/extractor/vodplatform.py
@@ -1,12 +1,10 @@
-# coding: utf-8
-from __future__ import unicode_literals
-
from .common import InfoExtractor
from ..utils import unescapeHTML
class VODPlatformIE(InfoExtractor):
_VALID_URL = r'https?://(?:(?:www\.)?vod-platform\.net|embed\.kwikmotion\.com)/[eE]mbed/(?P<id>[^/?#]+)'
+ _EMBED_REGEX = [r'<iframe[^>]+src=(["\'])(?P<url>(?:https?:)?//(?:(?:www\.)?vod-platform\.net|embed\.kwikmotion\.com)/[eE]mbed/.+?)\1']
_TESTS = [{
# from http://www.lbcgroup.tv/watch/chapter/29143/52844/%D8%A7%D9%84%D9%86%D8%B5%D8%B1%D8%A9-%D9%81%D9%8A-%D8%B6%D9%8A%D8%A7%D9%81%D8%A9-%D8%A7%D9%84%D9%80-cnn/ar
'url': 'http://vod-platform.net/embed/RufMcytHDolTH1MuKHY9Fw',
@@ -30,7 +28,6 @@ class VODPlatformIE(InfoExtractor):
formats = self._extract_wowza_formats(
hidden_inputs.get('HiddenmyhHlsLink') or hidden_inputs['HiddenmyDashLink'], video_id, skip_protocols=['f4m', 'smil'])
- self._sort_formats(formats)
return {
'id': video_id,