aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/cinchcast.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/cinchcast.py')
-rw-r--r--hypervideo_dl/extractor/cinchcast.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/hypervideo_dl/extractor/cinchcast.py b/hypervideo_dl/extractor/cinchcast.py
index b861d54..7a7ea8b 100644
--- a/hypervideo_dl/extractor/cinchcast.py
+++ b/hypervideo_dl/extractor/cinchcast.py
@@ -1,6 +1,3 @@
-# coding: utf-8
-from __future__ import unicode_literals
-
from .common import InfoExtractor
from ..utils import (
unified_strdate,
@@ -10,6 +7,8 @@ from ..utils import (
class CinchcastIE(InfoExtractor):
_VALID_URL = r'https?://player\.cinchcast\.com/.*?(?:assetId|show_id)=(?P<id>[0-9]+)'
+ _EMBED_REGEX = [r'<iframe[^>]+?src=(["\'])(?P<url>https?://player\.cinchcast\.com/.+?)\1']
+
_TESTS = [{
'url': 'http://player.cinchcast.com/?show_id=5258197&platformId=1&assetType=single',
'info_dict': {
@@ -48,7 +47,6 @@ class CinchcastIE(InfoExtractor):
'format_id': 'backup',
'url': backup_url,
})
- self._sort_formats(formats)
return {
'id': video_id,