diff --git a/src/en/tsumino/build.gradle b/src/en/tsumino/build.gradle index a7178b962..2411757a7 100644 --- a/src/en/tsumino/build.gradle +++ b/src/en/tsumino/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'Tsumino' pkgNameSuffix = 'en.tsumino' extClass = '.Tsumino' - extVersionCode = 3 + extVersionCode = 4 libVersion = '1.2' containsNsfw = true } diff --git a/src/en/tsumino/src/eu/kanade/tachiyomi/extension/en/tsumino/Tsumino.kt b/src/en/tsumino/src/eu/kanade/tachiyomi/extension/en/tsumino/Tsumino.kt index 54f2b1595..ce19449e0 100644 --- a/src/en/tsumino/src/eu/kanade/tachiyomi/extension/en/tsumino/Tsumino.kt +++ b/src/en/tsumino/src/eu/kanade/tachiyomi/extension/en/tsumino/Tsumino.kt @@ -155,6 +155,7 @@ class Tsumino : ParsedHttpSource() { manga.status = SManga.COMPLETED manga.thumbnail_url = infoElement.select("img").attr("src") manga.description = getDesc(document) + manga.genre = document.select("#Tag a").joinToString { it.text() } return manga } diff --git a/src/en/tsumino/src/eu/kanade/tachiyomi/extension/en/tsumino/TsuminoUtils.kt b/src/en/tsumino/src/eu/kanade/tachiyomi/extension/en/tsumino/TsuminoUtils.kt index 2dc66ec82..c62deff06 100644 --- a/src/en/tsumino/src/eu/kanade/tachiyomi/extension/en/tsumino/TsuminoUtils.kt +++ b/src/en/tsumino/src/eu/kanade/tachiyomi/extension/en/tsumino/TsuminoUtils.kt @@ -39,7 +39,6 @@ class TsuminoUtils { val pages = document.select("#Pages").text() val parodies = document.select("#Parody a") val characters = document.select("#Character a") - val tags = document.select("#Tag a") stringBuilder.append("Pages: $pages") @@ -67,18 +66,6 @@ class TsuminoUtils { } } - if (tags.size > 0) { - stringBuilder.append("\n\n") - stringBuilder.append("Tags: ") - - tags.forEach { - stringBuilder.append(it.text()) - - if (it != tags.last()) - stringBuilder.append(", ") - } - } - return stringBuilder.toString() }