From bfea5b314e0ac269b5349168fcc106dec5e961e9 Mon Sep 17 00:00:00 2001 From: devi <70220050+davvarrr@users.noreply.github.com> Date: Mon, 31 Jul 2023 11:58:22 +0200 Subject: [PATCH] Update src/main/kotlin/org/koitharu/kotatsu/parsers/site/fr/ScansMangasMe.kt Co-authored-by: Koitharu --- .../org/koitharu/kotatsu/parsers/site/fr/ScansMangasMe.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/fr/ScansMangasMe.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/fr/ScansMangasMe.kt index 468273e71..7149bc3c7 100644 --- a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/fr/ScansMangasMe.kt +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/fr/ScansMangasMe.kt @@ -143,7 +143,7 @@ internal class ScansMangasMe(context: MangaLoaderContext) : private fun getChapters(doc: Document): List { - return doc.body().select("ul#chapter_list li").mapChapters(reversed = true) { i, li -> + return doc.body().requireElementById("chapter_list").select("li").mapChapters(reversed = true) { i, li -> val a = li.selectFirstOrThrow("a") val href = a.attrAsRelativeUrl("href") MangaChapter(