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 committed Apr 7, 2020
1 parent 13b0803 commit 91bd3bd
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 91bd3bd

Please sign in to comment.