VideoLibrary.Compat
3.1.9
Install-Package VideoLibrary.Compat -Version 3.1.9
dotnet add package VideoLibrary.Compat --version 3.1.9
<PackageReference Include="VideoLibrary.Compat" Version="3.1.9" />
paket add VideoLibrary.Compat --version 3.1.9
#r "nuget: VideoLibrary.Compat, 3.1.9"
// Install VideoLibrary.Compat as a Cake Addin
#addin nuget:?package=VideoLibrary.Compat&version=3.1.9
// Install VideoLibrary.Compat as a Cake Tool
#tool nuget:?package=VideoLibrary.Compat&version=3.1.9
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 |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1 |
.NET Framework | net46 net461 net462 net463 net47 net471 net472 net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen30 tizen40 tizen60 |
Universal Windows Platform | uap uap10.0 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETStandard 1.3
- NETStandard.Library (>= 1.6.1)
- VideoLibrary (>= 3.1.9)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
3.1.9 | 1,213 | 2/7/2022 | |
3.1.8 | 92 | 2/7/2022 | |
3.1.7 | 92 | 2/7/2022 | |
3.1.6 | 224 | 2/2/2022 | |
3.1.5 | 190 | 2/2/2022 | |
3.1.4 | 893 | 11/7/2021 | |
3.1.4-pre | 173 | 11/3/2021 | |
3.1.3-pre | 152 | 11/3/2021 | |
3.1.2 | 674 | 4/21/2021 | |
3.1.1 | 223 | 4/15/2021 | |
3.1.0 | 996 | 2/24/2021 | |
3.0.9 | 519 | 1/3/2021 | |
3.0.8 | 665 | 11/3/2020 | |
3.0.7 | 390 | 10/28/2020 | |
3.0.6 | 850 | 7/29/2020 | |
3.0.5 | 450 | 7/22/2020 | |
3.0.4 | 947 | 7/10/2020 | |
3.0.3 | 322 | 7/10/2020 | |
3.0.2 | 519 | 5/30/2020 | |
3.0.1 | 692 | 4/10/2020 | |
3.0.0 | 1,047 | 12/21/2019 | |
2.0.3 | 1,223 | 11/17/2018 | |
2.0.2 | 748 | 10/13/2018 | |
2.0.1 | 732 | 9/27/2018 | |
2.0.0 | 5,432 | 5/27/2018 | |
2.0.0-beta | 757 | 5/21/2018 | |
1.4.0 | 837 | 5/20/2018 | |
1.3.7 | 858 | 5/6/2018 | |
1.3.6 | 1,033 | 4/13/2018 | |
1.3.6-beta | 738 | 4/9/2018 | |
1.3.5 | 1,170 | 8/19/2017 | |
1.3.4 | 1,551 | 6/23/2016 | |
1.3.3 | 1,083 | 12/19/2015 | |
1.3.2 | 1,380 | 12/12/2015 | |
1.3.1 | 1,018 | 9/22/2015 | |
1.3.0 | 970 | 9/20/2015 | |
1.2.0 | 941 | 9/20/2015 | |
1.1.0 | 955 | 9/19/2015 | |
1.0.0 | 1,272 | 8/28/2015 | |
0.8.0 | 1,277 | 8/27/2015 | |
0.4.0 | 1,242 | 8/25/2015 | |
0.3.2 | 1,231 | 8/25/2015 | |
0.3.1 | 1,252 | 8/25/2015 | |
0.3.0 | 1,226 | 8/24/2015 | |
0.2.2 | 1,212 | 8/21/2015 | |
0.2.1 | 1,205 | 8/21/2015 | |
0.2.0 | 908 | 8/21/2015 | |
0.1.1 | 1,329 | 8/18/2015 | |
0.1.0 | 1,304 | 8/18/2015 |
n signature fix regex