]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[extractor/common] Make HLS and DASH extraction non fatal in _parse_html5_media_entri...
authorSergey M․ <dstftw@gmail.com>
Sun, 20 Aug 2017 07:16:58 +0000 (14:16 +0700)
committerSergey M․ <dstftw@gmail.com>
Sun, 20 Aug 2017 07:16:58 +0000 (14:16 +0700)
youtube_dl/extractor/common.py

index e747258aa22378ddd25acbe3aeb5b096c32b2df3..ceba4ca1c415cec0381d9d152dc72a7d6bf255fe 100644 (file)
@@ -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 = [{