diff options
Diffstat (limited to 'parser/moychay.fnl')
| -rw-r--r-- | parser/moychay.fnl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/parser/moychay.fnl b/parser/moychay.fnl index cec6a77..864ccc4 100644 --- a/parser/moychay.fnl +++ b/parser/moychay.fnl @@ -35,7 +35,9 @@ :weight weight :volume (parser.guess-volume product.name) :price price - :image (.. "https://moychay.ru" product.image) + :image (if product.image + (.. "https://moychay.ru" product.image) + nil) :url (.. "https://moychay.ru" product.url) :price-per (if (and price weight (< 0 weight)) (/ (math.ceil (* (/ price weight) 10)) 10) |
