diff --git a/app/src/main/java/me/devsaki/hentoid/parsers/content/HdPornComicsContent.java b/app/src/main/java/me/devsaki/hentoid/parsers/content/HdPornComicsContent.java index 76eacb24f..aee8bbc4e 100644 --- a/app/src/main/java/me/devsaki/hentoid/parsers/content/HdPornComicsContent.java +++ b/app/src/main/java/me/devsaki/hentoid/parsers/content/HdPornComicsContent.java @@ -62,7 +62,7 @@ public Content update(@NonNull final Content content, @Nonnull String url, boole ParseHelper.parseAttributes(attributes, AttributeType.TAG, tags, false, Site.HDPORNCOMICS); content.putAttributes(attributes); - if (updateImages) { + if (updateImages && pages != null) { List imgs = HdPornComicsParser.parseImages(pages); content.setImageFiles(ParseHelper.urlsToImageFiles(imgs, coverUrl, StatusContent.SAVED)); content.setQtyPages(imgs.size() - 1); // Don't count the cover