mirror of
https://github.com/ultrasn0w/huso.git
synced 2025-12-14 05:39:52 +01:00
GET animesearch
This commit is contained in:
18
klotz.go
18
klotz.go
@@ -130,14 +130,7 @@ type AnimeDetailMal struct {
|
||||
|
||||
type AnimeListMal struct {
|
||||
Data []struct {
|
||||
Node struct {
|
||||
ID int64 `json:"id"`
|
||||
Title string `json:"title"`
|
||||
MainPicture struct {
|
||||
Medium string `json:"medium"`
|
||||
Large string `json:"large"`
|
||||
} `json:"main_picture"`
|
||||
} `json:"node"`
|
||||
Node AnimeDetailMal `json:"node"`
|
||||
} `json:"data"`
|
||||
Paging struct {
|
||||
Next string `json:"next"`
|
||||
@@ -167,14 +160,7 @@ type UserJikan struct {
|
||||
|
||||
type SeasonMal struct {
|
||||
Data []struct {
|
||||
Node struct {
|
||||
ID int64 `json:"id"`
|
||||
Title string `json:"title"`
|
||||
MainPicture struct {
|
||||
Medium string `json:"medium"`
|
||||
Large string `json:"large"`
|
||||
} `json:"main_picture"`
|
||||
} `json:"node"`
|
||||
Node AnimeDetailMal `json:"node"`
|
||||
} `json:"data"`
|
||||
Paging struct {
|
||||
Next string `json:"next"`
|
||||
|
||||
Reference in New Issue
Block a user