Merge remote-tracking branch 'origin/cuttingedge' into cuttingedge

This commit is contained in:
Glax 2025-02-09 17:28:03 +01:00
commit 814efd3528
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ public abstract class MangaConnector : GlobalBase
return Array.Empty<Chapter>(); return Array.Empty<Chapter>();
Log($"Checking for duplicates {manga}"); Log($"Checking for duplicates {manga}");
List<Chapter> newChaptersList = allChapters.Where(nChapter => nChapter.chapterNumber > manga.ignoreChaptersBelow List<Chapter> newChaptersList = allChapters.Where(nChapter => nChapter.chapterNumber >= manga.ignoreChaptersBelow
&& !nChapter.CheckChapterIsDownloaded()).ToList(); && !nChapter.CheckChapterIsDownloaded()).ToList();
Log($"{newChaptersList.Count} new chapters. {manga}"); Log($"{newChaptersList.Count} new chapters. {manga}");
try try

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