From c4daac7b5afb45d1227660f7077c2b370a406015 Mon Sep 17 00:00:00 2001 From: nikkibuster Date: Wed, 25 Sep 2024 18:23:03 +0300 Subject: [PATCH] Revert "add new fields and filters for rpc apps" This reverts commit 9afd137944cf418657ca8a549e9a9ffebc2783b5. --- scrapper_test.go | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/scrapper_test.go b/scrapper_test.go index 29225eb..8952ead 100644 --- a/scrapper_test.go +++ b/scrapper_test.go @@ -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...) } @@ -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) -}