adjust stats summary in description
This commit is contained in:
parent
da825cd735
commit
27596fe0e4
1 changed files with 2 additions and 2 deletions
|
@ -204,7 +204,7 @@ class NewGrounds : ParsedAnimeHttpSource(), ConfigurableAnimeSource {
|
||||||
val faves = statsElement?.selectFirst("dd:nth-of-type(2)")?.text() ?: "?"
|
val faves = statsElement?.selectFirst("dd:nth-of-type(2)")?.text() ?: "?"
|
||||||
val votes = statsElement?.selectFirst("dd:nth-of-type(3)")?.text() ?: "?"
|
val votes = statsElement?.selectFirst("dd:nth-of-type(3)")?.text() ?: "?"
|
||||||
|
|
||||||
return "👀 $views | ❤️ $faves | 👍 $votes"
|
return "👀 $views | ❤️ $faves | 🗳️ $votes"
|
||||||
}
|
}
|
||||||
|
|
||||||
fun prepareDescription(): String {
|
fun prepareDescription(): String {
|
||||||
|
@ -213,7 +213,7 @@ class NewGrounds : ParsedAnimeHttpSource(), ConfigurableAnimeSource {
|
||||||
|
|
||||||
val shortDescription = document.selectFirst("meta[itemprop=\"description\"]")?.attr("content")
|
val shortDescription = document.selectFirst("meta[itemprop=\"description\"]")?.attr("content")
|
||||||
val longDescription = document.selectFirst("#author_comments")?.wholeText()
|
val longDescription = document.selectFirst("#author_comments")?.wholeText()
|
||||||
val statsSummary = "${getAdultRating()} | ${getStarRating()} | ${getStats()}"
|
val statsSummary = "${getAdultRating()} | ${getStarRating()} | ${getStats()}"
|
||||||
|
|
||||||
val description = StringBuilder()
|
val description = StringBuilder()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue