diff --git a/src/all/mangabox/build.gradle b/src/all/mangabox/build.gradle index d6d6c96f9..13467833b 100644 --- a/src/all/mangabox/build.gradle +++ b/src/all/mangabox/build.gradle @@ -5,7 +5,7 @@ ext { appName = 'Tachiyomi: MangaBox (Mangakakalot and others)' pkgNameSuffix = 'all.mangabox' extClass = '.MangaBoxFactory' - extVersionCode = 7 + extVersionCode = 8 libVersion = '1.2' } diff --git a/src/all/mangabox/src/eu/kanade/tachiyomi/extension/all/mangabox/MangaBox.kt b/src/all/mangabox/src/eu/kanade/tachiyomi/extension/all/mangabox/MangaBox.kt index 6fb59f4ee..ce8444283 100644 --- a/src/all/mangabox/src/eu/kanade/tachiyomi/extension/all/mangabox/MangaBox.kt +++ b/src/all/mangabox/src/eu/kanade/tachiyomi/extension/all/mangabox/MangaBox.kt @@ -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 ->