From b5214e7e53372cb9b26cfab2f044254d5f2aa333 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Mon, 1 Mar 2021 19:02:48 +0100 Subject: [PATCH] Fixed set_session issue --- deezer/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/deezer/__init__.py b/deezer/__init__.py index 25e978c..3044d74 100644 --- a/deezer/__init__.py +++ b/deezer/__init__.py @@ -53,6 +53,7 @@ class Deezer: self.current_user = data['current_user'] self.childs = data['childs'] self.selected_account = data['selected_account'] + self.session = requests.Session() self.session.cookies.update(data['cookies']) def login(self, email, password, re_captcha_token, child=0):