Mangaworld add decimal-chapters (686.5) to regex

#289
This commit is contained in:
Glax 2024-12-04 19:55:31 +01:00
parent 553f56ecaf
commit 85d7c07b13

View File

@ -150,7 +150,7 @@ public class Mangaworld: MangaConnector
"//div[contains(concat(' ',normalize-space(@class),' '),'chapters-wrapper')]");
Regex volumeRex = new(@"[Vv]olume ([0-9]+).*");
Regex chapterRex = new(@"[Cc]apitolo ([0-9]+).*");
Regex chapterRex = new(@"[Cc]apitolo ([0-9]+(?:\.[0-9]+)?).*");
Regex idRex = new(@".*\/read\/([a-z0-9]+)(?:[?\/].*)?");
if (chaptersWrapper.Descendants("div").Any(descendant => descendant.HasClass("volume-element")))
{