Skip to content

Commit

Permalink
[tv4] Fix ISM formats extraction (closes #24667)
Browse files Browse the repository at this point in the history
  • Loading branch information
dstftw authored and pareronia committed Jun 22, 2020
1 parent 05598a2 commit 7866904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/extractor/tv4.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'):
Expand Down

0 comments on commit 7866904

Please sign in to comment.