Get link mp3 file from Soundcloud

-1

I have a tool, where I must inform the exact link of the mp3 file contained in Soundcloud. In this case, it would not be the audio link itself but rather where the file is hosted. I am currently using link for this type of process.

If I get embedded from a file, it looks 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 is after api.soundcloud ... and it still did not work.

    
asked by anonymous 07.08.2018 / 21:18

1 answer

1

The way you want to do it is possible.

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

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

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

    
07.08.2018 / 22:28