Skip to content

Commit

Permalink
Revert "add new fields and filters for rpc apps"
Browse files Browse the repository at this point in the history
This reverts commit 9afd137.
  • Loading branch information
LimJongDuk committed Sep 25, 2024
1 parent 9afd137 commit c4daac7
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions scrapper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ func checkApp(app *App) error {
errs = append(errs, fmt.Errorf("score not parsed"))
}

if app.Released == "" {
errs = append(errs, fmt.Errorf("released not parsed"))
}

return multierr.Combine(errs...)
}

Expand Down Expand Up @@ -258,23 +254,3 @@ func Test_Scraper(t *testing.T) {
}
})
}

func Test(t *testing.T) {
appID := "com.miniclip.plagueinc"

collector := New()

app, err := collector.App(context.Background(), ApplicationSpec{
AppID: appID,
})
if err != nil {
t.Fatal(err)
}

if err := checkApp(&app); err != nil {
t.Fatal(err)
}

t.Log(app.Released)
t.Log(app.ContentRating)
}

0 comments on commit c4daac7

Please sign in to comment.