1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 09:12:40 +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 @@ def _real_extract(self, url):
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'):