A .NET library, that allows to download videos from YouTube and/or extract their audio track (currently only for flash videos).
A .NET library, that allows to download videos from YouTube and/or extract their audio track (currently only for flash videos).
YoutubeExtractor is a library for .NET, written in C#, that allows to download videos from YouTube and/or extract their audio track (audio extraction currently only for flash videos).
Note that Windows Phone 8, WinRT, Xamarin.Android and Xamarin.iOS only support the extraction of the download URLs
Install-Package YoutubeExtractorYoutubeExtractor has two licenses;
The YouTube URL-extraction code is licensed under the MIT License
The audio extraction code that is originally from FlvExtract is licenced under the GNU General Public License version 2 (GPLv2)
Files that are GPLv2 licensed are explicitly marked with the GPLv2 header at the top of the file. All other files are implicitly MIT licensed.
Get the download URLs
// Our test youtube link
string link = "insert youtube link";
/*
* Get the available video formats.
* We'll work with them in the video and audio download examples.
*/
IEnumerable videoInfos = DownloadUrlResolver.GetDownloadUrls(link);
Download the video
…Download the audio track
…No open issues yet, or sync has not completed.