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 1.0.0 to 1.0.1

2

package.json
{
"name": "playdl-music-extractor",
"version": "1.0.0",
"version": "1.0.1",
"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",

@@ -5,0 +5,0 @@ "main": "./src/index.js",

@@ -6,2 +6,3 @@ const SpotifyExtractor = require('./bin/Spotify-Resolver');

const FacebookResolver = require('./bin/Facebook-Resolver');
const ReverbnationResolver = require('./bin/Reverbnation-Resolver');

@@ -26,2 +27,3 @@ /**

const FacebookVideoUrlRegex = /(?:https?:\/{2})?(?:w{3}\.)?(facebook|fb).com\/.*\/videos\/.*/;
if (!Query || (Query && typeof Query !== 'string')) throw TypeError('Query is invalid or is not String');
if (Query.match(SpotifyUrlRegex)) return await SpotifyExtractor(Query, YoutubeStreamOptions);

@@ -36,2 +38,3 @@ if (Query.match(FacebookVideoUrlRegex)) return await FacebookResolver(Query, YoutubeStreamOptions);

}
if (Query.toLowerCase().includes('www.reverbnation.com')) return await ReverbnationResolver(Query, YoutubeStreamOptions);
return await QueryResolver(Query, YoutubeStreamOptions);

@@ -38,0 +41,0 @@ }

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