• Stars
    star
    534
  • Rank 83,095 (Top 2 %)
  • Language
    C#
  • License
    BSD 2-Clause "Sim...
  • Created over 9 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A lightweight .NET library to download YouTube videos.

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 | 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.

More Repositories

1

ASP.NET-CORE-MVC-Sample-Registration-Login

C# Asp.Net Core MVC Sample Registration/Login/Email Activation Form with MsSQL Server/Entity Framework/Onion Architecture
C#
50
star
2

YoutubeSharpApi

Minimal .NET STANDART wrapper for the Youtube Data API v3 (Playlist, Trending)
C#
11
star
3

playhub

A sample Server/Client game writen with C#. This application uses a custom message protocol on TCPClient & TCPListener with asynchronous
C#
10
star
4

CSharp-Basic-Image-Processing

Basic Image Processing with C#. Features : Negative,Mirrors,Resize,Gray Scaling,Rotate,Histograms,RGB Channels
C#
7
star
5

C-Sample-Algorithms

A library of common data structures and algorithms written in C for Educations
C
5
star
6

OpenExchangeRates

OpenExchangeRates.org Api String
Java
5
star
7

UWP-Download-in-Chunks

Universal Windows Platform (UWP) Download File in Chunks
C#
5
star
8

Linux-Kernel-Modules

C Linux Kernel Sample Modules,Procs,Drivers For Educations
C
4
star
9

Sudoku-Solver

C# Sudoku Solver with 3-different Threads
C#
4
star
10

PlayFlowPlanner

A sample (for education) Android app for manage your flow plans
Java
4
star
11

Knight-Tour-Warnsdorff-Algorithm

C# Program To Solve Knight's Tour problem with Warnsdorff's Rule
C#
4
star
12

omansak

Hey :) !
3
star
13

play-uwp-styles

A collection of some styles for Universal Windows Platform writen with XAML (UWP)
C#
3
star
14

Spring-MVC-Sample-Registration-MsSQL

Java Spring MVC Sample Registration Form with MsSQL Server
Java
3
star
15

Tele-Neuro.API

Tele-Neuro
C#
2
star
16

ConfusionMatrixCalculator

Compute metrics on your classification like accuracy, recall, specificity
TypeScript
2
star
17

Tele-Neuro.APP

SCSS
2
star
18

PushToWNS

Send push notifications to WNS for Windows 8/10 applications UWP using .NET CORE
C#
2
star