diff options
Diffstat (limited to 'crawler/shop_bottleworld.go')
| -rw-r--r-- | crawler/shop_bottleworld.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawler/shop_bottleworld.go b/crawler/shop_bottleworld.go index 720f2c8..0057bff 100644 --- a/crawler/shop_bottleworld.go +++ b/crawler/shop_bottleworld.go @@ -20,6 +20,8 @@ func (app *App) ScrapeBottleWord(shop Shop) []Angebot { c.OnHTML("li.item", func(e *colly.HTMLElement) { W := Angebot{} + W.Shop = shop.Id + whisky_name := e.ChildText("h2 > a") var err error @@ -63,8 +65,6 @@ func (app *App) ScrapeBottleWord(shop Shop) []Angebot { e.Request.Visit(W.Url) - W.Shop = shop.Id - var ctx string W.Volume, ctx = get_volume(e) if W.Volume == 0 { |
