Simple Scraper Spotify Downloader from online website
Installation
> npm i @nechlophomeriaa/spotifydl@latest
Usage
const {
getOriginalUrl,
search,
downloads,
downloads2,
downloadAlbum,
downloadAlbum2,
downloadTrack,
downloadTrack2
} = require("@nechlophomeriaa/spotifydl")
import {
getOriginalUrl,
search,
downloads,
downloads2,
downloadAlbum,
downloadAlbum2,
downloadTrack,
downloadTrack2
} from "@nechlophomeriaa/spotifydl"
Search Function
(async () => {
const searchTrack = await search(query, limit)
console.log(searchTrack)
})
Download Single Track Function
(async () => {
const downTrack = await downloadTrack2(song)
console.log(downTrack)
})
Download Albums Function
(async () => {
const downAlbums = await downloadAlbum2(url)
console.log(downAlbums)
})
If there is bug/error please make an issue!