NineManga - fix details' titles (#3306)

This commit is contained in:
Mike 2020-05-25 02:13:55 -04:00 committed by GitHub
parent a953949873
commit 9f248e849c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
appName = 'Tachiyomi: NineManga'
pkgNameSuffix = "all.ninemanga"
extClass = '.NineMangaFactory'
extVersionCode = 11
extVersionCode = 12
libVersion = '1.2'
}

View File

@ -49,7 +49,7 @@ open class NineManga(override val name: String, override val baseUrl: String, ov
override fun mangaDetailsParse(document: Document) = SManga.create().apply {
document.select("div.bookintro").let {
title = it.select("li > span:not([class])").text()
title = it.select("li > span:not([class])").text().removeSuffix(" Manga")
genre = it.select("li[itemprop=genre] a").joinToString { e -> e.text() }
author = it.select("li a[itemprop=author]").text()
status = parseStatus(it.select("li a.red").first().text())