summaryrefslogtreecommitdiff
path: root/crawler/shop_whiskysitenl.go
diff options
context:
space:
mode:
Diffstat (limited to 'crawler/shop_whiskysitenl.go')
-rw-r--r--crawler/shop_whiskysitenl.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/crawler/shop_whiskysitenl.go b/crawler/shop_whiskysitenl.go
index e410445..f1b667c 100644
--- a/crawler/shop_whiskysitenl.go
+++ b/crawler/shop_whiskysitenl.go
@@ -47,14 +47,14 @@ func (app *App) ScrapeWhiskysitenl(shop Shop) []Angebot {
if err != nil {
W.error_msg = err.Error()
W.error_ctx = regular_price
- WarnOffer(W, "Whiskysite.nl: Extracting original price failed")
+ PrintlnOffer(W, "Whiskysite.nl: Extracting original price failed")
return
}
W.Discounted_price, err = convert_price(discounted_price)
if err != nil {
W.error_msg = err.Error()
W.error_ctx = discounted_price
- WarnOffer(W, "Whiskysite.nl: Extracting discounted price failed")
+ PrintlnOffer(W, "Whiskysite.nl: Extracting discounted price failed")
return
}
@@ -66,13 +66,13 @@ func (app *App) ScrapeWhiskysitenl(shop Shop) []Angebot {
if volume_failed != "" {
W.error_msg = "Whiskysite.nl: Extracting volume via Liter-Regex failed"
W.error_ctx = volume_failed
- WarnOffer(W, "Whiskysite.nl: Extracting volume via Liter-Regex failed")
+ PrintlnOffer(W, "Whiskysite.nl: Extracting volume via Liter-Regex failed")
return
}
if e.Request.Ctx.Get("abv_failed") != "" {
W.error_msg = "Whiskysite.nl: Extracting abv via Abv-Regex failed"
W.error_ctx = e.Request.Ctx.Get("volume_failed")
- WarnOffer(W, "Whiskysite.nl: Extracting abv via Abv-Regex failed")
+ PrintlnOffer(W, "Whiskysite.nl: Extracting abv via Abv-Regex failed")
return
}
@@ -81,14 +81,14 @@ func (app *App) ScrapeWhiskysitenl(shop Shop) []Angebot {
if W.Volume == 0 {
W.error_msg = "Whiskysite.nl: Extracting volume failed"
W.error_ctx = ctx
- WarnOffer(W, "Whiskysite.nl: Extracting volume failed")
+ PrintlnOffer(W, "Whiskysite.nl: Extracting volume failed")
return
}
W.Abv, ctx = get_abv(e)
if W.Abv == 0 {
W.error_msg = "Whiskysite.nl: Extracting abv failed"
W.error_ctx = ctx
- WarnOffer(W, "Whiskysite.nl: Extracting abv failed")
+ PrintlnOffer(W, "Whiskysite.nl: Extracting abv failed")
return
}