Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to re-login to Tidal? #20

Closed
guap3x opened this issue Mar 31, 2021 · 4 comments
Closed

How to re-login to Tidal? #20

guap3x opened this issue Mar 31, 2021 · 4 comments

Comments

@guap3x
Copy link

guap3x commented Mar 31, 2021

Changed my password, and now it's saying login failed, token has expired. Deezer is also not working now, saying there was an error parsing the URL.

@guap3x
Copy link
Author

guap3x commented Mar 31, 2021

Here's the code for the Deezer issue;
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/bin/rip", line 8, in
sys.exit(main())
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/streamrip/cli.py", line 206, in main
cli(obj={})
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 1236, in invoke
return Command.invoke(self, ctx)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/streamrip/cli.py", line 49, in cli
core.handle_urls(kwargs["urls"])
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/streamrip/core.py", line 102, in handle_urls
for source, url_type, item_id in self.parse_urls(url):
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/streamrip/core.py", line 207, in parse_urls
raise ParsingError(f"Error parsing URL: {url}")
streamrip.exceptions.ParsingError: Error parsing URL: https://deezer.page.link/YFGpdBCSYYGUBvd49

@guap3x
Copy link
Author

guap3x commented Mar 31, 2021

And for the Tidal issue...
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/bin/rip", line 8, in
sys.exit(main())
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/streamrip/cli.py", line 206, in main
cli(obj={})
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 1236, in invoke
return Command.invoke(self, ctx)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/streamrip/cli.py", line 49, in cli
core.handle_urls(kwargs["urls"])
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/streamrip/core.py", line 113, in handle_urls
self.handle_item(source, url_type, item_id)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/streamrip/core.py", line 118, in handle_item
client = self.get_client(source)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/streamrip/core.py", line 160, in get_client
self.login(client)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/streamrip/core.py", line 168, in login
client.login(**creds)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/streamrip/clients.py", line 456, in login
self._login_by_access_token(access_token, user_id)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/streamrip/clients.py", line 608, in _login_by_access_token
raise Exception(f"Login failed {resp}")
Exception: Login failed {'status': 401, 'subStatus': 11003, 'userMessage': 'The token has expired. (Bad subject token version)'}

@nathom
Copy link
Owner

nathom commented Apr 1, 2021

This is a bug I'll fix later. For now, run rip config --reset to reset the config file. Then you'll be able to login again.

@nathom
Copy link
Owner

nathom commented Apr 1, 2021

Also, Deezer urls of the form https://deezer.page.link are not supported yet. Please use the urls that look like https://www.deezer.com/en/album/215904762. You can get these by right clicking -> copy link in the web player.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants