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
This commit is contained in:
Cuong-Tran 2024-09-18 20:08:54 +07:00 committed by GitHub
parent 0686e089fa
commit dbd98ea94e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -2,4 +2,4 @@ plugins {
id("lib-multisrc")
}
baseVersionCode = 1
baseVersionCode = 2

View File

@ -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"))