Skip to content

Token problem #1

@0PandaDEV

Description

@0PandaDEV

The token (primary, expiry) is either generated on the server-side, but I don't know where it is coming from. Currently, the token is hard coded which is definitely not best practice and also leads to the crate not working at all after the token has expired which is usually after 1 day.

Here is the example request where there is a token needed:

// GET https://lucida.to/api/load?url=/api/fetch/stream/v2
{
  "url": "https://open.spotify.com/track/5xPcP28rWbFUlYDOhcH58l",
  "metadata": false,
  "private": true,
  "handoff": true,
  "account": {
    "type": "country",
    "id": "auto"
  },
  "upload": {
    "enabled": false,
    "service": "pixeldrain"
  },
  "downscale": "flac-16",
  "token": {
    "primary": "...",
    "expiry": ...
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions