diff options
author | Sergey M․ <dstftw@gmail.com> | 2019-10-03 00:55:46 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2019-10-03 00:55:46 +0700 |
commit | aaf9d904aa77bfe60714393c0ab413c32cca8a39 (patch) | |
tree | 3bfd8d5077696d8dbed91b44ac709c557ba11377 /youtube_dl | |
parent | 25e911a968f6675a2c06f0d60a09a86972aadc40 (diff) |
[orf:tvthek] Make manifest requests non fatal (refs #22578)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/orf.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/youtube_dl/extractor/orf.py b/youtube_dl/extractor/orf.py index 499be0029..3425f7602 100644 --- a/youtube_dl/extractor/orf.py +++ b/youtube_dl/extractor/orf.py @@ -86,12 +86,13 @@ class ORFTVthekIE(InfoExtractor): if value: format_id_list.append(value) 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( - fd['src'], video_id, 'mp4', m3u8_id=format_id)) - elif determine_ext(fd['src']) == 'f4m': + src, video_id, 'mp4', m3u8_id=format_id, fatal=False)) + elif ext == 'f4m': formats.extend(self._extract_f4m_formats( - fd['src'], video_id, f4m_id=format_id)) + src, video_id, f4m_id=format_id, fatal=False)) else: formats.append({ 'format_id': format_id, |