summaryrefslogtreecommitdiff
path: root/crawler/shop_whiskysitenl.go
diff options
context:
space:
mode:
authorhorus_arch2018-02-07 19:09:22 +0100
committerhorus_arch2018-02-07 19:09:22 +0100
commit14a89c34096d2ddb2a7750feda143207110e838b (patch)
treea3edce53bf431977b196fbe4e7fcd1027c11dc41 /crawler/shop_whiskysitenl.go
parent213317c558142f18b213d3d7b46231817138ca20 (diff)
downloadalkobote-14a89c34096d2ddb2a7750feda143207110e838b.tar.gz
Adds sanitizer.
Diffstat (limited to 'crawler/shop_whiskysitenl.go')
-rw-r--r--crawler/shop_whiskysitenl.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawler/shop_whiskysitenl.go b/crawler/shop_whiskysitenl.go
index c8b35a2..656cf18 100644
--- a/crawler/shop_whiskysitenl.go
+++ b/crawler/shop_whiskysitenl.go
@@ -34,12 +34,12 @@ func ScrapeWhiskysitenl(shop Shop) []Angebot {
}
discounted_price := r.FindString(strings.Trim(strings.TrimPrefix(price_discount_noisy, regular_price), ""))
- W.Original_price, err = sanitize_price(regular_price)
+ W.Original_price, err = convert_price(regular_price)
if err != nil {
//log.Println(W.Name, err)
return
}
- W.Discounted_price, err = sanitize_price(discounted_price)
+ W.Discounted_price, err = convert_price(discounted_price)
if err != nil {
//log.Println(W.Name, err)
return