[RU]LibGroup native rating changed (#15746)
This commit is contained in:
		
							parent
							
								
									525ca1225e
								
							
						
					
					
						commit
						055fd1790b
					
				@ -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),
 | 
			
		||||
 | 
			
		||||
@ -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 -> "★★★★★"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user