distubejs / yt-dlp

yt-dlp plugin for DisTube
MIT License
9 stars 0 forks source link

npm peer dependency version npm GitHub Repo stars Discord

@distube/yt-dlp

yt-dlp extractor plugin for DisTube.js.org.

Feature

Requirement

Installation

npm install @distube/yt-dlp@latest

Documentation

new YtDlpPlugin([YtDlpPluginOptions])

Create a DisTube's ExtractorPlugin instance.

Usage

const Discord = require("discord.js");
const client = new Discord.Client();

const { DisTube } = require("distube");
const { YtDlpPlugin } = require("@distube/yt-dlp");
const distube = new DisTube(client, {
  plugins: [new YtDlpPlugin({ update: true })],
});