[RU]LibGroup native rating changed (#15746)

This commit is contained in:
Eshlender 2023-03-19 01:37:54 +05:00 committed by GitHub
parent 525ca1225e
commit 055fd1790b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ class LibGenerator : ThemeSourceGenerator {
override val themeClass = "LibGroup"
override val baseVersionCode: Int = 17
override val baseVersionCode: Int = 18
override val sources = listOf(
SingleLang("MangaLib", "https://mangalib.me", "ru", overrideVersionCode = 74),

View File

@ -217,7 +217,7 @@ abstract class LibGroup(
val rawAgeStop = document.select(".media-short-info .media-short-info__item[data-caution]").text()
val ratingValue = document.select(".media-rating__value").last()!!.text().toFloat() * 2
val ratingValue = document.select(".media-rating__value").last()!!.text().toFloat()
val ratingVotes = document.select(".media-rating__votes").last()!!.text()
val ratingStar = when {
ratingValue > 9.5 -> "★★★★★"