From 5026548d65276732ec290751d97994e23bdecc20 Mon Sep 17 00:00:00 2001 From: Oliver Pfeiffer Date: Sat, 3 Jan 2026 01:20:59 +0100 Subject: [PATCH] [ie/bigo] Support `--wait-for-video` (#15463) Authored by: olipfei --- yt_dlp/extractor/bigo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yt_dlp/extractor/bigo.py b/yt_dlp/extractor/bigo.py index b1c230f357..3e5117329e 100644 --- a/yt_dlp/extractor/bigo.py +++ b/yt_dlp/extractor/bigo.py @@ -1,5 +1,5 @@ from .common import InfoExtractor -from ..utils import ExtractorError, urlencode_postdata +from ..utils import ExtractorError, UserNotLive, urlencode_postdata class BigoIE(InfoExtractor): @@ -40,7 +40,7 @@ class BigoIE(InfoExtractor): info = info_raw.get('data') or {} if not info.get('alive'): - raise ExtractorError('This user is offline.', expected=True) + raise UserNotLive(video_id=user_id) formats, subs = self._extract_m3u8_formats_and_subtitles( info.get('hls_src'), user_id, 'mp4', 'm3u8')