From 50353b67cd6bd630d7671980a6b10e4c7a575191 Mon Sep 17 00:00:00 2001 From: Artyom Belousov Date: Sun, 6 Jun 2021 18:12:57 +0300 Subject: [PATCH] Added tournament_legality filter --- internal/cardsinfo/prices.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cardsinfo/prices.go b/internal/cardsinfo/prices.go index ea41abc..a5709dd 100644 --- a/internal/cardsinfo/prices.go +++ b/internal/cardsinfo/prices.go @@ -9,7 +9,7 @@ import ( ) const scgDomain = "https://starcitygames.com" -const scgSearchUrlTemplate = "https://starcitygames.hawksearch.com/sites/starcitygames/?search_query=" +const scgSearchUrlTemplate = "https://starcitygames.hawksearch.com/sites/starcitygames/?tournament_legality=Legal&search_query=" func (f *Fetcher) GetPrices(name string) ([]ScgCardPrice, error) { prices, err := getPricesScg(name)