aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/vidio.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/vidio.py')
-rw-r--r--yt_dlp/extractor/vidio.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/vidio.py b/yt_dlp/extractor/vidio.py
index 23e1aaf20..770aa284d 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.getcode() == 401:
+ if login_post_urlh.status == 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)