YoutubeExplode is a .NET library that queries YouTube video, playlist, and channel metadata and resolves streams and captions. It scrapes page data and internal endpoints.
Overview
YoutubeExplode provides a programmatic interface to YouTube without relying on the official public API alone. A single YoutubeClient entry point exposes operations on videos, playlists, channels, and search.
For videos you can fetch metadata, list stream manifests with separate audio-only and video-only tracks, download streams to files, and retrieve closed caption manifests and SRT exports. Playlist and channel APIs return metadata and uploaded video lists, with batch-oriented methods when you want tighter control over requests.
Search APIs return mixed video, playlist, and channel hits or filtered lists by type. Optional cookie-based authentication unlocks private videos and playlists when you supply credentials from a logged-in browser session.
The library is distributed on NuGet for .NET Standard 2.0 and modern .NET targets. A companion YoutubeExplode.Converter package can mux and convert downloads with FFmpeg. The design scrapes raw page data and reverse-engineered internal endpoints behind a stable abstraction layer.
Key features
- Video playlist channel metadata
- Stream manifest resolution
- Audio and video-only downloads
- Closed caption track export
- Playlist and upload enumeration
- Search with typed result filters
- Cookie auth for private content
- NuGet package for .NET apps
Use cases
- YouTube metadata in .NET apps
- Downloading streams programmatically
- Building playlist or channel tools
- Caption extraction pipelines
- Authenticated access to private media