From cff77c1de78f3d4713d91e716711d371ec0d5244 Mon Sep 17 00:00:00 2001 From: Dong Heon Hee Date: Fri, 1 Nov 2024 08:48:07 +0900 Subject: [PATCH] [ie/chzzk] Fix typo Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com> --- yt_dlp/extractor/chzzk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/chzzk.py b/yt_dlp/extractor/chzzk.py index 9b0682b37e..cc87e730c9 100644 --- a/yt_dlp/extractor/chzzk.py +++ b/yt_dlp/extractor/chzzk.py @@ -147,7 +147,7 @@ def _real_extract(self, url): f'https://api.chzzk.naver.com/service/v3/videos/{video_id}', video_id, note='Downloading video info', errnote='Unable to download video info')['content'] - live_status = 'was_live' is video_meta.get('liveOpenDate') else 'not_live' + live_status = 'was_live' if video_meta.get('liveOpenDate') else 'not_live' video_status = video_meta.get('vodStatus') if video_status == 'UPLOAD': playback = self._parse_json(video_meta['liveRewindPlaybackJson'], video_id)