Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/distubejs/yt-dlp

yt-dlp plugin for DisTube
https://github.com/distubejs/yt-dlp

Last synced: about 2 months ago
JSON representation

yt-dlp plugin for DisTube

Awesome Lists containing this project

README

        






npm peer dependency version
npm
GitHub Repo stars
Discord


# @distube/yt-dlp

[yt-dlp](https://github.com/yt-dlp/yt-dlp) extractor plugin for [DisTube.js.org](https://distube.js.org).

# Feature

- Support [900+ sites](https://github.com/yt-dlp/yt-dlp/blob/master/supportedsites.md) using [yt-dlp](https://github.com/yt-dlp/yt-dlp)

# Requirement

- [python](https://www.python.org/)

# Installation

```sh
npm install @distube/yt-dlp@latest
```

# Documentation

### new YtDlpPlugin([YtDlpPluginOptions])

Create a DisTube's `ExtractorPlugin` instance.

- `YtDlpPluginOptions.update` (`boolean`): Default is `true`. Update the yt-dlp binary when the plugin is initialized.

# Usage

```js
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 })],
});
```