diff options
Diffstat (limited to 'crawler/shop_whic.go')
| -rw-r--r-- | crawler/shop_whic.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crawler/shop_whic.go b/crawler/shop_whic.go index b5ff1af..a199b2c 100644 --- a/crawler/shop_whic.go +++ b/crawler/shop_whic.go @@ -41,7 +41,7 @@ func (app *App) ScrapeWhic(shop Shop) []Angebot { if err != nil { W.error_msg = err.Error() W.error_ctx = e.ChildText(".price") - WarnOffer(W, "Whic: Converting original price failed") + PrintlnOffer(W, "Whic: Converting original price failed") return } }) @@ -50,7 +50,7 @@ func (app *App) ScrapeWhic(shop Shop) []Angebot { if err != nil { W.error_msg = err.Error() W.error_ctx = e.ChildText(".price") - WarnOffer(W, "Whic: Converting discounted price failed") + PrintlnOffer(W, "Whic: Converting discounted price failed") return } }) @@ -61,7 +61,7 @@ func (app *App) ScrapeWhic(shop Shop) []Angebot { if err != nil { W.error_msg = err.Error() W.error_ctx = base_price_noisy - WarnOffer(W, "Whic: Sanitizing base price failed") + PrintlnOffer(W, "Whic: Sanitizing base price failed") return } @@ -85,14 +85,14 @@ func (app *App) ScrapeWhic(shop Shop) []Angebot { if W.Volume == 0 { W.error_msg = "Whic: Volume is zero" W.error_ctx = ctx - WarnOffer(W, "Whic: Volume is zero") + PrintlnOffer(W, "Whic: Volume is zero") return } W.Abv, ctx = get_abv(e) if W.Abv == 0 { W.error_msg = "Whic: Abv is zero" W.error_ctx = ctx - WarnOffer(W, "Whic: Abv is zero") + PrintlnOffer(W, "Whic: Abv is zero") return } |
