aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--yt_dlp/extractor/canvas.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/yt_dlp/extractor/canvas.py b/yt_dlp/extractor/canvas.py
index b417f8577..49e7e4e39 100644
--- a/yt_dlp/extractor/canvas.py
+++ b/yt_dlp/extractor/canvas.py
@@ -286,6 +286,9 @@ class VrtNUIE(GigyaBaseIE):
'targetEnv': 'jssdk',
}))
+ if auth_info.get('errorDetails'):
+ raise ExtractorError('Unable to login: VrtNU said: ' + auth_info.get('errorDetails'), expected=True)
+
# Sometimes authentication fails for no good reason, retry
login_attempt = 1
while login_attempt <= 3: