mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-23 08:26:50 +00:00
[orf:tvthek] Make manifest requests non fatal (refs #22578)
This commit is contained in:
parent
25e911a968
commit
aaf9d904aa
@ -86,12 +86,13 @@ class ORFTVthekIE(InfoExtractor):
|
|||||||
if value:
|
if value:
|
||||||
format_id_list.append(value)
|
format_id_list.append(value)
|
||||||
format_id = '-'.join(format_id_list)
|
format_id = '-'.join(format_id_list)
|
||||||
if determine_ext(fd['src']) == 'm3u8':
|
ext = determine_ext(src)
|
||||||
|
if ext == 'm3u8':
|
||||||
formats.extend(self._extract_m3u8_formats(
|
formats.extend(self._extract_m3u8_formats(
|
||||||
fd['src'], video_id, 'mp4', m3u8_id=format_id))
|
src, video_id, 'mp4', m3u8_id=format_id, fatal=False))
|
||||||
elif determine_ext(fd['src']) == 'f4m':
|
elif ext == 'f4m':
|
||||||
formats.extend(self._extract_f4m_formats(
|
formats.extend(self._extract_f4m_formats(
|
||||||
fd['src'], video_id, f4m_id=format_id))
|
src, video_id, f4m_id=format_id, fatal=False))
|
||||||
else:
|
else:
|
||||||
formats.append({
|
formats.append({
|
||||||
'format_id': format_id,
|
'format_id': format_id,
|
||||||
|
Loading…
Reference in New Issue
Block a user