summaryrefslogtreecommitdiff
path: root/crawler/main.go
diff options
context:
space:
mode:
authorMax2018-02-08 16:07:46 +0100
committerMax2018-02-08 16:07:46 +0100
commita418c52123969b01c37bafd67ec226410211cccf (patch)
tree3df058820a705f5d3fd3867432fd693d4322d751 /crawler/main.go
parentca8db86baaa367e3ec0af2c68ec63d21ae3b6190 (diff)
downloadalkobote-a418c52123969b01c37bafd67ec226410211cccf.tar.gz
Crawler extracts volume, price per litre and abv. (bottleshop only)
Diffstat (limited to 'crawler/main.go')
-rw-r--r--crawler/main.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawler/main.go b/crawler/main.go
index 9a21c5f..a25feaf 100644
--- a/crawler/main.go
+++ b/crawler/main.go
@@ -25,12 +25,13 @@ type App struct {
type Angebot struct {
Id int
Name string
- Abv string
- Volume string
+ Abv float32
+ Volume float32
Shop int
Url string
Original_price int
Discounted_price int
+ Price_per_litre int
Image_url string
Spirit_type string
Valid_until int