mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-28 01:41:06 +00:00
parent
1722099ded
commit
cc33cc4395
1 changed files with 3 additions and 0 deletions
|
@ -286,6 +286,9 @@ def _login(self):
|
|||
'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:
|
||||
|
|
Loading…
Reference in a new issue