fix(indexers): ggn fetch data from api (#397)

fix(indexers): fetch data from api
This commit is contained in:
ze0s 2022-08-03 14:27:13 +02:00 committed by GitHub
parent 5d80e48b54
commit 12e75e2604
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,7 +58,11 @@ type Group struct {
CategoryName string `json:"categoryName"`
MasterGroup int `json:"masterGroup"`
Time string `json:"time"`
GameInfo struct {
Tags []string `json:"tags"`
Platform string `json:"platform"`
}
type GameInfo struct {
Screenshots []string `json:"screenshots"`
Trailer string `json:"trailer"`
Rating string `json:"rating"`
@ -88,9 +92,7 @@ type Group struct {
GOG string `json:"GOG"`
HowLongToBeat string `json:"HowLongToBeat"`
} `json:"weblinks"`
} `json:"gameInfo"`
Tags []string `json:"tags"`
Platform string `json:"platform"`
//`json:"gameInfo"`
}
type Torrent struct {