aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/npo.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2019-03-05 23:57:39 +0700
committerSergey M․ <dstftw@gmail.com>2019-03-05 23:58:46 +0700
commitbb6f112d9d57d7c6260de132cad604c1c05bc5a0 (patch)
tree241e8c49e983e275f27cb83b3b83b8265fd9afae /youtube_dl/extractor/npo.py
parentc17eb5b4b06cfa2c8bffb378b0a5c84d4c5a6834 (diff)
[npo] Improve ISM extraction
Diffstat (limited to 'youtube_dl/extractor/npo.py')
-rw-r--r--youtube_dl/extractor/npo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/npo.py b/youtube_dl/extractor/npo.py
index 857845d35..ad62f8ec6 100644
--- a/youtube_dl/extractor/npo.py
+++ b/youtube_dl/extractor/npo.py
@@ -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: