Skip to content

Problems with auth #68

@Bredkov

Description

@Bredkov

Can some help me with auth problem?

redsea.py auth add

Traceback (most recent call last):
File "C:\RedSea\redsea.py", line 225, in
main()
File "C:\RedSea\redsea.py", line 51, in main
RSF.new_session()
File "C:\RedSea\redsea\sessions.py", line 43, in new_session
super().new_session(name, username, password)
File "C:\RedSea\redsea\tidal_api.py", line 218, in new_session
self.sessions[session_name] = TidalSession(username, password, token=token)
File "C:\RedSea\redsea\tidal_api.py", line 116, in init
self.auth(password)
File "C:\RedSea\redsea\tidal_api.py", line 133, in auth
r = requests.post(self.TIDAL_API_BASE + 'login/username', data=postParams).json()
File "C:\Users\bredk\AppData\Local\Programs\Python\Python35\lib\site-packages\requests\models.py", line 808, in json
return complexjson.loads(self.text, **kwargs)
File "C:\Users\bredk\AppData\Local\Programs\Python\Python35\lib\json_init_.py", line 319, in loads
return _default_decoder.decode(s)
File "C:\Users\bredk\AppData\Local\Programs\Python\Python35\lib\json\decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\bredk\AppData\Local\Programs\Python\Python35\lib\json\decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions