# discord-player-googlevideo

> A discord-player extractor using YouTube SABR streaming with googlevideo and youtubei.js

[![Release](https://github.com/xxczaki/discord-bot/actions/workflows/release.yml/badge.svg)](https://github.com/xxczaki/discord-bot/actions/workflows/release.yml)

## Installation

```bash
pnpm add discord-player-googlevideo
```

> [!IMPORTANT]  
> Ensure your environment contains the necessary system libraries for [node-canvas](https://github.com/Automattic/node-canvas#compiling) to work.

## Usage

```typescript
import { Player } from 'discord-player';
import { YoutubeSabrExtractor } from 'discord-player-googlevideo';

const player = new Player(client);

await player.extractors.register(YoutubeSabrExtractor, {});
```

## Related

- [discord-player-youtubei](https://github.com/retrouser955/discord-player-youtubei)
- [googlevideo](https://github.com/LuanRT/GoogleVideo)
- [YouTube.js](https://github.com/LuanRT/YouTube.js)

## Legal

Please read the [Legal Disclaimer](https://github.com/xxczaki/discord-bot/blob/main/legal.md) before using this software.

## AI disclosure

This project contains code generated by Large Language Models (LLMs), under human supervision and proofreading.

### License

MIT