Added rating factor to recommended anime
This commit is contained in:
parent
136f6f4e7a
commit
34a048855d
@ -100,6 +100,7 @@ func Anime(ctx *aero.Context) string {
|
||||
}
|
||||
|
||||
animeAffinity += float64(anime.Popularity.Total())
|
||||
animeAffinity += anime.Rating.Overall * 80
|
||||
affinity[anime.ID] = animeAffinity
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user