Compare commits
2 Commits
054c88712e
...
06cdbbd283
Author | SHA1 | Date | |
---|---|---|---|
06cdbbd283 | |||
e0a7d1a187 |
@ -169,7 +169,8 @@ public class Mangaworld: MangaConnector
|
|||||||
{
|
{
|
||||||
foreach (HtmlNode chNode in chaptersWrapper.SelectNodes("div").Where(node => node.HasClass("chapter")))
|
foreach (HtmlNode chNode in chaptersWrapper.SelectNodes("div").Where(node => node.HasClass("chapter")))
|
||||||
{
|
{
|
||||||
string number = chNode.SelectSingleNode("a").SelectSingleNode("span").InnerText.Split(" ")[^1];
|
string number = Regex.Match(chNode.SelectSingleNode("a").SelectSingleNode("span").InnerText,
|
||||||
|
@"[Cc]apitolo ([0-9]+).*").Groups[1].Value;
|
||||||
string url = chNode.SelectSingleNode("a").GetAttributeValue("href", "");
|
string url = chNode.SelectSingleNode("a").GetAttributeValue("href", "");
|
||||||
ret.Add(new Chapter(manga, null, null, number, url));
|
ret.Add(new Chapter(manga, null, null, number, url));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user