H
H
Hector Synchrome2021-06-16 12:21:41
Python
Hector Synchrome, 2021-06-16 12:21:41

How do I download music from SoundCloud?

Advise some libraries for downloading music from SoundCloud'a

So far, the only thing I have found is soundcloud-dl . But there is no example of use in the code, but there is only an example for the command line. In addition, when I try to upload a track using this example, they ask me for an API key, they write on the Internet that you can get a key by creating your own API, but recently it has been impossible to create your own API in soundcloud.

I'm desperate, I don't know what to do. Tell me, maybe there are other libraries? Or how can I find out the API key for this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
soremix, 2021-06-16
@MatewGreg

But there is no example of use in the code

This is a console program. However, nothing prevents running it through the same subprocess
How can I find out the API key for this

The repository says
only way to get an API key is from the dev console Navigate to soundcloud.com and check for any XHR request params to find a client_id that can be used

So open f12 -> network in your browser. Set the filter to XHR (although you can not set it in principle), ctrl+f and look for client_id. You already insert it into the program

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question