From dbd98ea94e927e4ef241cda14ccb6110944187ec Mon Sep 17 00:00:00 2001 From: Cuong-Tran Date: Wed, 18 Sep 2024 20:08:54 +0700 Subject: [PATCH] fix (GoDa multitheme): avoid the case when no search result is found (#5098) * fix (GoDa multitheme): avoid the case when no search result is found * bump version --- lib-multisrc/goda/build.gradle.kts | 2 +- lib-multisrc/goda/src/eu/kanade/tachiyomi/multisrc/goda/GoDa.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib-multisrc/goda/build.gradle.kts b/lib-multisrc/goda/build.gradle.kts index dc076cc37..9dce2478c 100644 --- a/lib-multisrc/goda/build.gradle.kts +++ b/lib-multisrc/goda/build.gradle.kts @@ -2,4 +2,4 @@ plugins { id("lib-multisrc") } -baseVersionCode = 1 +baseVersionCode = 2 diff --git a/lib-multisrc/goda/src/eu/kanade/tachiyomi/multisrc/goda/GoDa.kt b/lib-multisrc/goda/src/eu/kanade/tachiyomi/multisrc/goda/GoDa.kt index bbf8f5750..33175f545 100644 --- a/lib-multisrc/goda/src/eu/kanade/tachiyomi/multisrc/goda/GoDa.kt +++ b/lib-multisrc/goda/src/eu/kanade/tachiyomi/multisrc/goda/GoDa.kt @@ -39,7 +39,7 @@ open class GoDa( override fun popularMangaParse(response: Response): MangasPage { val document = response.asJsoup().also(::parseGenres) - val mangas = document.select(".cardlist .pb-2 a").map { element -> + val mangas = document.select(".container > .cardlist .pb-2 a").map { element -> SManga.create().apply { val imgSrc = element.selectFirst("img")!!.attr("src") url = getKey(element.attr("href"))