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)
|
|
|
|
|
{
|
2023-05-18 16:40:11 +02:00
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|