aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDong Heon Hee <hui1601@naver.com>2024-02-29 20:42:20 +0900
committerGitHub <noreply@github.com>2024-02-29 11:42:20 +0000
commit804f2366117b7065552a1c3cddb9ec19b688a5c1 (patch)
tree8c9180459772c39c63517249bcdadcb2b8549f0f
parentf00c0def7434fac3c88503c2a77c4b2419b8e5ca (diff)
[ie/chzzk:live] Support `--wait-for-video` (#9309)
Authored by: hui1601
-rw-r--r--yt_dlp/extractor/chzzk.py4
1 files 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)