diff --git a/crawler/steam250.go b/crawler/steam250.go index 26788fd..9d4c10e 100644 --- a/crawler/steam250.go +++ b/crawler/steam250.go @@ -46,6 +46,9 @@ func GetSteam250(url string) ([]*model.GameInfo, error) { var res []*model.GameInfo count := 0 for _, steamID := range steamIDs { + if count >= 10 { + break + } info, err := db.GetGameInfoByPlatformID("steam", steamID) if err == nil { res = append(res, info)