summaryrefslogtreecommitdiff
path: root/bin/fetch.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'bin/fetch.fnl')
-rw-r--r--bin/fetch.fnl8
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/fetch.fnl b/bin/fetch.fnl
index 3b525d2..b632249 100644
--- a/bin/fetch.fnl
+++ b/bin/fetch.fnl
@@ -6,9 +6,12 @@
(local array (require :lib.array))
(local cache (require :lib.cache))
+(local {: must} (require :lib.utils))
+
(local artoftea (require :parser.artoftea))
(local chaekshop (require :parser.chaekshop))
(local clubcha (require :parser.clubcha))
+(local daochai (require :parser.daochai))
(local gorkovchay (require :parser.gorkovchay))
(local ipuer (require :parser.ipuer))
(local kolokolnikovchai (require :parser.kolokolnikovchai))
@@ -16,7 +19,6 @@
(local ozchai (require :parser.ozchai))
(local suhexuan (require :parser.suhexuan))
(local tea108 (require :parser.tea108))
-(local {: must} (require :lib.utils))
(when _G.unpack
(tset table :unpack _G.unpack))
@@ -164,8 +166,8 @@
FROM products;" []))
(must (luna.db.commit tx)))
-(each [_ parser (pairs [gorkovchay moychay ozchai suhexuan ipuer artoftea
- clubcha chaekshop kolokolnikovchai tea108])]
+ (each [_ parser (pairs [daochai gorkovchay moychay ozchai suhexuan ipuer
+ artoftea clubcha chaekshop kolokolnikovchai tea108])]
(local products (parser.products))
(when (< 0 (# products))
;; replace with with-tx