diff options
author | exwm <thighsman@protonmail.com> | 2020-11-01 21:15:45 -0500 |
---|---|---|
committer | exwm <thighsman@protonmail.com> | 2020-11-02 18:35:44 -0500 |
commit | 8ba3ad0a48bcc2e12f2ed82c0c5e0999e5e94281 (patch) | |
tree | 41f5d6e9c48b5aa262b0071cffeca9d882ad9da4 | |
parent | 1923b146b378aed234f3cc91a61eb9c5aec2f684 (diff) | |
download | hypervideo-pre-8ba3ad0a48bcc2e12f2ed82c0c5e0999e5e94281.tar.lz hypervideo-pre-8ba3ad0a48bcc2e12f2ed82c0c5e0999e5e94281.tar.xz hypervideo-pre-8ba3ad0a48bcc2e12f2ed82c0c5e0999e5e94281.zip |
[vlive] fix: fetching live video not yet uploaded for replay
-rw-r--r-- | youtube_dlc/extractor/vlive.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube_dlc/extractor/vlive.py b/youtube_dlc/extractor/vlive.py index 98c405f21..70d5d8dfb 100644 --- a/youtube_dlc/extractor/vlive.py +++ b/youtube_dlc/extractor/vlive.py @@ -144,8 +144,10 @@ class VLiveIE(NaverBaseIE): expected=True) elif video_type in ('LIVE'): video_status = video_params["status"] - if video_status == 'RESERVED': + if video_status in ('RESERVED'): raise ExtractorError('Coming soon!', expected=True) + elif video_status in ('ENDED', 'END'): + raise ExtractorError('Uploading for replay. Please wait...', expected=True) else: return self._live(video_id, webpage, params) else: |