fixed episode kuronime

This commit is contained in:
hexated 2022-11-24 20:47:02 +07:00
parent 746e8d509d
commit 17a36aed6b
1 changed files with 1 additions and 2 deletions

View File

@ -134,8 +134,7 @@ class KuronimeProvider : MainAPI() {
val description = document.select("span.const > p").text()
val episodes = document.select("div.bixbox.bxcl > ul > li").map {
val episode =
it.selectFirst("a")?.text()?.trim()?.replace("Episode", "")?.trim()?.toIntOrNull()
val episode = it.selectFirst("a")?.text()?.trim()?.replace("Episode", "")?.trim()?.toIntOrNull()
val link = it.selectFirst("a")!!.attr("href")
Episode(link, episode = episode)
}.reversed()