VideoLibrary 3.2.2

.NET Standard 2.0
dotnet add package VideoLibrary --version 3.2.2
NuGet\Install-Package VideoLibrary -Version 3.2.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="VideoLibrary" Version="3.2.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add VideoLibrary --version 3.2.2
#r "nuget: VideoLibrary, 3.2.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install VideoLibrary as a Cake Addin
#addin nuget:?package=VideoLibrary&version=3.2.2

// Install VideoLibrary as a Cake Tool
#tool nuget:?package=VideoLibrary&version=3.2.2

libvideo

icon

NuGet NuGet license Join the chat at https://discord.gg/SERVhPp

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 | 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0 .NET Framework | 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 Mono | 5.4, 6.4 Xamarin.iOS | 10.14, 12.16 Xamarin.Mac | 3.8, 5.16 Xamarin.Android | 8.0, 10.0 Universal Windows Platform | 10.0.16299, TBD Unity | 2018,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 net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

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.2 3,188 9/17/2022
3.2.1 1,657 8/30/2022
3.2.0 358 8/30/2022
3.1.9 71,524 2/7/2022
3.1.8 387 2/7/2022
3.1.7 337 2/7/2022
3.1.6 1,382 2/2/2022
3.1.5 599 2/2/2022
3.1.4 6,603 11/7/2021
3.1.4-pre 261 11/3/2021
3.1.3-pre 216 11/3/2021
3.1.2 11,372 4/21/2021
3.1.1 764 4/15/2021
3.1.0 2,530 2/24/2021
3.0.9 2,787 1/3/2021
3.0.8 5,072 11/3/2020
3.0.7 7,167 10/28/2020
3.0.6 3,748 7/29/2020
3.0.5 935 7/22/2020
3.0.4 1,533 7/10/2020
3.0.3 541 7/10/2020
3.0.2 1,853 5/30/2020
3.0.1 2,336 4/10/2020
3.0.0 5,934 12/21/2019
2.0.3 16,786 11/17/2018
2.0.2 2,007 10/13/2018
2.0.1 1,390 9/27/2018
2.0.0 7,977 5/27/2018
2.0.0-beta 868 5/21/2018
1.4.0 1,383 5/20/2018
1.3.7 1,344 5/6/2018
1.3.6 2,197 4/13/2018
1.3.6-beta 1,049 4/9/2018
1.3.6-alpha 1,346 1/7/2018
1.3.5 8,287 8/19/2017
1.3.4 52,172 6/23/2016
1.3.3 15,293 12/19/2015
1.3.2 1,509 12/12/2015
1.3.1 1,996 9/22/2015
1.3.0 1,342 9/20/2015
1.2.0 1,253 9/20/2015
1.1.0 1,322 9/19/2015
1.0.0 1,695 8/28/2015
0.9.0 1,440 8/28/2015
0.8.0 1,671 8/27/2015
0.7.0 1,463 8/25/2015
0.6.2 1,310 8/25/2015
0.6.1 1,524 8/25/2015
0.6.0 1,509 8/24/2015
0.5.0 1,335 8/24/2015
0.4.2 1,622 8/21/2015
0.4.1 1,508 8/21/2015
0.4.0 1,332 8/20/2015
0.3.5 1,292 8/17/2015
0.3.4 1,028 8/17/2015
0.3.3 1,358 8/17/2015
0.3.2 1,322 8/17/2015
0.3.1 2,436 8/1/2015

used .net standart 2.0