[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 pass
if stream_meta.get('stream_url'): if stream_meta.get('stream_url'):
formats.extend(self._extract_m3u8_formats( 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 { return {
'id': video_id, 'id': video_id,