summaryrefslogtreecommitdiff
path: root/crawler/shop_whiskyworld.go
diff options
context:
space:
mode:
Diffstat (limited to 'crawler/shop_whiskyworld.go')
-rw-r--r--crawler/shop_whiskyworld.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawler/shop_whiskyworld.go b/crawler/shop_whiskyworld.go
index def22c6..6306f6f 100644
--- a/crawler/shop_whiskyworld.go
+++ b/crawler/shop_whiskyworld.go
@@ -28,6 +28,9 @@ func (app *App) ScrapeWhiskyworld(shop Shop) []Angebot {
W := Angebot{}
+ W.Shop = shop.Id
+ W.Spirit_type = "Whisky"
+
whisky_name_part1 := e.ChildText("h3")
whisky_name_part2 := e.ChildText(".item-description")
@@ -105,9 +108,6 @@ func (app *App) ScrapeWhiskyworld(shop Shop) []Angebot {
W.Image_url = "https:" + e.ChildAttr("img", "src")
- W.Shop = shop.Id
- W.Spirit_type = "Whisky"
-
e.Request.Visit(W.Url)
W.Website = e.Request.Ctx.Get("website")