Grab mp3 link from file on Soundcloud

Asked

Viewed 687 times

-1

I have a tool, where I must inform the exact link of the mp3 file that appears in Soundcloud. In this case, it would not be the audio link itself but where the file is hosted. I am currently using the site http://offliberty.me/ for this type of process.

If I pick up the embed from a file, it’ll be like this:

<iframe width="100%" height="300" scrolling="no" frameborder="no" allow="autoplay" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/328259811&color=%23ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true&visual=true"></iframe>

I tried to use what’s after the api.Soundcloud... and yet it didn’t work.

1 answer

1

The way you want to do it is possible.

You need to get the following URL that is located on iframe

https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/328259811

You can directly check in the browser the properties, if the property downloadable is marked as true, automatically property download_url will be set with the download link.

  • How do I check these properties? I need direct link to the file.

  • It depends on how you’re getting the iframe, you haven’t made it clear whether it’s dynamic or manual.

  • May be manual.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.