2
0

fix #141 chapternames

This commit is contained in:
Glax 2024-11-02 17:48:18 +01:00
parent 72943330c3
commit b619109ea1

View File

@ -153,7 +153,7 @@ public class AsuraToon : MangaConnector
Match match = infoRex.Match(chapterInfo.InnerText); Match match = infoRex.Match(chapterInfo.InnerText);
string chapterNumber = match.Groups[1].Value; 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}"; string url = $"https://asuracomic.net/series/{chapterUrl}";
ret.Add(new Chapter(manga, chapterName, null, chapterNumber, url)); ret.Add(new Chapter(manga, chapterName, null, chapterNumber, url));
} }