Episodes now have their own ID

This commit is contained in:
2019-08-28 17:06:42 +09:00
parent 5551dd176e
commit 3a15829831
29 changed files with 422 additions and 412 deletions

View File

@ -52,7 +52,7 @@ func getAnimeStats() []*arn.PieChart {
rating[fmt.Sprint(int(anime.Rating.Overall+0.5))]++
found := false
for _, episode := range anime.Episodes().Items {
for _, episode := range anime.Episodes() {
if episode.Links != nil && episode.Links["twist.moe"] != "" {
found = true
break