(async() => {
awaitSpottyDL.getAlbum("https://open.spotify.com/album/66MRfhZmuTuyGCO1dJZTRB")
.then(async(results) => {
let album = awaitSpottyDL.downloadAlbum(results, "output/", false)
let res = awaitSpottyDL.retryDownload(album);
console.log(res) // boolean or <Results[]>
});
})();
// Using a while loop until all tracks have no errors (Experimental)
(async() => {
awaitSpottyDL.getAlbum("https://open.spotify.com/album/66MRfhZmuTuyGCO1dJZTRB")
.then(async(results) => {
let album = awaitSpottyDL.downloadAlbum(results, "output/", false)
let res = awaitSpottyDL.retryDownload(album);
while(res != true) {
res = awaitSpottyDL.retryDownload(res);
console.log(res) // boolean or <Results[]>
}
});
})();
Notes
What this module simply does is that it scrapes data from Spotify, then finds the right track/song from Youtube-Music.
Hence, there's no illegal action or DRM bypass being done within this module, as all data is freely taken and used the right way
NodeJS Spotify Downloader without any API Keys or Authentication
The npm package spottydl receives a total of 96 weekly downloads. As such, spottydl popularity was classified as not popular.
We found that spottydl demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.It has 1 open source maintainer collaborating on the project.
Package last updated on 01 Jan 2023
Did you know?
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.
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
By Kush Pandya, Philipp Burckhardt, Kirill Boychenko, Orlando Barrera - Oct 31, 2024
The npm package for the LottieFiles Player web component was hit with a supply chain attack after a software engineer's npmjs credentials were compromised.