Fix MangaPark imageUrls parsing

This commit is contained in:
2025-10-03 19:59:09 +02:00
parent 9248cb5eaf
commit 9cc3dc1bf7

View File

@@ -231,8 +231,8 @@ public class MangaPark : MangaConnector
return null; return null;
} }
MatchCollection matchCollection = Matches(imageJson, @"https?:\/\/[\da-zA-Z\.]+\/[^,""]*\.[a-z]+"); MatchCollection matchCollection = Matches(imageJson, @"""https?:\/\/[\da-zA-Z\.]+\/[^,]*\.[a-z]+""");
return matchCollection.Select(m => m.Value).ToArray(); return matchCollection.Select(m => m.Value.Trim('"')).ToArray();
} }
else return null; else return null;
} }