[tv4] Fix ISM formats extraction (closes #24667)
authorSergey M․ <dstftw@gmail.com>
Tue, 7 Apr 2020 15:55:36 +0000 (22:55 +0700)
committerSergey M․ <dstftw@gmail.com>
Tue, 7 Apr 2020 15:56:06 +0000 (22:56 +0700)
youtube_dl/extractor/tv4.py

index a819d048c613929b79f090facc4a82a097e1cb73..c498b0191623220071d38764f04d3ba1fc114558 100644 (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'):