diff options
Diffstat (limited to 'crawler/shop_whiskyworld.go')
| -rw-r--r-- | crawler/shop_whiskyworld.go | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/crawler/shop_whiskyworld.go b/crawler/shop_whiskyworld.go index 6306f6f..0f39db7 100644 --- a/crawler/shop_whiskyworld.go +++ b/crawler/shop_whiskyworld.go @@ -47,7 +47,7 @@ func (app *App) ScrapeWhiskyworld(shop Shop) []Angebot { if err != nil { W.error_msg = err.Error() W.error_ctx = regular_price - WarnOffer(W, "Whiskyworld: Converting original price failed") + PrintlnOffer(W, "Whiskyworld: Converting original price failed") return } @@ -55,7 +55,7 @@ func (app *App) ScrapeWhiskyworld(shop Shop) []Angebot { if err != nil { W.error_msg = err.Error() W.error_ctx = e.ChildText(".uvp") - WarnOffer(W, "Whiskyworld: Converting discounted price failed") + PrintlnOffer(W, "Whiskyworld: Converting discounted price failed") return } @@ -65,13 +65,13 @@ func (app *App) ScrapeWhiskyworld(shop Shop) []Angebot { if err != nil { W.error_msg = err.Error() W.error_ctx = text_noisy - WarnOffer(W, "Whiskyworld: Extracting volume failed") + PrintlnOffer(W, "Whiskyworld: Extracting volume failed") return } if W.Volume == 0 { W.error_msg = "Whiskyworld: Volume is zero" W.error_ctx = text_noisy - WarnOffer(W, "Whiskyworld: Volume is zero") + PrintlnOffer(W, "Whiskyworld: Volume is zero") return } abv_noisy := strings.TrimSpace(strings.SplitAfter(text_noisy, "Liter")[1]) @@ -80,13 +80,13 @@ func (app *App) ScrapeWhiskyworld(shop Shop) []Angebot { if err != nil { W.error_msg = err.Error() W.error_ctx = abv_noisy - WarnOffer(W, "Whiskyworld: Extracting abv failed") + PrintlnOffer(W, "Whiskyworld: Extracting abv failed") return } if W.Abv == 0 { W.error_msg = "Whiskyworld: Abv is zero" W.error_ctx = abv_noisy - WarnOffer(W, "Whiskyworld: Abv is zero") + PrintlnOffer(W, "Whiskyworld: Abv is zero") return } }) @@ -99,7 +99,7 @@ func (app *App) ScrapeWhiskyworld(shop Shop) []Angebot { if err != nil { W.error_msg = err.Error() W.error_ctx = base_price_noisy - WarnOffer(W, "Whiskyworld: Sanitizing base price failed") + PrintlnOffer(W, "Whiskyworld: Sanitizing base price failed") return } } |
