fix Ngomik manga detail (#4648)
some chapter didnt show author and status properly
This commit is contained in:
parent
77b6397dfa
commit
d80c1dc0bd
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'Ngomik'
|
||||
pkgNameSuffix = 'id.ngomik'
|
||||
extClass = '.Ngomik'
|
||||
extVersionCode = 2
|
||||
extVersionCode = 3
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -64,10 +64,10 @@ class Ngomik : ParsedHttpSource() {
|
|||
|
||||
override fun mangaDetailsParse(document: Document) = SManga.create().apply {
|
||||
title = document.select("h1[itemprop=headline]").text()
|
||||
author = document.select("div.listinfo li")[2].text().removePrefix("Author: ")
|
||||
author = document.select("div.listinfo li:contains(Author:)").text().removePrefix("Author: ")
|
||||
description = document.select(".desc").text()
|
||||
genre = document.select("div.gnr > a").joinToString { it.text() }
|
||||
status = parseStatus(document.select("div.listinfo li")[3].text())
|
||||
status = parseStatus(document.select("div.listinfo li:contains(Status:)").text())
|
||||
thumbnail_url = document.select("div[itemprop=image] > img").attr("src")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue