mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
fixed episode kuronime
This commit is contained in:
parent
daec96608f
commit
58ff720cae
1 changed files with 1 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue