VideoLibrary.Compat
3.2.3
dotnet add package VideoLibrary.Compat --version 3.2.3
NuGet\Install-Package VideoLibrary.Compat -Version 3.2.3
<PackageReference Include="VideoLibrary.Compat" Version="3.2.3" />
paket add VideoLibrary.Compat --version 3.2.3
#r "nuget: VideoLibrary.Compat, 3.2.3"
// Install VideoLibrary.Compat as a Cake Addin
#addin nuget:?package=VideoLibrary.Compat&version=3.2.3
// Install VideoLibrary.Compat as a Cake Tool
#tool nuget:?package=VideoLibrary.Compat&version=3.2.3
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 ve .NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0
- .NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
- Mono | 4.6, 5.4, 6.4
- Xamarin.iOS | 10.0, 10.14, 12.16
- Xamarin.Mac | 3.0, 3.8, 5.16
- Xamarin.Android | 7.0, 8.0, 10.0
- Universal Windows Platform | 8.0, 8.1, 10.0, 10.0.16299, TBD
- Unity | 2018,
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 net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
.NET Core | netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard1.1 netstandard1.2 netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1 |
.NET Framework | net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen30 tizen40 tizen60 |
Universal Windows Platform | uap uap10.0 |
Windows Phone | wpa81 |
Windows Store | netcore netcore45 netcore451 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETStandard 1.1
- NETStandard.Library (>= 1.6.1)
- VideoLibrary (>= 3.2.3)
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.2.3 | 318 | 12/28/2022 | |
3.2.2 | 1,307 | 9/17/2022 | |
3.2.1 | 438 | 8/30/2022 | |
3.2.0 | 254 | 8/30/2022 | |
3.1.9 | 1,824 | 2/7/2022 | |
3.1.8 | 315 | 2/7/2022 | |
3.1.7 | 319 | 2/7/2022 | |
3.1.6 | 495 | 2/2/2022 | |
3.1.5 | 469 | 2/2/2022 | |
3.1.4 | 1,040 | 11/7/2021 | |
3.1.4-pre | 199 | 11/3/2021 | |
3.1.3-pre | 180 | 11/3/2021 | |
3.1.2 | 766 | 4/21/2021 | |
3.1.1 | 305 | 4/15/2021 | |
3.1.0 | 1,142 | 2/24/2021 | |
3.0.9 | 614 | 1/3/2021 | |
3.0.8 | 770 | 11/3/2020 | |
3.0.7 | 490 | 10/28/2020 | |
3.0.6 | 951 | 7/29/2020 | |
3.0.5 | 546 | 7/22/2020 | |
3.0.4 | 1,048 | 7/10/2020 | |
3.0.3 | 407 | 7/10/2020 | |
3.0.2 | 620 | 5/30/2020 | |
3.0.1 | 793 | 4/10/2020 | |
3.0.0 | 1,143 | 12/21/2019 | |
2.0.3 | 1,321 | 11/17/2018 | |
2.0.2 | 842 | 10/13/2018 | |
2.0.1 | 828 | 9/27/2018 | |
2.0.0 | 5,547 | 5/27/2018 | |
2.0.0-beta | 812 | 5/21/2018 | |
1.4.0 | 947 | 5/20/2018 | |
1.3.7 | 966 | 5/6/2018 | |
1.3.6 | 1,148 | 4/13/2018 | |
1.3.6-beta | 785 | 4/9/2018 | |
1.3.5 | 1,285 | 8/19/2017 | |
1.3.4 | 1,672 | 6/23/2016 | |
1.3.3 | 1,200 | 12/19/2015 | |
1.3.2 | 1,529 | 12/12/2015 | |
1.3.1 | 1,134 | 9/22/2015 | |
1.3.0 | 1,091 | 9/20/2015 | |
1.2.0 | 1,057 | 9/20/2015 | |
1.1.0 | 1,075 | 9/19/2015 | |
1.0.0 | 1,416 | 8/28/2015 | |
0.8.0 | 1,419 | 8/27/2015 | |
0.4.0 | 1,390 | 8/25/2015 | |
0.3.2 | 1,371 | 8/25/2015 | |
0.3.1 | 1,398 | 8/25/2015 | |
0.3.0 | 1,365 | 8/24/2015 | |
0.2.2 | 1,352 | 8/21/2015 | |
0.2.1 | 1,350 | 8/21/2015 | |
0.2.0 | 1,025 | 8/21/2015 | |
0.1.1 | 1,478 | 8/18/2015 | |
0.1.0 | 1,432 | 8/18/2015 |
Removed JS Engine