From 155c9c5bbb703490e5d61f7b4504987e35088a95 Mon Sep 17 00:00:00 2001 From: unwox Date: Wed, 11 Dec 2024 20:41:29 +0600 Subject: integrate moychay.ru tea shop --- parser/ozchai.fnl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'parser/ozchai.fnl') diff --git a/parser/ozchai.fnl b/parser/ozchai.fnl index 9ccce5f..16a3265 100644 --- a/parser/ozchai.fnl +++ b/parser/ozchai.fnl @@ -17,7 +17,7 @@ "&size=36")) (fn destruct-response [response] - {:items response.products}) + {:items (. (json.decode response) :products)}) (fn normalize [product] (local gallery (json.decode product.gallery)) @@ -54,4 +54,4 @@ destruct-response normalize)) -{: products :title "Чайная #OZCHAI" :url "https://ozchai.ru"} +{:products products :title "Чайная #OZCHAI" :url "https://ozchai.ru"} -- cgit v1.2.3