Y2Sharp 4.10.0

dotnet add package Y2Sharp --version 4.10.0
NuGet\Install-Package Y2Sharp -Version 4.10.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="Y2Sharp" Version="4.10.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Y2Sharp --version 4.10.0
#r "nuget: Y2Sharp, 4.10.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 Y2Sharp as a Cake Addin
#addin nuget:?package=Y2Sharp&version=4.10.0

// Install Y2Sharp as a Cake Tool
#tool nuget:?package=Y2Sharp&version=4.10.0

Y2Sharp

logo

Fastest Youtube downloader api for C# using Y2Mate.com

Created because i found all other youtube downloader apis were too slow for my needs so i decided to create my own using the y2mate.com website.

Sample code

await Y2Sharp.Youtube.Video.GetInfo("videoid !!change this to your video id!!");

var video = new Y2Sharp.Youtube.Video();

await video.DownloadAsync("Music.mp3");

other info:

video.Title

video.ThumbnailURL

video.Url

There is also a WPF demo of this project under the folder Y2SharpWPF

install the latest nuget from https://www.nuget.org/packages/Y2Sharp/ and you can use the command above.

explanations to all the parameters

DownloadAsync(path, type, quality);
  1. videoid is the part of youtube link after watch?v=
  2. path. where you want your downloaded file to be stored (by default force creates file so be carefull)
  3. type. either mp3 or mp4. determines if downloaded content is audio or video.
  4. quality. for music the quality should allways be 128 but videos can be downloaded at any of youtubes default resulutions.

If you are having problems please open a new issue or message me in discord Arttu#6180

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.
  • .NETStandard 2.0

    • No dependencies.

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
4.10.0 229 5/9/2023
4.9.0 337 1/14/2023
4.8.0 492 5/17/2022
4.7.0 442 1/10/2022
4.6.0 228 1/9/2022
4.5.0 248 1/8/2022
4.4.0 227 1/8/2022
4.3.0 250 1/7/2022
4.2.0 254 1/7/2022
4.1.0 242 12/28/2021
4.0.0 228 12/28/2021
2.1.0 286 12/10/2021
2.0.0 274 12/7/2021
1.0.4 317 11/13/2021