mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-02 06:27:21 +00:00
[ie/chzzk] Fix typo
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
parent
fba7cedecb
commit
cff77c1de7
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue