Correct "1" ChapterNumbers for Mangasee
This commit is contained in:
parent
9691eb0d08
commit
2a824bbb8d
@ -196,7 +196,7 @@ public class Mangasee : MangaConnector
|
|||||||
{
|
{
|
||||||
string url = chapter.Descendants("link").First().Value;
|
string url = chapter.Descendants("link").First().Value;
|
||||||
Match m = chVolRex.Match(url);
|
Match m = chVolRex.Match(url);
|
||||||
string? volumeNumber = m.Groups[2].Success ? m.Groups[2].Value : null;
|
string? volumeNumber = m.Groups[2].Success ? m.Groups[2].Value : "1";
|
||||||
string chapterNumber = m.Groups[1].Value;
|
string chapterNumber = m.Groups[1].Value;
|
||||||
|
|
||||||
url = string.Concat(Regex.Match(url, @"(.*)-page-[0-9]+(\.html)").Groups.Values.Select(v => v.Value));
|
url = string.Concat(Regex.Match(url, @"(.*)-page-[0-9]+(\.html)").Groups.Values.Select(v => v.Value));
|
||||||
|
Loading…
Reference in New Issue
Block a user