(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-better receives a total of 18 weekly downloads. As such, spottydl-better popularity was classified as not popular.
We found that spottydl-better demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 1 open source maintainer collaborating on the project.
Package last updated on 26 Mar 2024
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.
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.