Compare commits

..

3 Commits

Author SHA1 Message Date
5b84855428
Merge bf9fe517b083c9857ab41b85b6b9753b10efdad7 into 3abf7224d0408577a82668c039a419ce4478bb3d 2025-01-11 04:58:39 +05:00
3abf7224d0
Merge pull request #316 from ale-ben/cuttingedge
Some checks failed
Docker Image CI / build (push) Has been cancelled
Fixed regex to capture chapters with decimal (1.5, ..)
2025-01-11 00:41:20 +01:00
Alessandro Benetton
b39dbd5671
[cuttingedge] fix(weebcentral): Fixed regex to capture chapters with decimal (1.5, ..) 2025-01-10 22:10:34 +01:00

View File

@ -175,7 +175,7 @@ public class Weebcentral : MangaConnector
{ {
var chaptersWrapper = document.DocumentNode.SelectSingleNode("/html/body"); var chaptersWrapper = document.DocumentNode.SelectSingleNode("/html/body");
Regex chapterRex = new(@".* (\d+)"); Regex chapterRex = new(@"(\d+(?:.\d+)*)");
Regex idRex = new(@"https:\/\/weebcentral\.com\/chapters\/(\w*)"); Regex idRex = new(@"https:\/\/weebcentral\.com\/chapters\/(\w*)");
var ret = chaptersWrapper.Descendants("a").Select(elem => var ret = chaptersWrapper.Descendants("a").Select(elem =>