perf: reduce relations api calls by parsing relations directly from full anime endpoints

This commit is contained in:
2026-04-08 16:33:44 +02:00
parent 618b807b3d
commit 2780c8338f
3 changed files with 10 additions and 34 deletions

View File

@@ -70,6 +70,7 @@ type Anime struct {
Name string `json:"name"`
URL string `json:"url"`
} `json:"streaming"`
Relations []JikanRelationGroup `json:"relations"`
}
// ImageURL returns the webp large image URL