From b619109ea153398061ca8292ed1ffd2e66e5b81c Mon Sep 17 00:00:00 2001 From: Glax Date: Sat, 2 Nov 2024 17:48:18 +0100 Subject: [PATCH] fix #141 chapternames --- Tranga/MangaConnectors/AsuraToon.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tranga/MangaConnectors/AsuraToon.cs b/Tranga/MangaConnectors/AsuraToon.cs index ceb2055..bf3bdaa 100644 --- a/Tranga/MangaConnectors/AsuraToon.cs +++ b/Tranga/MangaConnectors/AsuraToon.cs @@ -153,7 +153,7 @@ public class AsuraToon : MangaConnector Match match = infoRex.Match(chapterInfo.InnerText); string chapterNumber = match.Groups[1].Value; - string? chapterName = match.Groups[2].Success && match.Groups[2].Length > 0 ? match.Groups[2].Value : null; + string? chapterName = match.Groups[2].Success && match.Groups[2].Length > 1 ? match.Groups[2].Value : null; string url = $"https://asuracomic.net/series/{chapterUrl}"; ret.Add(new Chapter(manga, chapterName, null, chapterNumber, url)); }