[tv4] Fix ISM formats extraction (closes #24667)

pull/8/head
Sergey M․ 5 years ago
parent 13b08034b5
commit 91bd3bd019
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

@ -99,7 +99,7 @@ class TV4IE(InfoExtractor):
manifest_url.replace('.m3u8', '.f4m'),
video_id, f4m_id='hds', fatal=False))
formats.extend(self._extract_ism_formats(
re.sub(r'\.ism/.+?\.m3u8', r'.ism/Manifest', manifest_url),
re.sub(r'\.ism/.*?\.m3u8', r'.ism/Manifest', manifest_url),
video_id, ism_id='mss', fatal=False))
if not formats and info.get('is_geo_restricted'):

Loading…
Cancel
Save