mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-18 19:14:35 +00:00
[ndr:embed:base] Make separate formats extraction non fatal (closes #15203)
This commit is contained in:
parent
5b23845125
commit
310ea4661d
@ -190,10 +190,12 @@ class NDREmbedBaseIE(InfoExtractor):
|
|||||||
ext = determine_ext(src, None)
|
ext = determine_ext(src, None)
|
||||||
if ext == 'f4m':
|
if ext == 'f4m':
|
||||||
formats.extend(self._extract_f4m_formats(
|
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':
|
elif ext == 'm3u8':
|
||||||
formats.extend(self._extract_m3u8_formats(
|
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:
|
else:
|
||||||
quality = f.get('quality')
|
quality = f.get('quality')
|
||||||
ff = {
|
ff = {
|
||||||
|
Loading…
Reference in New Issue
Block a user