diff options
Diffstat (limited to 'crawler/shop_mcwhisky.go')
| -rw-r--r-- | crawler/shop_mcwhisky.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawler/shop_mcwhisky.go b/crawler/shop_mcwhisky.go index b44e892..2d4c0db 100644 --- a/crawler/shop_mcwhisky.go +++ b/crawler/shop_mcwhisky.go @@ -65,6 +65,8 @@ func ScrapeMCWhisky(shop Shop) []Angebot { W.Shop = shop.Id W.Spirit_type = "Whisky" + W.Website = e.Request.Ctx.Get("website") + Whiskys = append(Whiskys, W) }) @@ -84,6 +86,7 @@ func ScrapeMCWhisky(shop Shop) []Angebot { } e.Request.Ctx.Put("volume", r_volume.FindString(text_noisy)) + e.Request.Ctx.Put("website", string(e.Response.Body)) }) |
