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