From 9ae2d820fc038f74ead631f3a7a61634e77f31c7 Mon Sep 17 00:00:00 2001 From: sepro Date: Thu, 17 Apr 2025 12:19:37 +0200 Subject: [PATCH] [ie/loco] Fix livestream extraction --- yt_dlp/extractor/loco.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/loco.py b/yt_dlp/extractor/loco.py index a648f7e13d..6cf7cedf41 100644 --- a/yt_dlp/extractor/loco.py +++ b/yt_dlp/extractor/loco.py @@ -61,7 +61,7 @@ class LocoIE(InfoExtractor): video_type, video_id = self._match_valid_url(url).group('type', 'id') webpage = self._download_webpage(url, video_id) stream = traverse_obj(self._search_nextjs_data(webpage, video_id), ( - 'props', 'pageProps', ('liveStreamData', 'stream'), {dict}, any, {require('stream info')})) + 'props', 'pageProps', ('liveStreamData', 'stream', 'liveStream'), {dict}, any, {require('stream info')})) return { 'formats': self._extract_m3u8_formats(stream['conf']['hls'], video_id),