百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
L

libvideo

> 编程语言
开源

一款轻量级的 .NET 库,用于下载 YouTube 视频。

580 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

一款轻量级的 .NET 库,用于下载 YouTube 视频。

libvideo

libvideo (aka VideoLibrary) is a modern .NET library for downloading YouTube videos. It is portable to most platforms and is very lightweight.

Documentation

  • Documentation
  • Example Application
  • Fast Downloader with Chunks

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

Platform / Application Minimum Supported Version Notes
.NET / .NET Core .NET Core 2.0+ / .NET 5+ Fully supports .NET Standard 2.0 libraries.
.NET Framework 4.6.1+ Supports .NET Standard 2.0 (does NOT support 2.1).
Mono 5.4+ Official support for .NET Standard 2.0.
Unity 2018.1+ Requires scripting runtime set to .NET 4.x Equivalent.
Xamarin.iOS 10.14+ Supports .NET Standard 2.0 libraries.
Xamarin.Android 8.0+ Supports .NET Standard 2.0 libraries.
Xamarin.Mac 3.8+ Supports .NET Standard 2.0 libraries.
Universal Windows Platform (UWP) 10.0.16299+ Supported starting from this Windows 10 version.

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.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C#

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言