VideoLibrary 3.2.0
See the version list below for details.
dotnet add package VideoLibrary --version 3.2.0
NuGet\Install-Package VideoLibrary -Version 3.2.0
<PackageReference Include="VideoLibrary" Version="3.2.0" />
paket add VideoLibrary --version 3.2.0
#r "nuget: VideoLibrary, 3.2.0"
// Install VideoLibrary as a Cake Addin
#addin nuget:?package=VideoLibrary&version=3.2.0
// Install VideoLibrary as a Cake Tool
#tool nuget:?package=VideoLibrary&version=3.2.0
libvideo
libvideo (aka VideoLibrary) is a modern .NET library for downloading YouTube videos. It is portable to most platforms and is very lightweight.
Documentation
Installation
You can grab a copy of the library on NuGet by running:
Install-Package VideoLibrary
Alternatively, you can try building the repo if you like your assemblies extra-fresh.
Supported Platforms
- .NET Core Web/Console/ClassLibrary
- .NET Framework 4.5+
- Windows 10 Universal apps
- Portable Class Libraries
- Xamarin.iOS
- Xamarin.Android
- Mono (Mac/Linux)
- Windows 8.1 and 8.0
- Windows Phone 8.1
Getting Started
Here's a small sample to help you get familiar with libvideo:
using VideoLibrary;
void SaveVideoToDisk(string link)
{
var youTube = YouTube.Default; // starting point for YouTube actions
var video = youTube.GetVideo(link); // gets a Video object with info about the video
File.WriteAllBytes(@"C:\" + video.FullName, video.GetBytes());
}
Or, if you use Visual Basic:
Imports VideoLibrary
Sub SaveVideoToDisk(ByVal link As String)
Dim video = YouTube.Default.GetVideo(link)
File.WriteAllBytes("C:\" & video.FullName, video.GetBytes())
End Sub
If you'd like to check out some more of our features, take a look at our docs. You can also refer to our example application (named Valks, yes, I know, it's a silly name) if you're looking for a more comprehensive sample.
License
libvideo is licensed under the BSD 2-clause license.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- JavaScriptEngineSwitcher.Core (>= 3.19.0)
- JavaScriptEngineSwitcher.Jurassic (>= 3.19.0)
- Newtonsoft.Json (>= 13.0.1)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on VideoLibrary:
Package | Downloads |
---|---|
VideoLibrary.Compat
libvideo (aka VideoLibrary) is a modern .NET library for downloading YouTube videos. It is portable to most platforms and is very lightweight. Find us on GitHub at https://github.com/omansak/libvideo |
|
DotImaging.IO.Web
Image or video download/streaming (direct video link or Youtube links). |
|
Braco.Services.Media
Media service implementations used for downloading and splitting media. |
|
WibuTube
Downloads video from YouTube Converts it to mp3 Adds some other information to the mp3 file |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on VideoLibrary:
Repository | Stars |
---|---|
dajuric/dot-imaging
Minimalistic .NET imaging portable platform
|
|
suicvne/DiscordSharp
A .Net API for Discord written in C#
|
Version | Downloads | Last updated | |
---|---|---|---|
3.2.3 | 27,773 | 12/28/2022 | |
3.2.2 | 10,365 | 9/17/2022 | |
3.2.1 | 2,961 | 8/30/2022 | |
3.2.0 | 1,520 | 8/30/2022 | |
3.1.9 | 97,840 | 2/7/2022 | |
3.1.8 | 1,639 | 2/7/2022 | |
3.1.7 | 1,525 | 2/7/2022 | |
3.1.6 | 3,349 | 2/2/2022 | |
3.1.5 | 1,795 | 2/2/2022 | |
3.1.4 | 8,342 | 11/7/2021 | |
3.1.4-pre | 1,145 | 11/3/2021 | |
3.1.3-pre | 1,072 | 11/3/2021 | |
3.1.2 | 17,950 | 4/21/2021 | |
3.1.1 | 1,752 | 4/15/2021 | |
3.1.0 | 3,726 | 2/24/2021 | |
3.0.9 | 3,973 | 1/3/2021 | |
3.0.8 | 6,356 | 11/3/2020 | |
3.0.7 | 8,364 | 10/28/2020 | |
3.0.6 | 5,303 | 7/29/2020 | |
3.0.5 | 1,977 | 7/22/2020 | |
3.0.4 | 2,625 | 7/10/2020 | |
3.0.3 | 1,578 | 7/10/2020 | |
3.0.2 | 2,965 | 5/30/2020 | |
3.0.1 | 3,424 | 4/10/2020 | |
3.0.0 | 7,033 | 12/21/2019 | |
2.0.3 | 18,629 | 11/17/2018 | |
2.0.2 | 3,094 | 10/13/2018 | |
2.0.1 | 2,449 | 9/27/2018 | |
2.0.0 | 9,153 | 5/27/2018 | |
2.0.0-beta | 1,859 | 5/21/2018 | |
1.4.0 | 2,476 | 5/20/2018 | |
1.3.7 | 2,425 | 5/6/2018 | |
1.3.6 | 3,241 | 4/13/2018 | |
1.3.6-beta | 2,016 | 4/9/2018 | |
1.3.6-alpha | 2,330 | 1/7/2018 | |
1.3.5 | 9,821 | 8/19/2017 | |
1.3.4 | 56,186 | 6/23/2016 | |
1.3.3 | 18,485 | 12/19/2015 | |
1.3.2 | 2,618 | 12/12/2015 | |
1.3.1 | 3,243 | 9/22/2015 | |
1.3.0 | 2,477 | 9/20/2015 | |
1.2.0 | 2,326 | 9/20/2015 | |
1.1.0 | 2,439 | 9/19/2015 | |
1.0.0 | 2,801 | 8/28/2015 | |
0.9.0 | 2,548 | 8/28/2015 | |
0.8.0 | 2,846 | 8/27/2015 | |
0.7.0 | 2,549 | 8/25/2015 | |
0.6.2 | 2,447 | 8/25/2015 | |
0.6.1 | 2,688 | 8/25/2015 | |
0.6.0 | 2,657 | 8/24/2015 | |
0.5.0 | 2,454 | 8/24/2015 | |
0.4.2 | 2,792 | 8/21/2015 | |
0.4.1 | 2,672 | 8/21/2015 | |
0.4.0 | 2,495 | 8/20/2015 | |
0.3.5 | 2,402 | 8/17/2015 | |
0.3.4 | 2,019 | 8/17/2015 | |
0.3.3 | 2,460 | 8/17/2015 | |
0.3.2 | 2,405 | 8/17/2015 | |
0.3.1 | 3,669 | 8/1/2015 |
- Bump to .NET Standart 2.1
- n signature fix regex
- JS Engine Changed.