Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
playdl-music-extractor
Advanced tools
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
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.
Node.js 16 or newer is required.
npm install playdl-music-extractor
Extractor Video/Playlist/Album Data from any Platform :-
const { Extractor } = require('playdl-music-extractor') //For CommonJS
OR
import { Extractor } from 'playdl-music-extractor' //for ES6
var Data = await Extractor(Url || Query, {
Limit: 1,
Quality: 'highest',
Proxy: undefined, //[{"Ip-Address:Port-Number"}] Format(Proxy)
IgnoreError: true,
})
Data : {
playlist : Boolean,
tracks : [
{
Id: 0,
url: String,
title: String,
author: String,
author_link: String,
description: String,
custom_extractor: `play-dl`,
duration: 0,
stream: String,
stream_type: String,
orignal_extractor: 'youtube' | 'spotify' | 'facebook' | 'arbitrary',
thumbnail: String,
channelId: 0 || String,
channel_url: String,
likes: 0,
is_live: false,
dislikes: 0,
}]
}
Data.tracks[0].stream can be used in terms of stream value in @discordjs/voice or any other Audio package .
const { Extractor } = require('playdl-music-extractor')
const { createAudioResource } = require('@discordjs/voice')
const Data = await Extractor('Despacito', {
Limit: 1,
Quality: 'highest',
Proxy: undefined, //[{"Ip-Address:Port-Number"}] Format(Proxy)
IgnoreError: true,
})
var Audio_Resource = createAudioResource(Data.tracks[0].stream ,{
inputType: Data.tracks[0].stream_type
})
//Rest is mentioned in @discordjs/voice examples , from here "Audio_Resource" is important
Before creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the ReadMe.md
If you don't understand something in the ReadMe.md , you are experiencing problems, or you just need a gentle nudge in the right direction, please don't hesitate to join our official Support Server.
FAQs
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
The npm package playdl-music-extractor receives a total of 74 weekly downloads. As such, playdl-music-extractor popularity was classified as not popular.
We found that playdl-music-extractor 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.
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.