diff --git a/src/ru/henchan/build.gradle b/src/ru/henchan/build.gradle index ce1a94f8c..904e339ea 100644 --- a/src/ru/henchan/build.gradle +++ b/src/ru/henchan/build.gradle @@ -6,7 +6,7 @@ ext { extName = 'Henchan' pkgNameSuffix = 'ru.henchan' extClass = '.Henchan' - extVersionCode = 29 + extVersionCode = 30 isNsfw = true } diff --git a/src/ru/henchan/src/eu/kanade/tachiyomi/extension/ru/henchan/Henchan.kt b/src/ru/henchan/src/eu/kanade/tachiyomi/extension/ru/henchan/Henchan.kt index 1231aa29f..0b95027d1 100644 --- a/src/ru/henchan/src/eu/kanade/tachiyomi/extension/ru/henchan/Henchan.kt +++ b/src/ru/henchan/src/eu/kanade/tachiyomi/extension/ru/henchan/Henchan.kt @@ -106,7 +106,7 @@ class Henchan : ParsedHttpSource() { val urlElem = element.select("h2 > a").first() manga.setUrlWithoutDomain(urlElem.attr("href")) - manga.title = urlElem.text() + manga.title = urlElem.attr("title") return manga } @@ -125,9 +125,10 @@ class Henchan : ParsedHttpSource() { override fun mangaDetailsParse(document: Document): SManga { val manga = SManga.create() + manga.title = document.select("title").text().substringBefore(" »") manga.author = document.select(".row .item2 h2")[1].text() manga.genre = document.select(".sidetag > a:eq(2)").joinToString { it.text() } - manga.description = document.select("#description").text() + manga.description = document.select("#description").text().trim() manga.thumbnail_url = document.select("img#cover").attr("abs:src").getHQThumbnail() return manga } diff --git a/src/ru/mangachan/build.gradle b/src/ru/mangachan/build.gradle index 7c75547f0..1a0e0975b 100644 --- a/src/ru/mangachan/build.gradle +++ b/src/ru/mangachan/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'Mangachan' pkgNameSuffix = 'ru.mangachan' extClass = '.Mangachan' - extVersionCode = 10 + extVersionCode = 11 } dependencies { diff --git a/src/ru/mangachan/src/eu/kanade/tachiyomi/extension/ru/mangachan/Mangachan.kt b/src/ru/mangachan/src/eu/kanade/tachiyomi/extension/ru/mangachan/Mangachan.kt index 3ae8e9482..bbf6df677 100644 --- a/src/ru/mangachan/src/eu/kanade/tachiyomi/extension/ru/mangachan/Mangachan.kt +++ b/src/ru/mangachan/src/eu/kanade/tachiyomi/extension/ru/mangachan/Mangachan.kt @@ -122,7 +122,7 @@ class Mangachan : ParsedHttpSource() { manga.thumbnail_url = element.select("div.manga_images img").first().attr("src") element.select("h2 > a").first().let { manga.setUrlWithoutDomain(it.attr("href")) - manga.title = it.text() + manga.title = it.attr("title") } return manga } @@ -131,7 +131,7 @@ class Mangachan : ParsedHttpSource() { val manga = SManga.create() element.select("a:nth-child(1)").first().let { manga.setUrlWithoutDomain(it.attr("href")) - manga.title = it.text() + manga.title = it.attr("title") } return manga } @@ -184,10 +184,11 @@ class Mangachan : ParsedHttpSource() { "манга" } val manga = SManga.create() + manga.title = document.select("title").text().substringBefore(" »") manga.author = infoElement.select("tr:eq(2) > td:eq(1)").text() manga.genre = infoElement.select("tr:eq(5) > td:eq(1)").text().split(",").plusElement(category).joinToString { it.trim() } manga.status = parseStatus(infoElement.select("tr:eq(4) > td:eq(1)").text()) - manga.description = descElement.textNodes().first().text() + manga.description = descElement.textNodes().first().text().trim() manga.thumbnail_url = imgElement.attr("src") return manga } diff --git a/src/ru/yaoichan/build.gradle b/src/ru/yaoichan/build.gradle index a0f7d6283..a91370d98 100644 --- a/src/ru/yaoichan/build.gradle +++ b/src/ru/yaoichan/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'Yaoichan' pkgNameSuffix = 'ru.yaoichan' extClass = '.Yaoichan' - extVersionCode = 1 + extVersionCode = 2 isNsfw = true } diff --git a/src/ru/yaoichan/src/eu/kanade/tachiyomi/extension/ru/yaoichan/Yaoichan.kt b/src/ru/yaoichan/src/eu/kanade/tachiyomi/extension/ru/yaoichan/Yaoichan.kt index f61f2072d..aef69ef89 100644 --- a/src/ru/yaoichan/src/eu/kanade/tachiyomi/extension/ru/yaoichan/Yaoichan.kt +++ b/src/ru/yaoichan/src/eu/kanade/tachiyomi/extension/ru/yaoichan/Yaoichan.kt @@ -114,7 +114,7 @@ class Yaoichan : ParsedHttpSource() { manga.thumbnail_url = element.select("div.manga_images img").first().attr("src") element.select("h2 > a").first().let { manga.setUrlWithoutDomain(it.attr("href")) - manga.title = it.text() + manga.title = it.attr("title") } return manga } @@ -140,10 +140,11 @@ class Yaoichan : ParsedHttpSource() { "манга" } val manga = SManga.create() + manga.title = document.select("title").text().substringBefore(" »") manga.author = infoElement.select("tr:eq(2) > td:eq(1)").text() manga.genre = infoElement.select("tr:eq(5) > td:eq(1)").text().split(",").plusElement(category).joinToString { it.trim() } manga.status = parseStatus(infoElement.select("tr:eq(4) > td:eq(1)").text()) - manga.description = descElement.textNodes().first().text() + manga.description = descElement.textNodes().first().text().trim() manga.thumbnail_url = imgElement.attr("src") return manga }