From 14a89c34096d2ddb2a7750feda143207110e838b Mon Sep 17 00:00:00 2001 From: horus_arch Date: Wed, 7 Feb 2018 19:09:22 +0100 Subject: Adds sanitizer. --- crawler/shop_whiskyworld.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawler/shop_whiskyworld.go') diff --git a/crawler/shop_whiskyworld.go b/crawler/shop_whiskyworld.go index e07c42f..36b144e 100644 --- a/crawler/shop_whiskyworld.go +++ b/crawler/shop_whiskyworld.go @@ -32,13 +32,13 @@ func ScrapeWhiskyworld(shop Shop) []Angebot { var err error - W.Original_price, err = sanitize_price(regular_price) + W.Original_price, err = convert_price(regular_price) if err != nil { log.Fatal(err) return } - W.Discounted_price, err = sanitize_price(e.ChildText(".uvp")) + W.Discounted_price, err = convert_price(e.ChildText(".uvp")) if err != nil { log.Fatal(err) return -- cgit v1.2.3