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

@nechlophomeriaa/spotifydl

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nechlophomeriaa/spotifydl - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

7

index.js

@@ -107,2 +107,7 @@ const { isUrl, tags, convertMs } = require("./function")

const getOrigin = await getOriginalUrl(song)
if (!getOrigin.includes("track/")) {
;(result.status = false), (result.message = "Download track not support for Album/Playlist")
console.log(result)
return result
}
var tracks = await spotify.getTrack(getOrigin.split("track/")[1].split("?")[0])

@@ -136,3 +141,3 @@ } else {

}
console.log(result)
console.log(err)
return result

@@ -139,0 +144,0 @@ }

4

package.json

@@ -10,3 +10,3 @@ {

"description": "Simple Scraper Spotify Track/Album/Playlist Downloader with Metadata",
"version": "1.0.8",
"version": "1.0.9",
"main": "index.js",

@@ -16,3 +16,3 @@ "scripts": {

"start": "node index.js",
"format": "prettier --write '**/*.{md,js,json}'"
"format": "prettier --write '**/*.{js,json}'"
},

@@ -19,0 +19,0 @@ "repository": {

@@ -18,7 +18,7 @@ <p>Simple Scraper Spotify Downloader from <a href ="https://spotifydown.com/id">SpotifyDown</a></p>

```js
;async () => {
(async () => {
const searchTrack = await search(query, limit) //
console.log(searchTrack)
// Promise will be return an Array
}
})

@@ -41,6 +41,6 @@ /*

// Input Metadata: ✅
;async () => {
(async () => {
const downTrack = await downloadTrack(song) // query || url
console.log(downTrack)
}
})
/*

@@ -76,6 +76,6 @@ Example Output: {

// Input Metadata: ✅
;async () => {
(async () => {
const downAlbums = await downloadAlbum(url)
console.log(downAlbums)
}
})
/*

@@ -82,0 +82,0 @@ Example Output: {

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