mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-06-29 22:24:48 +00:00
fix
This commit is contained in:
parent
6213928a7e
commit
d7ec22b8ef
@ -891,7 +891,7 @@ class NiconicoLiveIE(NiconicoBaseIE):
|
|||||||
formats = self._extract_m3u8_formats(m3u8_url, video_id, ext='mp4', live=True)
|
formats = self._extract_m3u8_formats(m3u8_url, video_id, ext='mp4', live=True)
|
||||||
for fmt in formats:
|
for fmt in formats:
|
||||||
if fmt.get('acodec') == 'none':
|
if fmt.get('acodec') == 'none':
|
||||||
fmt['format_id'] = next(q_iter, fmt.get('format_id'))
|
fmt['format_id'] = next(q_iter, fmt['format_id'])
|
||||||
elif fmt.get('vcodec') == 'none':
|
elif fmt.get('vcodec') == 'none':
|
||||||
abr = parse_bitrate(fmt['url'].lower())
|
abr = parse_bitrate(fmt['url'].lower())
|
||||||
fmt.update({
|
fmt.update({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user