diff options
Diffstat (limited to 'crawler/shop_bottleworld.go')
| -rw-r--r-- | crawler/shop_bottleworld.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawler/shop_bottleworld.go b/crawler/shop_bottleworld.go index 3a3c631..b6af7e0 100644 --- a/crawler/shop_bottleworld.go +++ b/crawler/shop_bottleworld.go @@ -39,13 +39,13 @@ func ScrapeBottleWord(shop Shop) []Angebot { e.ForEach(".price-box", func(i int, e *colly.HTMLElement) { e.ForEach(".old-price", func(i int, e *colly.HTMLElement) { - W.Original_price, err = sanitize_price(e.ChildText(".price")) + W.Original_price, err = convert_price(e.ChildText(".price")) if err != nil { log.Fatal(err) } }) e.ForEach(".special-price", func(i int, e *colly.HTMLElement) { - W.Discounted_price, err = sanitize_price(e.ChildText(".price")) + W.Discounted_price, err = convert_price(e.ChildText(".price")) if err != nil { log.Fatal(err) } |
