diff options
Diffstat (limited to 'crawler/shop_whiskyde.go')
| -rw-r--r-- | crawler/shop_whiskyde.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawler/shop_whiskyde.go b/crawler/shop_whiskyde.go index 657bfe0..d90e0cc 100644 --- a/crawler/shop_whiskyde.go +++ b/crawler/shop_whiskyde.go @@ -26,13 +26,13 @@ func ScrapeWhiskyde(shop Shop) []Angebot { var err error e.ForEach(".article-price-original", func(i int, e *colly.HTMLElement) { - W.Original_price, err = sanitize_price(e.ChildText("del")) + W.Original_price, err = convert_price(e.ChildText("del")) if err != nil { log.Fatal(err) } }) e.ForEach(".article-price", func(i int, e *colly.HTMLElement) { - W.Discounted_price, err = sanitize_price(e.ChildText(".article-price-default")) + W.Discounted_price, err = convert_price(e.ChildText(".article-price-default")) if err != nil { log.Fatal(err) } |
