summaryrefslogtreecommitdiff
path: root/crawler/shop_bottleworld.go
diff options
context:
space:
mode:
Diffstat (limited to 'crawler/shop_bottleworld.go')
-rw-r--r--crawler/shop_bottleworld.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawler/shop_bottleworld.go b/crawler/shop_bottleworld.go
index 3eb151d..06082d4 100644
--- a/crawler/shop_bottleworld.go
+++ b/crawler/shop_bottleworld.go
@@ -61,6 +61,7 @@ func ScrapeBottleWord(shop Shop) []Angebot {
W.Abv = get_abv(e)
W.Spirit_type = e.Request.Ctx.Get("spirit_type")
+ W.Website = e.Request.Ctx.Get("website")
Whiskys = append(Whiskys, W)
})
@@ -78,6 +79,8 @@ func ScrapeBottleWord(shop Shop) []Angebot {
e.Request.Ctx.Put("abv", td_str)
}
})
+
+ e.Request.Ctx.Put("website", string(e.Response.Body))
})
c.OnHTML(".short-description", func(e *colly.HTMLElement) {