Y2Sharp 4.0.0
See the version list below for details.
dotnet add package Y2Sharp --version 4.0.0
NuGet\Install-Package Y2Sharp -Version 4.0.0
<PackageReference Include="Y2Sharp" Version="4.0.0" />
paket add Y2Sharp --version 4.0.0
#r "nuget: Y2Sharp, 4.0.0"
// Install Y2Sharp as a Cake Addin
#addin nuget:?package=Y2Sharp&version=4.0.0
// Install Y2Sharp as a Cake Tool
#tool nuget:?package=Y2Sharp&version=4.0.0
Y2Sharp
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.DownloadAsync("gQjAEbWZEgU", "music.mp3");
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(videoid, path, type, quality);
- videoid is the part of youtube link after watch?v=
- path. where you want your downloaded file to be stored (by default force creates file so be carefull)
- type. either mp3 or mp4. determines if downloaded content is audio or video.
- 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 | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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. |
-
net6.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 | 244 | 5/9/2023 |
4.9.0 | 341 | 1/14/2023 |
4.8.0 | 496 | 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 |