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

This commit is contained in:
Sergey M․ 2020-04-07 22:55:36 +07:00
parent 13b08034b5
commit 91bd3bd019
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -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'):