fix manga kawaii pages (#5786)

This commit is contained in:
Riztard Lanthorn 2021-02-12 00:18:34 +07:00 committed by GitHub
parent 4b37680bb0
commit b40bf1144c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'Mangakawaii'
pkgNameSuffix = 'fr.mangakawaii'
extClass = '.MangaKawaii'
extVersionCode = 19
extVersionCode = 20
libVersion = '1.2'
}

View File

@ -108,8 +108,8 @@ class MangaKawaii : ParsedHttpSource() {
override fun pageListParse(response: Response): List<Page> {
val body = response.asJsoup()
var div = body.select("div.text-center div[id*='']:has(img[data-src*=/serv-manga/][alt*=page])")
var elements = div.select("img")
var div = body.select("div.text-center")
var elements = div.select("img[src][data-src]")
val pages = mutableListOf<Page>()
for (i in 0 until elements.count()) {