Tranga-Website/Tranga-CLI/Program.cs

15 lines
474 B
C#
Raw Normal View History

2023-05-18 15:49:08 +02:00
// 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:");
2023-05-18 17:22:10 +02:00
Publication[] publications = mangaDexConnector.GetPublications("test");
Chapter[] chapters = mangaDexConnector.GetChapters(publications[1]);
mangaDexConnector.DownloadChapter(publications[1], chapters[0]);
2023-05-18 15:49:08 +02:00
}
}