diff options
| author | unwox <me@unwox.com> | 2025-05-25 21:20:28 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2025-05-25 21:20:36 +0600 |
| commit | 3a1b9d39ff109d9b7c92c0283e262e625a00a39a (patch) | |
| tree | ef14e2c8e7f857a930febef60cba88488aaa0722 /bin/fetch.fnl | |
| parent | 3109fdd4ec670eed45068b2b16f12f286d788482 (diff) | |
add batatcha parser
Diffstat (limited to 'bin/fetch.fnl')
| -rw-r--r-- | bin/fetch.fnl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/fetch.fnl b/bin/fetch.fnl index 72d4c1f..794d147 100644 --- a/bin/fetch.fnl +++ b/bin/fetch.fnl @@ -9,6 +9,7 @@ (local {: must} (require :lib.utils)) (local artoftea (require :parser.artoftea)) +(local batatcha (require :parser.batatcha)) (local chaekshop (require :parser.chaekshop)) (local clubcha (require :parser.clubcha)) (local daochai (require :parser.daochai)) @@ -19,8 +20,8 @@ (local ozchai (require :parser.ozchai)) (local suhexuan (require :parser.suhexuan)) (local tea108 (require :parser.tea108)) -(local yoceramics (require :parser.yoceramics)) (local teaworkshop (require :parser.teaworkshop)) +(local yoceramics (require :parser.yoceramics)) (when _G.unpack (tset table :unpack _G.unpack)) @@ -193,9 +194,9 @@ FROM products;" [])) (must (luna.db.commit tx))) - (each [_ parser (pairs [yoceramics daochai gorkovchay moychay ozchai suhexuan + (each [_ parser (pairs [batatcha yoceramics daochai gorkovchay ozchai suhexuan ipuer artoftea clubcha chaekshop kolokolnikovchai - tea108 teaworkshop])] + tea108 teaworkshop moychay])] (local products (parser.products)) (when (< 0 (# products)) ;; replace with with-tx |
