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
79865a9822
commit
daec96608f
1 changed files with 1 additions and 2 deletions
|
@ -134,11 +134,10 @@ class KuronimeProvider : MainAPI() {
|
||||||
val description = document.select("span.const > p").text()
|
val description = document.select("span.const > p").text()
|
||||||
|
|
||||||
val episodes = document.select("div.bixbox.bxcl > ul > li").map {
|
val episodes = document.select("div.bixbox.bxcl > ul > li").map {
|
||||||
val name = it.selectFirst("a")?.text()?.trim()
|
|
||||||
val episode =
|
val episode =
|
||||||
it.selectFirst("a")?.text()?.trim()?.replace("Episode", "")?.trim()?.toIntOrNull()
|
it.selectFirst("a")?.text()?.trim()?.replace("Episode", "")?.trim()?.toIntOrNull()
|
||||||
val link = it.selectFirst("a")!!.attr("href")
|
val link = it.selectFirst("a")!!.attr("href")
|
||||||
Episode(link, name = name, episode = episode)
|
Episode(link, episode = episode)
|
||||||
}.reversed()
|
}.reversed()
|
||||||
|
|
||||||
return newAnimeLoadResponse(title, url, getType(type)) {
|
return newAnimeLoadResponse(title, url, getType(type)) {
|
||||||
|
|
Loading…
Reference in a new issue