2022-05-10 17:38:53 +00:00
# Tesses.YouTubeDownloader (2022)
2022-05-10 17:22:43 +00:00
2022-05-11 23:34:10 +00:00
[Website for app ](https://tesses.net/apps/tytd/2022/ )
2022-05-11 23:14:16 +00:00
Tesses.YouTubeDownloader.ExampleExtension uses [Return YouTube Dislikes ](https://returnyoutubedislike.com/ )
[How To Find Videos (When Downloaded) ](docs/HowToFindVideos.md )
< br >
2022-05-10 17:22:43 +00:00
[Server Endpoints ](docs/Server.md )
< br >
[Classes and Enums ](docs/JsonAndEnum.md )
2022-05-10 17:57:47 +00:00
< br >
Please put your issues on my [GitHub ](https://github.com/tesses50/tytd-2022 )
2022-05-17 22:24:53 +00:00
< br > I disagree with [this ](https://github.com/Tyrrrz/YoutubeExplode#terms-of-use ) but I use this library anyway
2022-05-10 17:22:43 +00:00
# What this is known to work on
- Modern Linux/Windows/Mac (or any thing that can run .NET Standard 2.0+)
- Works on my Wii with [wii-linux-ngx ](https://www.github.com/neagix/wii-linux-ngx ) and [this guide ](https://tesses.net/apps/tytd/2022/wii.php ) (if it 404s its not complete yet)
# To Use It as a server
using Tesses.YouTubeDownloader.Server;
using Tesses.YouTubeDownloader;
...
TYTDCurrentDirectory currentDirectory=new TYTDCurrentDirectory(new HttpClient());
TYTDServer server=new TYTDServer(currentDirectory);
server.RootServer.Server=new StaticServer("WebSite");
HttpServerListener listener=new HttpServerListener(new System.Net.IPEndPoint(System.Net.IPAddress.Any,3252),server.InnerServer);
currentDirectory.StartLoop();
TYTDStorage.FFmpeg ="/usr/bin/ffmpeg";
Console.WriteLine("Almost Ready to Listen");
await listener.ListenAsync(CancellationToken.None);
Then:
dotnet add package Tesses.YouTubeDownloader.Server
2022-05-17 22:24:53 +00:00
# Happy downloading