diff options
Diffstat (limited to 'parser/ozchai.fnl')
| -rw-r--r-- | parser/ozchai.fnl | 4 |
1 files changed, 2 insertions, 2 deletions
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"} |
