
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
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, StreamDownloader , HumanTimeConversion } = require('playdl-music-extractor') //For CommonJS
OR
import { Extractor, StreamDownloader , HumanTimeConversion } from 'playdl-music-extractor' //for ES6
var Data = await Extractor(Url || Query, {
Limit: 1,
Quality: 'highest',
Cookies: undefined, //YT Cookies Headers in String form
Proxy: undefined, //[{"Ip-Address:Port-Number"}] Format(Proxy)
IgnoreError: true,
})
if(Data.error) throw Data.error;
var StreamData = await StreamDownloader(Url || Query, {
Limit: 1,
Quality: 'highest',
Cookies: undefined, //YT Cookies Headers in String form
Proxy: undefined, //[{"Ip-Address:Port-Number"}] Format(Proxy)
IgnoreError: true,
})
if(StreamData.error) throw StreamData.error;
var HumanTime = HumanTimeConversion(Milliseconds)
Data : {
playlist : Boolean,
tracks : [
{
Id: 0,
url: null,
title: null,
author: null,
author_link: null,
description: null,
custom_extractor: `youtube-dl`,
duration: 0,
human_duration: undefined,
preview_stream_url: null,
stream: null,
stream_url: " ", // Audio Filters -> FFmpeg usage
stream_type: undefined,
stream_duration: 0,
stream_video_Id: undefined,
stream_human_duration: undefined,
orignal_extractor: null | 'youtube' | 'spotify' | 'facebook' | 'arbitrary',
thumbnail: null,
channelId: 'none' | 0,
channel_url: null,
lyrics: " ",
likes: 0,
is_live: false,
dislikes: 0,
}
],
error : Error | undefined
}
Extractor() is same as StreamDownloader() but it will not download info related to Streams like - "stream","stream_type" and e.t.c , just the info about the Query
"<Track>.stream_duration" is Stream Duration in Milliseconds as Stream is from Youtube
Data.tracks[0].stream can be used in terms of stream value in @discordjs/voice or any other Audio package After using - StreamDownloader() .
const { StreamDownloader } = require('playdl-music-extractor')
const { createAudioResource } = require('@discordjs/voice')
const Data = await StreamDownloader('Despacito', {
Limit: 1,
Quality: 'highest',
Cookies: undefined, //YT Cookies Headers in String form
Proxy: undefined, //[{"Ip-Address:Port-Number"}] Format(Proxy)
IgnoreError: true,
})
if(Data.error) throw Data.error;
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
- Extractor() is same as StreamDownloader() but it will not download info related to Streams like - "stream","stream_type" and e.t.c , just the info about the Query
*/
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 15 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 researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.