mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
Update Aniworld.kt
This commit is contained in:
parent
7994801ead
commit
7e3b4a204e
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ class Aniworld : MainAPI() {
|
||||||
val episodes = mutableListOf<Episode>()
|
val episodes = mutableListOf<Episode>()
|
||||||
document.select("div#stream > ul:first-child li").map { ele ->
|
document.select("div#stream > ul:first-child li").map { ele ->
|
||||||
val page = ele.selectFirst("a")
|
val page = ele.selectFirst("a")
|
||||||
val epsDocument = app.get(fixUrl(page?.attr("href") ?: return@apmap)).document
|
val epsDocument = app.get(fixUrl(page?.attr("href") ?: return@map)).document
|
||||||
epsDocument.select("div#stream > ul:nth-child(4) li").mapNotNull { eps ->
|
epsDocument.select("div#stream > ul:nth-child(4) li").mapNotNull { eps ->
|
||||||
episodes.add(
|
episodes.add(
|
||||||
Episode(
|
Episode(
|
||||||
|
|
Loading…
Reference in a new issue