[RU]GroupLe fix tags (#17293)
* [RU]GroupLe fix tags * split * multi select
This commit is contained in:
parent
723dd523fe
commit
985ed86d2b
|
@ -156,8 +156,8 @@ abstract class GroupLe(
|
||||||
).first()?.text()
|
).first()?.text()
|
||||||
manga.artist = infoElement.select("span.elem_illustrator").first()?.text()
|
manga.artist = infoElement.select("span.elem_illustrator").first()?.text()
|
||||||
manga.genre = (
|
manga.genre = (
|
||||||
"$category, $rawAgeStop, " + infoElement.select("span.elem_genre")
|
"$category, $rawAgeStop, " + infoElement.select("p:contains(Жанры:) a, p:contains(Теги:) a")
|
||||||
.text() + ", " + infoElement.select("span.elem_tag").text()
|
.joinToString { it.text() }
|
||||||
).split(", ")
|
).split(", ")
|
||||||
.filter { it.isNotEmpty() }.joinToString { it.trim().lowercase() }
|
.filter { it.isNotEmpty() }.joinToString { it.trim().lowercase() }
|
||||||
val altName = if (infoElement.select(".another-names").isNotEmpty()) {
|
val altName = if (infoElement.select(".another-names").isNotEmpty()) {
|
||||||
|
|
|
@ -9,7 +9,7 @@ class GroupLeGenerator : ThemeSourceGenerator {
|
||||||
|
|
||||||
override val themeClass = "GroupLe"
|
override val themeClass = "GroupLe"
|
||||||
|
|
||||||
override val baseVersionCode = 16
|
override val baseVersionCode = 17
|
||||||
|
|
||||||
override val sources = listOf(
|
override val sources = listOf(
|
||||||
SingleLang("ReadManga", "https://readmanga.live", "ru", overrideVersionCode = 46),
|
SingleLang("ReadManga", "https://readmanga.live", "ru", overrideVersionCode = 46),
|
||||||
|
|
Loading…
Reference in New Issue