0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-28 03:13:01 +00:00

[Vidio] Make livestream stream_url extraction non-fatal

stream_token_url sometimes gets duplicated to stream_url, and stream_url seems legacy anyway
This commit is contained in:
MyNey 2023-01-28 21:49:59 +07:00 committed by GitHub
parent 37e325b92f
commit ea3acc6a08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -290,7 +290,7 @@ def _real_extract(self, url):
pass
if stream_meta.get('stream_url'):
formats.extend(self._extract_m3u8_formats(
stream_meta['stream_url'], display_id, 'mp4', 'm3u8_native'))
stream_meta['stream_url'], display_id, 'mp4', 'm3u8_native', fatal=False))
return {
'id': video_id,