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/artoftea.fnl | |
| parent | ddc11ff1cc31f17ff46523a649917940357825b5 (diff) | |
allow to specify several tags for a product (instead of one category)
Diffstat (limited to 'parser/artoftea.fnl')
| -rw-r--r-- | parser/artoftea.fnl | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/parser/artoftea.fnl b/parser/artoftea.fnl index 1b8b6e1..f053833 100644 --- a/parser/artoftea.fnl +++ b/parser/artoftea.fnl @@ -64,18 +64,18 @@ (fn products [] (fetcher.from-html - [{:path "redtea" :category "Красный чай"} - {:path "greentea" :category "Зеленый чай"} - {:path "puer/shu-puer" :category "Шу пуэр"} - {:path "puer/sheng-puer" :category "Шен пуэр"} + [{:path "redtea" :tags ["Красный чай"]}] + {:path "greentea" :tags ["Зеленый чай"]} + {:path "puer/shu-puer" :tags ["Шу пуэр"]} + {:path "puer/sheng-puer" :tags ["Шен пуэр"]} {:path "rassypnoi-puer"} - {:path "oolong" :category "Улун"} - {:path "whitetea" :category "Белый чай"} - {:path "yellowtea" :category "Желтый чай"} - {:path "xej-cha-chernyj-chaj" :category "Хэй ча"} - {:path "posuda" :category "Посуда"} - {:path "tipoty-lightking" :category "Посуда"} - {:path "accesories" :category "Аксессуары"} + {:path "oolong" :tags ["Улун"]} + {:path "whitetea" :tags ["Белый чай"]} + {:path "yellowtea" :tags ["Желтый чай"]} + {:path "xej-cha-chernyj-chaj" :tags ["Хэй ча"]} + {:path "posuda" :tags ["Посуда"]} + {:path "tipoty-lightking" :tags ["Посуда"]} + {:path "accesories" :tags ["Аксессуары"]} {:path "matcha-i-aksessuary"} {:path "upakovka"} {:path "eksklyuzivny-chay"} |
