mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-12-22 14:37:55 +01:00
[npo] Improve ISM extraction
This commit is contained in:
parent
c17eb5b4b0
commit
bb6f112d9d
@ -238,7 +238,7 @@ class NPOIE(NPOBaseIE):
|
||||
formats.extend(self._extract_m3u8_formats(
|
||||
stream_url, video_id, ext='mp4',
|
||||
entry_protocol='m3u8_native', m3u8_id='hls', fatal=False))
|
||||
elif '.ism/Manifest' in stream_url:
|
||||
elif re.search(r'\.isml?/Manifest', stream_url):
|
||||
formats.extend(self._extract_ism_formats(
|
||||
stream_url, video_id, ism_id='mss', fatal=False))
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user