Skip to content

Commit bb6f112

Browse files
committed
[npo] Improve ISM extraction
1 parent c17eb5b commit bb6f112

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

youtube_dl/extractor/npo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ def _get_info(self, url, video_id):
238238
formats.extend(self._extract_m3u8_formats(
239239
stream_url, video_id, ext='mp4',
240240
entry_protocol='m3u8_native', m3u8_id='hls', fatal=False))
241-
elif '.ism/Manifest' in stream_url:
241+
elif re.search(r'\.isml?/Manifest', stream_url):
242242
formats.extend(self._extract_ism_formats(
243243
stream_url, video_id, ism_id='mss', fatal=False))
244244
else:

0 commit comments

Comments
 (0)