From b39dbd5671229dfb0d862038bc7317ba7851f7b6 Mon Sep 17 00:00:00 2001 From: Alessandro Benetton Date: Fri, 10 Jan 2025 22:10:34 +0100 Subject: [PATCH] [cuttingedge] fix(weebcentral): Fixed regex to capture chapters with decimal (1.5, ..) --- Tranga/MangaConnectors/WeebCentral.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tranga/MangaConnectors/WeebCentral.cs b/Tranga/MangaConnectors/WeebCentral.cs index 6c08454..842afff 100644 --- a/Tranga/MangaConnectors/WeebCentral.cs +++ b/Tranga/MangaConnectors/WeebCentral.cs @@ -175,7 +175,7 @@ public class Weebcentral : MangaConnector { var chaptersWrapper = document.DocumentNode.SelectSingleNode("/html/body"); - Regex chapterRex = new(@".* (\d+)"); + Regex chapterRex = new(@"(\d+(?:.\d+)*)"); Regex idRex = new(@"https:\/\/weebcentral\.com\/chapters\/(\w*)"); var ret = chaptersWrapper.Descendants("a").Select(elem =>