]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/chzzk.py
[ie/mlbtv] Fix extraction (#10296)
[yt-dlp.git] / yt_dlp / extractor / chzzk.py
index 6894baea5cb2c65c9077caffd8e07cd18e847cf6..420fe0514bc164dcd4f856197b8fafbe5b543c94 100644 (file)
@@ -2,7 +2,7 @@
 
 from .common import InfoExtractor
 from ..utils import (
-    ExtractorError,
+    UserNotLive,
     float_or_none,
     int_or_none,
     parse_iso8601,
@@ -40,7 +40,7 @@ def _real_extract(self, url):
             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)