0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-03 23:25:06 +00:00

[telegraaf] Make hls non fatal

This commit is contained in:
Sergey M․ 2016-07-24 10:29:26 +07:00
parent d9cb92c840
commit f75e6890db
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -47,7 +47,7 @@ def _real_extract(self, url):
ext = determine_ext(manifest_url) ext = determine_ext(manifest_url)
if ext == 'm3u8': if ext == 'm3u8':
formats.extend(self._extract_m3u8_formats( formats.extend(self._extract_m3u8_formats(
manifest_url, video_id, ext='mp4', m3u8_id='hls')) manifest_url, video_id, ext='mp4', m3u8_id='hls', fatal=False))
elif ext == 'mpd': elif ext == 'mpd':
formats.extend(self._extract_mpd_formats( formats.extend(self._extract_mpd_formats(
manifest_url, video_id, mpd_id='dash', fatal=False)) manifest_url, video_id, mpd_id='dash', fatal=False))