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

Is there a time limit for the resolved stream location URL? #254

Open
alexweinstein opened this issue Aug 21, 2023 · 0 comments
Open

Is there a time limit for the resolved stream location URL? #254

alexweinstein opened this issue Aug 21, 2023 · 0 comments

Comments

@alexweinstein
Copy link

API Guide tells us that in order to get the streaming file location of a track, we should:

Send a GET request to stream_url and you will get a set of links with available transcodings which you can choose from.

This returns:

{
    "status": "302 - Found",
    "location": "https:\/\/cf-media.sndcdn.com..."
}

However, it seems that the location url expires after a few minutes, generating a 403.

My questions:

  • What is the official length of time that the location url will last?
  • Is there a way to extend it?
  • Is there another way I should be getting the stream file url that doesn't expire?
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

1 participant