Skip to content

Spotify Downloader and alternative of Spotdl(python) tool made in NodeJS based on youtube-dl

License

Notifications You must be signed in to change notification settings

groot45/spotify-dl

 
 

Repository files navigation

Spotify Downloader



Download audio files from spotify links

 

Required

Get FFMPEG

spotifydl

A simple commandline utility that allows you to download Spotify Songs,Playlist and Albums from Youtube.


Installation

NPM

Install from npm registry

npm install -g spotify-dl

or You can do manually

git clone https://github.com/SwapnilSoni1999/spotify-dl
cd spotify-dl
npm install
npm link

Android (Termux)

PS: You may need to type termux-setup-storage first and allow storage permission

sh -c "$(curl -fsSL https://raw.githubusercontent.com/SwapnilSoni1999/spotify-dl/master/tools/termux.sh)"

Docker

Build docker image:

git clone https://github.com/SwapnilSoni1999/spotify-dl
cd spotify-dl
docker build -t spotify-dl .

Usage

To download highest quality audio file

spotifydl <spotify track/album/playlist link> ...

 

Example

$ spotifydl https://open.spotify.com/track/xyz

Options

Flag Usage
-o takes valid output path argument
--es takes extra search string/term to be used for youtube search

Docker

docker run -it --user=$(id -u):$(id -g) -v $(pwd):/download --rm spotify-dl <options-to-spotify-dl defaults to --help>
docker run -it --user=$(id -u):$(id -g) -v $(pwd):/download --rm spotify-dl "https://open.spotify.com/...."

Acknowledgements

thanks to icons8 for icons in hero image and all the contributors for PR, suggestions and testing :love:

 

License

MIT © Swapnil Soni

About

Spotify Downloader and alternative of Spotdl(python) tool made in NodeJS based on youtube-dl

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 95.5%
  • Shell 3.4%
  • Dockerfile 1.1%