diff options
| author | unwox <me@unwox.com> | 2024-12-19 16:03:45 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2024-12-19 16:13:42 +0600 |
| commit | 441d7fd5a5a0ccf8d53238d717ec5119024cbbfa (patch) | |
| tree | 0ab998dfaaddd0d6bcde9aa6d398364fc996531f /parser/ipuer.fnl | |
| parent | d3a445ad7270e788812dd16e19a2820fc70a91b6 (diff) | |
parse teaware volume and let users filter by it
Diffstat (limited to 'parser/ipuer.fnl')
| -rw-r--r-- | parser/ipuer.fnl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parser/ipuer.fnl b/parser/ipuer.fnl index 7a1ae6b..c1a8da7 100644 --- a/parser/ipuer.fnl +++ b/parser/ipuer.fnl @@ -52,7 +52,6 @@ (local weight (parser.guess-weight product.title)) (local price (number.string->number product.price)) {:site "ipuer" - :id product.id :url (.. "https://ipuer.ru" product.url) :title product.title :description product.description @@ -60,6 +59,7 @@ :year (parser.guess-year product.title) :price price :weight weight + :volume (parser.guess-volume product.title) :category product.category :price-per (if (and price weight (< 0 weight)) (/ (math.ceil (* (/ price weight) 10)) 10) |
