diff options
Diffstat (limited to 'crawler/shop_bottleworld.go')
| -rw-r--r-- | crawler/shop_bottleworld.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawler/shop_bottleworld.go b/crawler/shop_bottleworld.go index 0f1a301..2c6f734 100644 --- a/crawler/shop_bottleworld.go +++ b/crawler/shop_bottleworld.go @@ -84,6 +84,10 @@ func (app *App) ScrapeBottleWord(shop Shop) []Angebot { W.Spirit_type = e.Request.Ctx.Get("spirit_type") W.Website = e.Request.Ctx.Get("website") + if W.Original_price == 0 { + W.Println("Bottleworld: Original price is zero.") + return + } Whiskys = append(Whiskys, W) }) |
