add Komiku manga Author (#4651)

This commit is contained in:
Riztard Lanthorn 2020-10-21 17:10:40 +07:00 committed by GitHub
parent d80c1dc0bd
commit 234373b435
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'Komiku' extName = 'Komiku'
pkgNameSuffix = 'id.komiku' pkgNameSuffix = 'id.komiku'
extClass = '.Komiku' extClass = '.Komiku'
extVersionCode = 2 extVersionCode = 3
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -61,6 +61,7 @@ class Komiku : ParsedHttpSource() {
override fun mangaDetailsParse(document: Document) = SManga.create().apply { override fun mangaDetailsParse(document: Document) = SManga.create().apply {
description = document.select("#Sinopsis > p").text().trim() description = document.select("#Sinopsis > p").text().trim()
author = document.select("table.inftable td:contains(Komikus)+td").text()
genre = document.select("li[itemprop=genre] > a").joinToString { it.text() } genre = document.select("li[itemprop=genre] > a").joinToString { it.text() }
status = parseStatus(document.select("table.inftable tr > td:contains(Status) + td").text()) status = parseStatus(document.select("table.inftable tr > td:contains(Status) + td").text())
thumbnail_url = document.select("div.ims > img").attr("abs:src") thumbnail_url = document.select("div.ims > img").attr("abs:src")