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:
parent
931d8fe2f6
commit
660f49ee96
|
@ -2,4 +2,4 @@ plugins {
|
|||
id("lib-multisrc")
|
||||
}
|
||||
|
||||
baseVersionCode = 1
|
||||
baseVersionCode = 2
|
||||
|
|
|
@ -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"))
|
||||
|
|
Loading…
Reference in New Issue