summaryrefslogtreecommitdiff
path: root/mcwhisky.go
diff options
context:
space:
mode:
Diffstat (limited to 'mcwhisky.go')
-rw-r--r--mcwhisky.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcwhisky.go b/mcwhisky.go
index b50b4e5..e45e740 100644
--- a/mcwhisky.go
+++ b/mcwhisky.go
@@ -8,7 +8,7 @@ import (
"github.com/gocolly/colly"
)
-func ScrapeMCWhisky() []Angebot {
+func ScrapeMCWhisky(shop Shop) []Angebot {
Whiskys := []Angebot{}
c := colly.NewCollector(
@@ -42,7 +42,7 @@ func ScrapeMCWhisky() []Angebot {
})
W.Image_url = e.ChildAttr("img", "src")
- W.Shop = "MC Whisky"
+ W.Shop = shop.Id
W.Spirit_type = "Whisky"
Whiskys = append(Whiskys, W)