Unfortunately I have to inform you that I will no longer publicly develop the library.
Unfortunately, there is a valid reason for this. Meanwhile, there is a game of cat and mouse between Google and the reversers of YouTube source code. Whenever an update is implemented by Google and a reverser enters this into its library, Google changes something in the source code so that the external code has to be updated again.
That doesn't get any further.
But no fear!
If you would like to have the last update of the library, please write me an email to [email protected]. I will send it back to you by return of post.
Best regards.
Torsten
An complete private YouTube Api for .NET (C#, VB.NET).
YouTubeSearch is a library for .NET, written in C#, to search and extract the download link from YouTube videos and download them.
Target | Branch | Version | Download link |
---|---|---|---|
Nuget | master | v2.2.6 |
This library is using .NET Standard 2.0 and is therefore compatible with the following platforms (see Microsoft Docs).
- .NET Framework 4.6.1+
- .NET Core 2.0+
- Mono 5.4+
- Xamarin.iOS 10.14+
- Xamarin.Mac 3.8+
- Xamarin.Android 8.0+
- UWP 10.0.16299+
- Unity 2018.1+
>> Search <<
string querystring = "Usher";
int querypages = 1;
VideoSearch videos = new VideoSearch();
var items = await videos.GetVideos(querystring, querypages);
foreach (var item in items)
{
Console.WriteLine("Title: " + item.getTitle());
Console.WriteLine("Author: " + item.getAuthor());
Console.WriteLine("Description: " + item.getDescription());
Console.WriteLine("Duration: " + item.getDuration());
Console.WriteLine("Url: " + item.getUrl());
Console.WriteLine("Thumbnail: " + item.getThumbnail());
Console.WriteLine("ViewCount: " + item.getViewCount());
Console.WriteLine("");
}
>> Download <<
string link = "https://www.youtube.com/watch?v=daKz_b7LrsE";
IEnumerable<VideoInfo> videoInfos = DownloadUrlResolver.GetDownloadUrls(link, false);
DownloadVideo(videoInfos);
- Title
- Author
- Description
- Duration
- Thumbnail
- Url
- View count
Torsten Klinger - (c) 2020 | Nuremberg, Germany.