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