Mayerch1.YoutubeSearch 2.2.0

dotnet add package Mayerch1.YoutubeSearch --version 2.2.0                
NuGet\Install-Package Mayerch1.YoutubeSearch -Version 2.2.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Mayerch1.YoutubeSearch" Version="2.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Mayerch1.YoutubeSearch --version 2.2.0                
#r "nuget: Mayerch1.YoutubeSearch, 2.2.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Mayerch1.YoutubeSearch as a Cake Addin
#addin nuget:?package=Mayerch1.YoutubeSearch&version=2.2.0

// Install Mayerch1.YoutubeSearch as a Cake Tool
#tool nuget:?package=Mayerch1.YoutubeSearch&version=2.2.0                

YoutubeSearch

YoutubeSearch is a library for .NET, written in C#, to show search query results from YouTube.

Target platforms

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+ <br/>

NuGet

Install-Package YoutubeSearch.dll

License

YoutubeSearch is licensed under the GPL license.

Example code

// Keyword
string querystring = "test";

// Number of result pages
int querypages = 1;

// Offset value for querypages
int querypagesOffset = 2;

var items = new VideoSearch();

//change the encoding, using Encoding.Default if not set
items.encoding = Encoding.UTF8; 

foreach (var item in items.SearchQuery(querystring, querypages))
{
    Console.WriteLine(item.Title);
}

//For asynchronous execution use:
var result = await items.SearchQueryAsync(querystring, querypages);

//This will query from page 3 to 4
var offsetResult = items.SearchQuery(querystring, querypages, querypagesOffset);

Supported Items

  • Title
  • Author
  • Description
  • Duration
  • Thumbnail
  • Video Url
  • View Count
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.2.0 1,526 6/8/2021
2.1.2 334 6/8/2021
2.1.1 368 5/31/2021
2.1.0 355 5/31/2021
2.0.0 757 12/13/2019 2.0.0 is deprecated because it has critical bugs.

Allow supression of recoverable parsing exceptions. Surpressed exception will lead to missing search items