A simple YouTube scraper.
⚠️ YouTube stream data is decoded by evaluating arbitrary JavaScript code. By default, youtube-ext useseval
ornode:vm
. Please install isolated-vm or @ohmyvm/vm to prevent security issues.
- Faster and Better! (comparison)
- Supports YouTube stream generation.
- Supports YouTube search.
- Supports YouTube video information.
- Supports YouTube playlist information.
- Supports YouTube channel information.
- No key required!
npm install youtube-ext
const ytext = require("youtube-ext");
// or
import ytext from "youtube-ext";
// or
import { ... } from "youtube-ext";
Examples can be found here!
- youtube-dl (Faster and better search and info scraping)
- ytdl-core (YouTube Downloader)
- discord-player (Discord music framework)
- discord-ytdl-core (Ytdl-core with ffmpeg args support)