Add Newgrounds.com #877

Merged
wasu-code merged 16 commits from newgrounds into main 2025-04-10 21:31:27 -05:00
Showing only changes of commit 27596fe0e4 - Show all commits

View file

@ -204,7 +204,7 @@ class NewGrounds : ParsedAnimeHttpSource(), ConfigurableAnimeSource {
val faves = statsElement?.selectFirst("dd:nth-of-type(2)")?.text() ?: "?"
val votes = statsElement?.selectFirst("dd:nth-of-type(3)")?.text() ?: "?"
return "👀 $views | ❤️ $faves | 👍 $votes"
return "👀 $views | ❤️ $faves | 🗳️ $votes"
}
fun prepareDescription(): String {
@ -213,7 +213,7 @@ class NewGrounds : ParsedAnimeHttpSource(), ConfigurableAnimeSource {
val shortDescription = document.selectFirst("meta[itemprop=\"description\"]")?.attr("content")
val longDescription = document.selectFirst("#author_comments")?.wholeText()
val statsSummary = "${getAdultRating()} | ${getStarRating()} | ${getStats()}"
val statsSummary = "${getAdultRating()} | ${getStarRating()} | ${getStats()}"
val description = StringBuilder()