From 7994801eaddedbee811e1d7178fcfcd22348e640 Mon Sep 17 00:00:00 2001 From: Hexated <37908684+hexated@users.noreply.github.com> Date: Fri, 16 Jun 2023 00:38:58 +0700 Subject: [PATCH] Update Aniworld.kt --- Aniworld/src/main/kotlin/com/hexated/Aniworld.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Aniworld/src/main/kotlin/com/hexated/Aniworld.kt b/Aniworld/src/main/kotlin/com/hexated/Aniworld.kt index dc61b270..55dbd7fc 100644 --- a/Aniworld/src/main/kotlin/com/hexated/Aniworld.kt +++ b/Aniworld/src/main/kotlin/com/hexated/Aniworld.kt @@ -94,7 +94,7 @@ class Aniworld : MainAPI() { document.select("li:contains(Schauspieler:) ul li a").map { it.select("span").text() } val episodes = mutableListOf() - 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 ->