From 441d7fd5a5a0ccf8d53238d717ec5119024cbbfa Mon Sep 17 00:00:00 2001 From: unwox Date: Thu, 19 Dec 2024 16:03:45 +0600 Subject: parse teaware volume and let users filter by it --- parser/artoftea.fnl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'parser/artoftea.fnl') diff --git a/parser/artoftea.fnl b/parser/artoftea.fnl index 265e19b..773f038 100644 --- a/parser/artoftea.fnl +++ b/parser/artoftea.fnl @@ -44,7 +44,6 @@ (local weight (number.string->number product.weight)) (local price (number.string->number product.price)) {:site "artoftea" - :id product.id :title product.title :url product.url :description product.description @@ -52,6 +51,7 @@ :year year :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)}) -- cgit v1.2.3