Add image to common structs

This commit is contained in:
bytedream 2022-06-19 02:28:03 +02:00
parent 9f6a225caf
commit c86595d2c6
4 changed files with 14 additions and 42 deletions

View file

@ -61,12 +61,7 @@ type Episode struct {
Slug string `json:"slug"`
Images struct {
Thumbnail [][]struct {
Width int `json:"width"`
Height int `json:"height"`
Type string `json:"type"`
Source string `json:"source"`
} `json:"thumbnail"`
Thumbnail [][]Image `json:"thumbnail"`
} `json:"images"`
DurationMS int `json:"duration_ms"`