1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-18 12:37:54 +01:00

[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'), manifest_url.replace('.m3u8', '.f4m'),
video_id, f4m_id='hds', fatal=False)) video_id, f4m_id='hds', fatal=False))
formats.extend(self._extract_ism_formats( 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)) video_id, ism_id='mss', fatal=False))
if not formats and info.get('is_geo_restricted'): if not formats and info.get('is_geo_restricted'):