[ie/chzzk] Fix typo

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
Dong Heon Hee 2024-11-01 08:48:07 +09:00 committed by GitHub
parent fba7cedecb
commit cff77c1de7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -147,7 +147,7 @@ def _real_extract(self, url):
f'https://api.chzzk.naver.com/service/v3/videos/{video_id}', video_id, f'https://api.chzzk.naver.com/service/v3/videos/{video_id}', video_id,
note='Downloading video info', errnote='Unable to download video info')['content'] 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') video_status = video_meta.get('vodStatus')
if video_status == 'UPLOAD': if video_status == 'UPLOAD':
playback = self._parse_json(video_meta['liveRewindPlaybackJson'], video_id) playback = self._parse_json(video_meta['liveRewindPlaybackJson'], video_id)