Update Aniworld.kt

This commit is contained in:
Hexated 2023-06-16 00:38:58 +07:00 committed by GitHub
parent eae807a4f3
commit 7994801ead
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ class Aniworld : MainAPI() {
document.select("li:contains(Schauspieler:) ul li a").map { it.select("span").text() }
val episodes = mutableListOf<Episode>()
document.select("div#stream > ul:first-child li").apmap { ele ->
document.select("div#stream > ul:first-child li").map { ele ->
val page = ele.selectFirst("a")
val epsDocument = app.get(fixUrl(page?.attr("href") ?: return@apmap)).document
epsDocument.select("div#stream > ul:nth-child(4) li").mapNotNull { eps ->