mangabox: fix alt titles included in title (#1964)
* mangabox: fix alt titles included in title fix applies to tachiEH and other forks with updated deps. I tested it dw. * Update build.gradle
This commit is contained in:
parent
60c8d35bd7
commit
d553b51988
|
@ -5,7 +5,7 @@ ext {
|
|||
appName = 'Tachiyomi: MangaBox (Mangakakalot and others)'
|
||||
pkgNameSuffix = 'all.mangabox'
|
||||
extClass = '.MangaBoxFactory'
|
||||
extVersionCode = 7
|
||||
extVersionCode = 8
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -115,7 +115,7 @@ abstract class MangaBox (
|
|||
val infoElement = document.select(mangaDetailsMainSelector)
|
||||
|
||||
return SManga.create().apply {
|
||||
title = infoElement.select("h1, h2").text()
|
||||
title = infoElement.select("h1, h2").first().text()
|
||||
author = infoElement.select("li:contains(author) a, td:containsOwn(author) + td").text()
|
||||
status = parseStatus(infoElement.select("li:contains(status), td:containsOwn(status) + td").text())
|
||||
genre = infoElement.select("div.manga-info-top li:contains(genres)").let { kakalotE ->
|
||||
|
|
Loading…
Reference in New Issue