mirror of
https://gitlab.com/RemixDev/deezer-py.git
synced 2024-12-29 10:56:13 +00:00
Fixed set_session issue
This commit is contained in:
parent
ad4ccf1b1d
commit
b5214e7e53
|
@ -53,6 +53,7 @@ class Deezer:
|
||||||
self.current_user = data['current_user']
|
self.current_user = data['current_user']
|
||||||
self.childs = data['childs']
|
self.childs = data['childs']
|
||||||
self.selected_account = data['selected_account']
|
self.selected_account = data['selected_account']
|
||||||
|
self.session = requests.Session()
|
||||||
self.session.cookies.update(data['cookies'])
|
self.session.cookies.update(data['cookies'])
|
||||||
|
|
||||||
def login(self, email, password, re_captcha_token, child=0):
|
def login(self, email, password, re_captcha_token, child=0):
|
||||||
|
|
Loading…
Reference in a new issue