Fix parsing of image urls

This commit is contained in:
2025-09-21 05:07:50 +02:00
parent 4e1c9cd300
commit a33c3a2dcc

View File

@@ -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;