summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-08-20 14:16:58 +0700
committerSergey M․ <dstftw@gmail.com>2017-08-20 14:16:58 +0700
commitb359e977b9bdff704cd58f6f3b34185ecbe450e4 (patch)
tree509001191f44d3dfe42aec4636667ee8025ed140
parentd3d45e0a451bab2cc36181bb50bf3c129a7a5ec4 (diff)
downloadyoutube-dl-b359e977b9bdff704cd58f6f3b34185ecbe450e4.tar.gz
youtube-dl-b359e977b9bdff704cd58f6f3b34185ecbe450e4.tar.xz
youtube-dl-b359e977b9bdff704cd58f6f3b34185ecbe450e4.zip
[extractor/common] Make HLS and DASH extraction non fatal in _parse_html5_media_entries (closes #13970)
-rw-r--r--youtube_dl/extractor/common.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py
index e747258aa..ceba4ca1c 100644
--- a/youtube_dl/extractor/common.py
+++ b/youtube_dl/extractor/common.py
@@ -2123,11 +2123,11 @@ class InfoExtractor(object):
                 formats = self._extract_m3u8_formats(
                     full_url, video_id, ext='mp4',
                     entry_protocol=m3u8_entry_protocol, m3u8_id=m3u8_id,
-                    preference=preference)
+                    preference=preference, fatal=False)
             elif ext == 'mpd':
                 is_plain_url = False
                 formats = self._extract_mpd_formats(
-                    full_url, video_id, mpd_id=mpd_id)
+                    full_url, video_id, mpd_id=mpd_id, fatal=False)
             else:
                 is_plain_url = True
                 formats = [{