From ca04058da0cbc4835e02287b080feb176d5babf1 Mon Sep 17 00:00:00 2001 From: unwox Date: Sun, 25 May 2025 22:38:09 +0600 Subject: add chaibez parser --- bin/fetch.fnl | 3 ++- bin/serve.fnl | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/fetch.fnl b/bin/fetch.fnl index 794d147..dd7c6c4 100644 --- a/bin/fetch.fnl +++ b/bin/fetch.fnl @@ -10,6 +10,7 @@ (local artoftea (require :parser.artoftea)) (local batatcha (require :parser.batatcha)) +(local chaibez (require :parser.chaibez)) (local chaekshop (require :parser.chaekshop)) (local clubcha (require :parser.clubcha)) (local daochai (require :parser.daochai)) @@ -196,7 +197,7 @@ (each [_ parser (pairs [batatcha yoceramics daochai gorkovchay ozchai suhexuan ipuer artoftea clubcha chaekshop kolokolnikovchai - tea108 teaworkshop moychay])] + tea108 teaworkshop chaibez moychay])] (local products (parser.products)) (when (< 0 (# products)) ;; replace with with-tx diff --git a/bin/serve.fnl b/bin/serve.fnl index 0d742e3..b764338 100644 --- a/bin/serve.fnl +++ b/bin/serve.fnl @@ -469,8 +469,8 @@ :selected (if (= form.site val) "selected" nil)} (. (require (.. "parser." val)) :title)]) [:suhexuan :ozchai :batatcha :kolokolnikovchai :yoceramics :tea108 - :ipuer :clubcha :daochai :chaekshop :teaworkshop :artoftea - :moychay :gorkovchay]))]] + :ipuer :clubcha :daochai :chaekshop :teaworkshop :chaibez + :artoftea :moychay :gorkovchay]))]] [:div {} [:select {:name "sort"} [:option {:value ""} "~ Порядок ~"] -- cgit v1.2.3