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

get_url return "no sufficient rights" #45

Open
yne opened this issue Mar 8, 2025 · 2 comments
Open

get_url return "no sufficient rights" #45

yne opened this issue Mar 8, 2025 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@yne
Copy link
Owner

yne commented Mar 8, 2025

Since 2025-03-07 (so 4 years after the latest deezer API), https://media.deezer.com/v1/get_url stopped returning tracks URL for the USER_ID:0 that dzr exploited to get it's tracks urls.

[
  {
    "code": 1002,
    "message": "License token has no sufficient rights on requested media."
  }
]

I'm open to alternative API suggestions.

@yne yne changed the title [help needed] get_url return "no sufficient rights" get_url return "no sufficient rights" Mar 8, 2025
@yne yne added the help wanted Extra attention is needed label Mar 8, 2025
@yne
Copy link
Owner Author

yne commented Mar 8, 2025

comparing user0 profile and my own, using deezer.getUserData:

j=await fetch('https://www.deezer.com/ajax/gw-light.php?input=3&api_version=1.0&method=deezer.getUserData&api_token=').then(e=>e.json())

We see that results.USER.OPTIONS.web_streaming differ (true for me false for user0) on top of usual diff:

  • .results.USER.OPTIONS.license_token << seems to be the value porting the right to stream
  • .results.SESSION_ID
  • .results.USER_TOKEN
  • .results.PLAYER_TOKEN
  • .results.checkForm
  • .results.checkFormLogin (only for user0)

Also, giving consent to have my data used for ads don't change this endpoint result

@demlak
Copy link

demlak commented Mar 14, 2025

I gues, this is the reason, why dzr is not working anymore?

Any chance for an option to add own (free) deezer-account/-profile to get dzr working again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants