From a33c3a2dcc5f09dc95510ea1685bf00015fc50fb Mon Sep 17 00:00:00 2001 From: glax Date: Sun, 21 Sep 2025 05:07:50 +0200 Subject: [PATCH] Fix parsing of image urls --- API/MangaConnectors/MangaPark.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/API/MangaConnectors/MangaPark.cs b/API/MangaConnectors/MangaPark.cs index cd3b673..f9a9cd1 100644 --- a/API/MangaConnectors/MangaPark.cs +++ b/API/MangaConnectors/MangaPark.cs @@ -229,7 +229,7 @@ public class MangaPark : MangaConnector return null; } - MatchCollection matchCollection = Matches(imageJson, @"https?:\/\/[^,]*\.webp"); + MatchCollection matchCollection = Matches(imageJson, @"https?:\/\/[\da-zA-Z\.]+\/[^,""]*\.[a-z]+"); return matchCollection.Select(m => m.Value).ToArray(); } else return null;