From 7e3b4a204ef4f5dcb45e1a3341afac876ed99352 Mon Sep 17 00:00:00 2001 From: Hexated <37908684+hexated@users.noreply.github.com> Date: Fri, 16 Jun 2023 00:45:21 +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 55dbd7fc..fa81d03a 100644 --- a/Aniworld/src/main/kotlin/com/hexated/Aniworld.kt +++ b/Aniworld/src/main/kotlin/com/hexated/Aniworld.kt @@ -96,7 +96,7 @@ class Aniworld : MainAPI() { val episodes = mutableListOf() 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 + val epsDocument = app.get(fixUrl(page?.attr("href") ?: return@map)).document epsDocument.select("div#stream > ul:nth-child(4) li").mapNotNull { eps -> episodes.add( Episode(