帮酷LOGO

A lightweight .NET library to download YouTube videos.

用于下载YouTube视频的轻量级. NET 库

将光标移到/点击文章中的句子上,可以查看译文。 显示原文      显示译文      双语对照

  • 显示内容
文章标签:Youtube  视频  net-library  videos  Light  
A performant, concise library to download YouTube videos.



  • Source Code:libvideo
  • WebSite:http://www.github.com/i3arnon/libvideo
  • libvideo Documents
  • libvideo Download
  • libvideo

    icon

    NuGetNuGetlicenseJoin the chat at https://gitter.im/jamesqo/libvideo

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

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

    usingVideoLibrary;voidSaveVideoToDisk(stringlink)
    {
     varyouTube = YouTube.Default; //starting point for YouTube actionsvarvideo = 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 :

    ImportsVideoLibrarySubSaveVideoToDisk(ByVallinkAsString)Dimvideo=YouTube.Default.GetVideo(link)File.WriteAllBytes("C:"&video.FullName,video.GetBytes())EndSub

    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.

    FAQ

    what's the difference between libvideo and YoutubeExtractor?

    libvideo :

    • can be used in Portable Class Libraries
    • supports WinRT projects (e.g. Windows 10 )
    • is roughly 400 % faster ( yes, it's true )

    YoutubeExtractor :

    • supports Silverlight
    • supports Flash audio extraction

    can i switch from YoutubeExtractor without having to refactor my code?

    Absolutely! Check out our libvideo.compat package.it has the same API as YoutubeExtractor, but uses libvideo as its backend so your application will get a major speed boost.

    do you accept donations?

    Thanks! i'm flattered, but it's not really necessary.if anything, you should donate to the creator of YoutubeExtractor, because this project wouldn't have happened if it weren't for him.



    文章标签:Light  视频  videos  Youtube  net-library  

    Copyright © 2011 HelpLib All rights reserved.    知识分享协议 京ICP备05059198号-3  |  如果智培  |  酷兔英语