diff options
| author | unwox <me@unwox.com> | 2025-02-03 12:33:46 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2025-02-03 12:33:58 +0600 |
| commit | 38467b38372e21ad17960797e41cc650fb70bf77 (patch) | |
| tree | d1f6f7acc46311e63514649e6abfe20270b6ec86 /bin | |
| parent | 20e9d84fe9481bd0b8db839127a60bf29ec88014 (diff) | |
add kolokolnikovchai parser
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/fetch.fnl | 3 | ||||
| -rw-r--r-- | bin/serve.fnl | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/bin/fetch.fnl b/bin/fetch.fnl index e7ee454..2edcdac 100644 --- a/bin/fetch.fnl +++ b/bin/fetch.fnl @@ -14,6 +14,7 @@ (local artoftea (require :parser.artoftea)) (local clubcha (require :parser.clubcha)) (local chaekshop (require :parser.chaekshop)) +(local kolokolnikovchai (require :parser.kolokolnikovchai)) (local {: must} (require :lib.utils)) (when _G.unpack @@ -163,7 +164,7 @@ (must (luna.db.commit tx))) (each [_ parser (pairs [gorkovchay moychay ozchai suhexuan ipuer artoftea - clubcha chaekshop])] + clubcha chaekshop kolokolnikovchai])] (local products (parser.products)) (when (< 0 (# products)) ;; replace with with-tx diff --git a/bin/serve.fnl b/bin/serve.fnl index 927bd71..9373f16 100644 --- a/bin/serve.fnl +++ b/bin/serve.fnl @@ -492,7 +492,7 @@ :selected (if (= form.site val) "selected" nil)} (. (require (.. "parser." val)) :title)]) [:ozchai :suhexuan :clubcha :ipuer :artoftea :chaekshop :moychay - :gorkovchay]))]] + :kolokolnikovchai :gorkovchay]))]] [:div {} [:select {:name "sort"} [:option {:value ""} "~ Порядок ~"] |
