mirror of
https://github.com/C9Glax/tranga.git
synced 2025-02-23 07:40:13 +01:00
Correct ChapterNumbers for Mangasee
This commit is contained in:
parent
0aa92a7913
commit
4888e18fd2
@ -197,7 +197,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 : "0";
|
string volumeNumber = m.Groups[2].Success ? m.Groups[2].Value : "0";
|
||||||
string chapterNumber = m.Groups[2].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));
|
||||||
chapters.Add(new Chapter(manga, "", volumeNumber, chapterNumber, url));
|
chapters.Add(new Chapter(manga, "", volumeNumber, chapterNumber, url));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user