summaryrefslogtreecommitdiff
path: root/whiskyworld.go
diff options
context:
space:
mode:
Diffstat (limited to 'whiskyworld.go')
-rw-r--r--whiskyworld.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/whiskyworld.go b/whiskyworld.go
index 65bbacd..e07c42f 100644
--- a/whiskyworld.go
+++ b/whiskyworld.go
@@ -7,7 +7,7 @@ import (
"github.com/gocolly/colly"
)
-func ScrapeWhiskyworld() []Angebot {
+func ScrapeWhiskyworld(shop Shop) []Angebot {
Whiskys := []Angebot{}
@@ -46,7 +46,7 @@ func ScrapeWhiskyworld() []Angebot {
W.Image_url = "https:" + e.ChildAttr("img", "src")
- W.Shop = "Whisky World"
+ W.Shop = shop.Id
W.Spirit_type = "Whisky"
Whiskys = append(Whiskys, W)