See the version list below for details.
YouTubeStreamsExtractor is a library for extracting url for downloading audio and video streams from YouTube videos. It's based on yt-dlp
|YouTubeStreamsExtractor||.NET 6 Library|
Get streams with playable urls
Find audio with highest bitrate
var streams = await youTubeStreams.GetAllStreamsAsync(videoUrl, true); var streamSelector = new StreamSelector(); var audio = streamSelector.SelectBestAudio(streams); var downloadUrl = audio.PlayableUrl.Url;
If you only need a URL for one stream, use this method. It doesn't need to prepare the url for each stream, which makes it faster.
var streams = await youTubeStreams.GetAllStreamsAsync(url, false); var audio = streamSelector.SelectBestAudio(streams2); await audio.PlayableUrl.PrepareAsync(audio.RawUrl, youTubeStreams.Decryptor); var downloadUrl = audio.PlayableUrl.Url;
NiL.JS engines to execute js code.
This is the simplest implementation but sometimes it might not be able to execute js code to descramble 'n' parameter, this will result in throttled download speed.
Uses WebView to execute js code.
|Product||Versions Compatible and additional computed target framework versions.|
|.NET||net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed.|
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.