diff options
| author | unwox <me@unwox.com> | 2024-10-10 11:51:21 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2024-10-10 11:51:38 +0600 |
| commit | dfcdaab3a84389e610a57fa82ee0d3a216f4821d (patch) | |
| tree | e0318abc43baaf83987381312a02c97ffe8b6f9b /parser/ipuer.fnl | |
| parent | ddc11ff1cc31f17ff46523a649917940357825b5 (diff) | |
allow to specify several tags for a product (instead of one category)
Diffstat (limited to 'parser/ipuer.fnl')
| -rw-r--r-- | parser/ipuer.fnl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/parser/ipuer.fnl b/parser/ipuer.fnl index 8b0f6be..b16ead5 100644 --- a/parser/ipuer.fnl +++ b/parser/ipuer.fnl @@ -59,12 +59,12 @@ (fn products [] (fetcher.from-html - [{:path "shen-puer" :category "Шен пуэр"} - {:path "shu-puer" :category "Шу пуэр"} + [{:path "shen-puer" :tags ["Шен пуэр"]} + {:path "shu-puer" :tags ["Шу пуэр"]} {:path "drugoy-chay"} - {:path "blagovoniya" :category "Благовония"} - {:path "posuda" :category "Посуда"} - {:path "282" :category "Посуда"}] + {:path "blagovoniya" :tags ["Благовония"]} + {:path "posuda" :tags ["Посуда"]} + {:path "282" :tags ["Посуда"]}] format-url product-peg normalize)) |
