Skip to content

Commit

Permalink
Merge pull request #328 from ale-ben/cuttingedge
Browse files Browse the repository at this point in the history
fix: Add escape to Weebcentral regex
  • Loading branch information
C9Glax authored Jan 25, 2025
2 parents 7864823 + f7a285a commit 4f7031e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tranga/MangaConnectors/WeebCentral.cs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ private List<Chapter> ParseChaptersFromHtml(Manga manga, HtmlDocument document)
{
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*)");

var ret = chaptersWrapper.Descendants("a").Select(elem =>
Expand Down

0 comments on commit 4f7031e

Please sign in to comment.