@rezaparsian/soundclouddownloader
v0.0.5
Published
SoundCloudDownloader is a lightweight Node.js script that allows users to download music tracks directly from SoundCloud.
Downloads
4
Maintainers
Readme
SoundCloud Music Downloader
A Node.js script that downloads music tracks from SoundCloud using the SoundCloud API.
Features
- Resolve track metadata (title, artist, cover, etc.) from a SoundCloud share link.
- Download tracks in .mp3 format.
- Automatically saves the track with a filename based on the artist and title.
Requirements
- Node.js (v12 or higher)
- A SoundCloud API client_id (currently hardcoded but can be replaced with your own)
- ffmpeg
Usage
- Install the package:
npm i @rezaparsian/soundclouddownloader- Import the package:
const {downloadTrack} = require('soundclouddownloader');- Download a single sound:
downloadTrack('<soundcloud-track-share-link>');Dependencies
- Axios: Used to make API requests to SoundCloud.
- fluent-ffmpeg: Used to add sound info.
License
This project is licensed under the MIT License - see the LICENSE file for details.
