mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-21 18:02:42 +01:00
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
0686e089fa
commit
dbd98ea94e
@ -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
Block a user