We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4126162 commit 3fde46fCopy full SHA for 3fde46f
booker.py
@@ -87,7 +87,9 @@ def Login(session: requests.Session):
87
}
88
)
89
assert response.ok
90
- assert 'vg-user-access-token' in session.cookies
+ if 'vg-user-access-token' not in session.cookies:
91
+ raise RuntimeError('Login unsuccessful. Suspect throttling. '
92
+ 'Wait a few minutes and try again.')
93
print('SUCCESS')
94
95
0 commit comments