This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

spot-dl-downloader

1.0.5 • Public • Published

spot-dl-downloader

A module for spot-dl.

Usage

Go to Spotify Developer Dashboard and create an app.

Copy the clientId and the clientSecret.

Please note that without the credentials you can't use this tool.

const spotdlDownloader = require("spot-dl-downloader");

let credentials = {
    "clientId": "<client id>",
    "clientSecret": "<client secret>"
}

new spotdlDownloader(credentials, "<dir path>")
    .download("<spotify url>");
  • spotify url
    Could be the URL of an album, track, playlist. Or even an artist.

    Entering the URL to an artist will download all the songs created by the artists.

  • dir path
    Path to the directory where the songs will be downloaded. Can even be process.cwd() (trick used in spot-dl).

Very simple to use, I think...

Example

Here's a complete example (except for the credentials) of how to download a song.

const spotdlDownloader = require("spot-dl-downloader");

let credentials = {
    "clientId": "<client id>",
    "clientSecret": "<client secret>"
}

new spotdlDownloader(credentials, __dirname)
    .download("https://open.spotify.com/track/7JJmb5XwzOO8jgpou264Ml?si=387fb90dc9414285");

/spot-dl-downloader/

    Package Sidebar

    Install

    npm i spot-dl-downloader

    Weekly Downloads

    1

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    17.4 kB

    Total Files

    6

    Last publish

    Collaborators

    • boru