1
0
mirror of https://github.com/C9Glax/tranga.git synced 2025-03-15 09:33:02 +01:00

Merge pull request from ale-ben/cuttingedge

fix: Add escape to Weebcentral regex
This commit is contained in:
Glax 2025-01-25 23:26:48 +01:00 committed by GitHub
commit 4f7031ecfc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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+(?:.\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 =>