1 from .common
import InfoExtractor
2 from .rtvcplay
import RTVCKalturaIE
5 class SenalColombiaLiveIE(InfoExtractor
):
7 _VALID_URL
= r
'https?://(?:www\.)?senalcolombia\.tv/(?P<id>senal-en-vivo)'
10 'url': 'https://www.senalcolombia.tv/senal-en-vivo',
13 'title': 're:^SeƱal Colombia',
14 'description': 'md5:799f16a401d97f40c33a2c6a3e2a507b',
15 'thumbnail': r
're:^https?://.*\.(?:jpg|png)',
16 'live_status': 'is_live',
20 'skip_download': 'Livestream',
24 def _real_extract(self
, url
):
25 display_id
= self
._match
_id
(url
)
26 webpage
= self
._download
_webpage
(url
, display_id
)
28 hydration
= self
._search
_json
(
29 r
'<script\b[^>]*data-drupal-selector\s*=\s*"[^"]*drupal-settings-json[^"]*"[^>]*>',
30 webpage
, 'hydration', display_id
)
32 return self
.url_result(hydration
['envivosrc'], RTVCKalturaIE
, display_id
)