From 1bd914571cd7b5d4e4f1118c0b2f54b28f62c959 Mon Sep 17 00:00:00 2001 From: Glax Date: Mon, 11 Nov 2024 17:09:19 +0100 Subject: [PATCH] Asuratoon Server-V2 --- Tranga/MangaConnectors/AsuraToon.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tranga/MangaConnectors/AsuraToon.cs b/Tranga/MangaConnectors/AsuraToon.cs index bf3bdaa..c2f1c8b 100644 --- a/Tranga/MangaConnectors/AsuraToon.cs +++ b/Tranga/MangaConnectors/AsuraToon.cs @@ -8,7 +8,7 @@ namespace Tranga.MangaConnectors; public class AsuraToon : MangaConnector { - public AsuraToon(GlobalBase clone) : base(clone, "AsuraToon", ["en"]) + public AsuraToon(GlobalBase clone) : base(clone, "AsuraToon", ["en"], ["asuracomic.net"]) { this.downloadClient = new HttpDownloadClient(clone); } @@ -111,7 +111,7 @@ public class AsuraToon : MangaConnector HtmlNode? firstChapterNode = document.DocumentNode.SelectSingleNode("//a[contains(@href, 'chapter/1')]/../following-sibling::h3"); int? year = int.Parse(firstChapterNode?.InnerText.Split(' ')[^1] ?? "2000"); - Manga manga = new (sortName, authors, description, altTitles, tags, coverUrl, coverFileNameInCache, links, + Manga manga = new (this, sortName, authors, description, altTitles, tags, coverUrl, coverFileNameInCache, links, year, originalLanguage, publicationId, releaseStatus, websiteUrl); AddMangaToCache(manga); return manga;