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

playdl-music-extractor

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

playdl-music-extractor - npm Package Compare versions

Comparing version 2.3.9 to 2.3.10

4

package.json
{
"name": "playdl-music-extractor",
"version": "2.3.9",
"version": "2.3.10",
"description": "PlayDL Music Extractor is a Extractor/Scrapper and Helps Players to fetch data from play-dl or Custom Extractors , as Per reduces extra work and credentials",

@@ -33,3 +33,3 @@ "main": "./src/index.js",

"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-import": "^2.25.3",
"jsdoc": "^3.6.7",

@@ -36,0 +36,0 @@ "jsdoc-babel": "^0.5.0",

@@ -30,3 +30,6 @@ const { getData, getPreview } = require('spotify-url-info');

(video) => {
if (video && video.track && video.track.name !== '') return video;
if (
(video && video.track && video.track.name !== '')
|| (video && video.name !== '')
) return video;
return void undefined;

@@ -33,0 +36,0 @@ },

@@ -85,5 +85,10 @@ const {

proxy:
(YoutubeStreamOptions.Proxy
(YoutubeStreamOptions.Proxy && YoutubeStreamOptions.Proxy[0]
? YoutubeStreamOptions.Proxy
: undefined)
?? (YoutubeStreamOptions.Proxy
&& typeof YoutubeStreamOptions.Proxy === 'string'
? [YoutubeStreamOptions.Proxy]
: undefined) ?? undefined,
: undefined)
?? undefined,
}

@@ -95,3 +100,3 @@ : undefined,

if (
Loop >= 10
Loop >= 3
|| !(

@@ -102,2 +107,3 @@ `${error.message}`.includes('429')

|| `${error.message}`.includes('unavailable')
|| `${error.message}`.includes('Unavailable')
)

@@ -109,4 +115,5 @@ || !(

|| `${error}`.includes('unavailable')
|| `${error}`.includes('Unavailable')
)
) throw Error(`${error.message}`);
) throw Error(`${error.message ?? error}`);
YoutubeStreamOptions.Proxy = [(await randomOne(true)).url];

@@ -113,0 +120,0 @@ const StreamData = await PlayDLExtractor.#streamdownloader(

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