fix #141 chapternames
This commit is contained in:
parent
72943330c3
commit
b619109ea1
@ -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));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user