diff options
Diffstat (limited to 'crawler/shop_drankdozijn.go')
| -rw-r--r-- | crawler/shop_drankdozijn.go | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/crawler/shop_drankdozijn.go b/crawler/shop_drankdozijn.go index 7a9e786..d6b2f62 100644 --- a/crawler/shop_drankdozijn.go +++ b/crawler/shop_drankdozijn.go @@ -118,7 +118,6 @@ func (app *App) ScrapeDrankdozijn(shop Shop) []Angebot { // TODO panic(err) } - log.Println(W.Original_price) W.Discounted_price, err = convert_price(fmt.Sprintf("%.2f", api_data.SalePrice)) if err != nil { @@ -266,7 +265,12 @@ func (app *App) ScrapeDrankdozijn(shop Shop) []Angebot { } } } - W.Debug("DEBUG OFFER") + + //W.Debug("DEBUG OFFER") + if W.Abv == 0 { + W.Println("Drankdozijn: Abv is zero") + continue + } Offers = append(Offers, W) } |
