From 9691eb0d08a96c8ebfec8ec23877a7d08788f9a3 Mon Sep 17 00:00:00 2001 From: Glax Date: Mon, 12 Feb 2024 21:02:01 +0100 Subject: [PATCH] Correct ChapterNumbers for Mangasee --- Tranga/MangaConnectors/Mangasee.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tranga/MangaConnectors/Mangasee.cs b/Tranga/MangaConnectors/Mangasee.cs index c05d8be..5d45ac6 100644 --- a/Tranga/MangaConnectors/Mangasee.cs +++ b/Tranga/MangaConnectors/Mangasee.cs @@ -196,7 +196,7 @@ public class Mangasee : MangaConnector { string url = chapter.Descendants("link").First().Value; Match m = chVolRex.Match(url); - string volumeNumber = m.Groups[2].Success ? m.Groups[2].Value : "0"; + string? volumeNumber = m.Groups[2].Success ? m.Groups[2].Value : null; string chapterNumber = m.Groups[1].Value; url = string.Concat(Regex.Match(url, @"(.*)-page-[0-9]+(\.html)").Groups.Values.Select(v => v.Value));