aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2018-01-09 22:04:50 +0700
committerSergey M․ <dstftw@gmail.com>2018-01-09 22:04:50 +0700
commit310ea4661ddaea002c86d0ebbf4663b6c943b8f4 (patch)
tree20a6793e8a003792f793c0b63242b9c64c8c859b
parent5b23845125ba20b83ab3a41fb8ff4b34e460a5dd (diff)
downloadyoutube-dl-310ea4661ddaea002c86d0ebbf4663b6c943b8f4.zip
youtube-dl-310ea4661ddaea002c86d0ebbf4663b6c943b8f4.tar.gz
youtube-dl-310ea4661ddaea002c86d0ebbf4663b6c943b8f4.tar.bz2
[ndr:embed:base] Make separate formats extraction non fatal (closes #15203)
-rw-r--r--youtube_dl/extractor/ndr.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/youtube_dl/extractor/ndr.py b/youtube_dl/extractor/ndr.py
index 07528d1..aec2ea1 100644
--- a/youtube_dl/extractor/ndr.py
+++ b/youtube_dl/extractor/ndr.py
@@ -190,10 +190,12 @@ class NDREmbedBaseIE(InfoExtractor):
ext = determine_ext(src, None)
if ext == 'f4m':
formats.extend(self._extract_f4m_formats(
- src + '?hdcore=3.7.0&plugin=aasp-3.7.0.39.44', video_id, f4m_id='hds'))
+ src + '?hdcore=3.7.0&plugin=aasp-3.7.0.39.44', video_id,
+ f4m_id='hds', fatal=False))
elif ext == 'm3u8':
formats.extend(self._extract_m3u8_formats(
- src, video_id, 'mp4', m3u8_id='hls', entry_protocol='m3u8_native'))
+ src, video_id, 'mp4', m3u8_id='hls',
+ entry_protocol='m3u8_native', fatal=False))
else:
quality = f.get('quality')
ff = {