VideoLibrary.Compat 3.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package VideoLibrary.Compat --version 3.2.0
NuGet\Install-Package VideoLibrary.Compat -Version 3.2.0
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.Compat" Version="3.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add VideoLibrary.Compat --version 3.2.0
#r "nuget: VideoLibrary.Compat, 3.2.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install VideoLibrary.Compat as a Cake Addin
#addin nuget:?package=VideoLibrary.Compat&version=3.2.0

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

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 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 899 12/28/2022
3.2.2 1,736 9/17/2022
3.2.1 566 8/30/2022
3.2.0 364 8/30/2022
3.1.9 1,975 2/7/2022
3.1.8 436 2/7/2022
3.1.7 437 2/7/2022
3.1.6 640 2/2/2022
3.1.5 593 2/2/2022
3.1.4 1,157 11/7/2021
3.1.4-pre 268 11/3/2021
3.1.3-pre 234 11/3/2021
3.1.2 851 4/21/2021
3.1.1 394 4/15/2021
3.1.0 1,273 2/24/2021
3.0.9 713 1/3/2021
3.0.8 875 11/3/2020
3.0.7 590 10/28/2020
3.0.6 1,065 7/29/2020
3.0.5 638 7/22/2020
3.0.4 1,149 7/10/2020
3.0.3 481 7/10/2020
3.0.2 693 5/30/2020
3.0.1 891 4/10/2020
3.0.0 1,254 12/21/2019
2.0.3 1,445 11/17/2018
2.0.2 943 10/13/2018
2.0.1 930 9/27/2018
2.0.0 5,708 5/27/2018
2.0.0-beta 899 5/21/2018
1.4.0 1,085 5/20/2018
1.3.7 1,087 5/6/2018
1.3.6 1,280 4/13/2018
1.3.6-beta 873 4/9/2018
1.3.5 1,412 8/19/2017
1.3.4 1,808 6/23/2016
1.3.3 1,337 12/19/2015
1.3.2 1,701 12/12/2015
1.3.1 1,270 9/22/2015
1.3.0 1,222 9/20/2015
1.2.0 1,191 9/20/2015
1.1.0 1,192 9/19/2015
1.0.0 1,577 8/28/2015
0.8.0 1,598 8/27/2015
0.4.0 1,548 8/25/2015
0.3.2 1,537 8/25/2015
0.3.1 1,580 8/25/2015
0.3.0 1,519 8/24/2015
0.2.2 1,509 8/21/2015
0.2.1 1,507 8/21/2015
0.2.0 1,149 8/21/2015
0.1.1 1,644 8/18/2015
0.1.0 1,571 8/18/2015

- Bump to .NET Standart 2.1
- n signature fix regex
- JS Engine Changed.