[RU]ComX title details clean (#11225)

This commit is contained in:
e-shl 2022-03-23 13:40:29 +05:00 committed by GitHub
parent dd5a80fb5c
commit 5182bb7a66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ ext {
extName = 'ComX'
pkgNameSuffix = 'ru.comx'
extClass = '.ComX'
extVersionCode = 14
extVersionCode = 15
}
dependencies {

View File

@ -164,7 +164,7 @@ class ComX : ParsedHttpSource() {
val infoElement = document.select("div.page__grid").first()
val manga = SManga.create()
manga.title = infoElement.select(".page__title-original").text()
manga.title = infoElement.select(".page__title-original").text().split(" | ").first()
manga.author = infoElement.select(".page__list li:eq(1)").text()
manga.genre = infoElement.select(".page__tags a").joinToString { it.text() }
manga.status = parseStatus(infoElement.select(".page__list li:eq(2)").text())