mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-30 16:42:57 +01:00
parent
1722099ded
commit
cc33cc4395
@ -286,6 +286,9 @@ def _login(self):
|
|||||||
'targetEnv': 'jssdk',
|
'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
|
# Sometimes authentication fails for no good reason, retry
|
||||||
login_attempt = 1
|
login_attempt = 1
|
||||||
while login_attempt <= 3:
|
while login_attempt <= 3:
|
||||||
|
Loading…
Reference in New Issue
Block a user