[RU]GroupLe fix tags (#17293)

* [RU]GroupLe fix tags

* split

* multi select
This commit is contained in:
Eshlender 2023-07-29 21:52:24 +05:00 committed by GitHub
parent 723dd523fe
commit 985ed86d2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -156,8 +156,8 @@ abstract class GroupLe(
).first()?.text()
manga.artist = infoElement.select("span.elem_illustrator").first()?.text()
manga.genre = (
"$category, $rawAgeStop, " + infoElement.select("span.elem_genre")
.text() + ", " + infoElement.select("span.elem_tag").text()
"$category, $rawAgeStop, " + infoElement.select("p:contains(Жанры:) a, p:contains(Теги:) a")
.joinToString { it.text() }
).split(", ")
.filter { it.isNotEmpty() }.joinToString { it.trim().lowercase() }
val altName = if (infoElement.select(".another-names").isNotEmpty()) {

View File

@ -9,7 +9,7 @@ class GroupLeGenerator : ThemeSourceGenerator {
override val themeClass = "GroupLe"
override val baseVersionCode = 16
override val baseVersionCode = 17
override val sources = listOf(
SingleLang("ReadManga", "https://readmanga.live", "ru", overrideVersionCode = 46),