Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

spotify-dl

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spotify-dl

Spotify Songs, Playlist & Album Downloader

  • 1.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
35
decreased by-10.26%
Maintainers
1
Weekly downloads
 
Created
Source

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
FlagUsage
-otakes valid output path argument
--estakes extra search string/term to be used for youtube search
--ooenforces all downloaded songs in the output dir
--stdownload spotify saved tracks
--spdownload spotify saved playlists
--sadownload spotify saved albums
-uspotify username (only needed in non tty)
-pspotify password (only needed in non tty)
-cftakes valid output file name path argument
-vreturns current version
-houtputs help text

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

Keywords

FAQs

Package last updated on 17 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc