mirror of
https://github.com/ultrasn0w/huso.git
synced 2025-12-14 10:39:53 +01:00
StartTime = useless
This commit is contained in:
1
klotz.go
1
klotz.go
@@ -37,7 +37,6 @@ type Anime struct {
|
|||||||
Members int `json:"members"`
|
Members int `json:"members"`
|
||||||
Source string `json:"source"`
|
Source string `json:"source"`
|
||||||
Weekday string `json:"weekday"`
|
Weekday string `json:"weekday"`
|
||||||
StartTime string `json:"startTime"`
|
|
||||||
Studios []AnimeStudio `json:"studios"`
|
Studios []AnimeStudio `json:"studios"`
|
||||||
TrailerURL string `json:"trailerUrl"`
|
TrailerURL string `json:"trailerUrl"`
|
||||||
TrailerEmbedURL string `json:"trailerEmbedUrl"`
|
TrailerEmbedURL string `json:"trailerEmbedUrl"`
|
||||||
|
|||||||
@@ -30,7 +30,6 @@ func JikanConvert(jik *SeasonAnimeJikan) Anime {
|
|||||||
Members: jik.Members,
|
Members: jik.Members,
|
||||||
Source: jik.Source,
|
Source: jik.Source,
|
||||||
Weekday: jik.Broadcast.Day,
|
Weekday: jik.Broadcast.Day,
|
||||||
StartTime: jik.Broadcast.Time,
|
|
||||||
TrailerURL: jik.Trailer.URL,
|
TrailerURL: jik.Trailer.URL,
|
||||||
TrailerEmbedURL: jik.Trailer.EmbedURL,
|
TrailerEmbedURL: jik.Trailer.EmbedURL,
|
||||||
}
|
}
|
||||||
@@ -71,7 +70,6 @@ func MalConvert(mal *AnimeDetailMal) Anime {
|
|||||||
Members: mal.NumListUsers,
|
Members: mal.NumListUsers,
|
||||||
Source: mal.Source,
|
Source: mal.Source,
|
||||||
Weekday: mal.Broadcast.DayOfTheWeek,
|
Weekday: mal.Broadcast.DayOfTheWeek,
|
||||||
StartTime: mal.Broadcast.StartTime,
|
|
||||||
TrailerURL: "",
|
TrailerURL: "",
|
||||||
}
|
}
|
||||||
for _, g := range mal.Genres {
|
for _, g := range mal.Genres {
|
||||||
|
|||||||
Reference in New Issue
Block a user