summaryrefslogtreecommitdiff
path: root/parser/chaekshop.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'parser/chaekshop.fnl')
-rw-r--r--parser/chaekshop.fnl2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser/chaekshop.fnl b/parser/chaekshop.fnl
index 68046c1..21ed49b 100644
--- a/parser/chaekshop.fnl
+++ b/parser/chaekshop.fnl
@@ -38,7 +38,6 @@
(parser.guess-weight product.title)))
(local price (number.string->number (string.gsub product.price "," ".")))
{:site "chaekshop"
- :id (.. "https://chaekshop.ru" product.url)
:title product.title
:url (.. "https://chaekshop.ru" product.url)
:description ""
@@ -46,6 +45,7 @@
:year (parser.guess-year product.title)
:price price
:weight weight
+ :volume (parser.guess-volume product.title)
:price-per (if (and price weight (< 0 weight))
(/ (math.ceil (* (/ price weight) 10)) 10)
nil)})