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