Update Hipercool.kt

Add parse description
This commit is contained in:
devi
2023-06-23 08:03:58 +02:00
committed by GitHub
parent b878824d15
commit 65ec3ca5c6

View File

@@ -32,6 +32,8 @@ internal class Hipercool(context: MangaLoaderContext) :
largeCoverUrl = root.selectFirst("picture")
?.selectFirst("img[data-src]")
?.attrAsAbsoluteUrlOrNull("data-src"),
description = root.selectFirst("div.description-summary")?.selectFirst("div.summary__content")?.select("p")
?.filterNot { it.ownText().startsWith("A brief description") }?.joinToString { it.html() },
tags = tags,
isNsfw = body.hasClass("adult-content"),
chapters = chapters,