From 804f2366117b7065552a1c3cddb9ec19b688a5c1 Mon Sep 17 00:00:00 2001 From: Dong Heon Hee Date: Thu, 29 Feb 2024 20:42:20 +0900 Subject: [PATCH] [ie/chzzk:live] Support `--wait-for-video` (#9309) Authored by: hui1601 --- yt_dlp/extractor/chzzk.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yt_dlp/extractor/chzzk.py b/yt_dlp/extractor/chzzk.py index 6894baea5..420fe0514 100644 --- a/yt_dlp/extractor/chzzk.py +++ b/yt_dlp/extractor/chzzk.py @@ -2,7 +2,7 @@ import functools from .common import InfoExtractor from ..utils import ( - ExtractorError, + UserNotLive, float_or_none, int_or_none, parse_iso8601, @@ -40,7 +40,7 @@ class CHZZKLiveIE(InfoExtractor): note='Downloading channel info', errnote='Unable to download channel info')['content'] if live_detail.get('status') == 'CLOSE': - raise ExtractorError('The channel is not currently live', expected=True) + raise UserNotLive(video_id=channel_id) live_playback = self._parse_json(live_detail['livePlaybackJson'], channel_id)