2
0

Fix Mangaworld empty search-result crash

This commit is contained in:
glax 2023-09-19 16:24:07 +02:00
parent 656e62628e
commit 9319aa7d1f

View File

@ -34,6 +34,9 @@ public class Mangaworld: MangaConnector
private Manga[] ParsePublicationsFromHtml(HtmlDocument document)
{
if (!document.DocumentNode.SelectSingleNode("//div[@class='comics-grid']").ChildNodes
.Any(node => node.HasClass("entry")))
return Array.Empty<Manga>();
List<string> urls = document.DocumentNode
.SelectNodes(