Tranga-Website/Tranga-CLI/Program.cs
2023-05-18 17:22:10 +02:00

15 lines
474 B
C#

// See https://aka.ms/new-console-template for more information
using Tranga;
using Tranga.Connectors;
public class Program
{
public static void Main(string[] args)
{
MangaDex mangaDexConnector = new MangaDex("D:");
Publication[] publications = mangaDexConnector.GetPublications("test");
Chapter[] chapters = mangaDexConnector.GetChapters(publications[1]);
mangaDexConnector.DownloadChapter(publications[1], chapters[0]);
}
}