diff --git a/handler.py b/handler.py index 8e00e70..59620f4 100755 --- a/handler.py +++ b/handler.py @@ -48,7 +48,7 @@ def pageHandler(driver): session = requests.Session() kekse = driver.get_cookies() - s.headers.update({"User-Agent": useragent}) + session.headers.update({"User-Agent": useragent}) for keks in kekse: session.cookies.set(keks["name"], keks["value"])