Browse Source

[extractor/common] Make HLS and DASH extraction non fatal in _parse_html5_media_entries (closes #13970)

master-ytdl-org
Sergey M․ 7 years ago
parent
commit
b359e977b9
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      youtube_dl/extractor/common.py

+ 2
- 2
youtube_dl/extractor/common.py View File

@ -2123,11 +2123,11 @@ class InfoExtractor(object):
formats = self._extract_m3u8_formats( formats = self._extract_m3u8_formats(
full_url, video_id, ext='mp4', full_url, video_id, ext='mp4',
entry_protocol=m3u8_entry_protocol, m3u8_id=m3u8_id, entry_protocol=m3u8_entry_protocol, m3u8_id=m3u8_id,
preference=preference)
preference=preference, fatal=False)
elif ext == 'mpd': elif ext == 'mpd':
is_plain_url = False is_plain_url = False
formats = self._extract_mpd_formats( formats = self._extract_mpd_formats(
full_url, video_id, mpd_id=mpd_id)
full_url, video_id, mpd_id=mpd_id, fatal=False)
else: else:
is_plain_url = True is_plain_url = True
formats = [{ formats = [{


Loading…
Cancel
Save