This script allows you to download tracks from the SoundCloud platform at the track URL. It uses the SoundCloud API to get the streaming URL of a track and breaks it up into small chunks that are downloaded and merged into a single file. The script can process several tracks at the same time using Threading.
To use it, you need to complete the following steps:
git clone https://github.com/lazycatcoder/SoundCloudDownloader.git
pip install -r requirements.txt
In order to download music, you can enter links to tracks from SoundCloud:
- manually through the terminal
url = input("URL: ")
sc_downloader.get_track(url)
- pass a link to one track directly in the code
url = "https://soundcloud.com/username/trackname"
sc_downloader.get_track(url)
- pass a list of links to multiple tracks
url_list = [
"https://soundcloud.com/username/trackname",
"https://soundcloud.com/username/trackname",
"https://soundcloud.com/username/trackname"
]
sc_downloader.get_track(url_list)