Added Fetcher
This commit is contained in:
parent
b823cffe69
commit
40f1687972
10 changed files with 36 additions and 19 deletions
|
|
@ -10,7 +10,7 @@ import (
|
|||
const scgDomain = "https://starcitygames.com"
|
||||
const scgSearchUrlTemplate = "https://starcitygames.hawksearch.com/sites/starcitygames/?search_query="
|
||||
|
||||
func GetPrices(name string) ([]CardPrice, error) {
|
||||
func (f *Fetcher) GetPrices(name string) ([]CardPrice, error) {
|
||||
prices, err := GetPricesScg(name)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue