projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c17eb5b
)
[npo] Improve ISM extraction
author
Sergey M․
<dstftw@gmail.com>
Tue, 5 Mar 2019 16:57:39 +0000
(23:57 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Tue, 5 Mar 2019 16:58:46 +0000
(23:58 +0700)
youtube_dl/extractor/npo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/npo.py
b/youtube_dl/extractor/npo.py
index 857845d35283be7b029a6f37392e77deba6f87f8..ad62f8ec61c423384f001cf0df42e6dbf9ffbd11 100644
(file)
--- 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: