diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2023-06-21 09:21:20 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2023-06-21 09:21:20 +0530 |
commit | ad54c9130e793ce433bf9da334fa80df9f3aee58 (patch) | |
tree | 859a37aa6647ac90e619ba85aa5db58a0c733ae9 /yt_dlp/extractor/vidio.py | |
parent | db3ad8a67661d7b234a6954d9c6a4a9b1749f5eb (diff) |
[cleanup] Misc
Closes #6288, Closes #7197, Closes #7265, Closes #7353, Closes #5773
Authored by: mikf, freezboltz, pukkandan
Diffstat (limited to 'yt_dlp/extractor/vidio.py')
-rw-r--r-- | yt_dlp/extractor/vidio.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/vidio.py b/yt_dlp/extractor/vidio.py index 770aa284d..23e1aaf20 100644 --- a/yt_dlp/extractor/vidio.py +++ b/yt_dlp/extractor/vidio.py @@ -39,7 +39,7 @@ class VidioBaseIE(InfoExtractor): login_post, login_post_urlh = self._download_webpage_handle( self._LOGIN_URL, None, 'Logging in', data=urlencode_postdata(login_form), expected_status=[302, 401]) - if login_post_urlh.status == 401: + if login_post_urlh.getcode() == 401: if get_element_by_class('onboarding-content-register-popup__title', login_post): raise ExtractorError( 'Unable to log in: The provided email has not registered yet.', expected=True) |