mirror of
https://github.com/C9Glax/tranga.git
synced 2025-01-12 03:17:33 +01:00
Merge pull request #316 from ale-ben/cuttingedge
Some checks are pending
Docker Image CI / build (push) Waiting to run
Some checks are pending
Docker Image CI / build (push) Waiting to run
Fixed regex to capture chapters with decimal (1.5, ..)
This commit is contained in:
commit
3abf7224d0
@ -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 =>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user