From 34a048855d078d98bcb375e2d51574bd5b0329c3 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Fri, 16 Mar 2018 15:53:20 +0100 Subject: [PATCH] Added rating factor to recommended anime --- pages/recommended/anime.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/recommended/anime.go b/pages/recommended/anime.go index 6d56b24e..ec11b5b5 100644 --- a/pages/recommended/anime.go +++ b/pages/recommended/anime.go @@ -100,6 +100,7 @@ func Anime(ctx *aero.Context) string { } animeAffinity += float64(anime.Popularity.Total()) + animeAffinity += anime.Rating.Overall * 80 affinity[anime.ID] = animeAffinity }