Commit e50a0dd0 authored by Georg Teufelberger's avatar Georg Teufelberger
Browse files

Print HTTP reponse code for login on verbose

Prints the HTTP response code when requesting a cookie for accessing
videos secured with "ETH"
parent f8041519
......@@ -169,6 +169,7 @@ def acquire_login_cookie(protection, vo_link, user, passw):
# Request login-cookie
r ="", headers=headers, data=data)
print_information(f"Received response: {r.status_code}", verbose_only=True)
# Put login cookie in cookie_jar
cookie_jar = r.cookies
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment