summaryrefslogtreecommitdiff
path: root/bin/fetch.fnl
diff options
context:
space:
mode:
authorunwox <me@unwox.com>2024-10-09 10:49:19 +0600
committerunwox <me@unwox.com>2024-10-09 10:49:19 +0600
commit469a210832d2e89038a8732414aafe42f928a14f (patch)
treecb3f79b361f7c08766f4128447bc063db30dc53e /bin/fetch.fnl
parentaf76f6151244bdccd745f86b1edca3038718b551 (diff)
integrate chaekshop.ru
Diffstat (limited to 'bin/fetch.fnl')
-rw-r--r--bin/fetch.fnl2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/fetch.fnl b/bin/fetch.fnl
index c51d0f9..3dcaded 100644
--- a/bin/fetch.fnl
+++ b/bin/fetch.fnl
@@ -7,6 +7,7 @@
(local ipuer (require :parser.ipuer))
(local artoftea (require :parser.artoftea))
(local clubcha (require :parser.clubcha))
+(local chaekshop (require :parser.chaekshop))
(local db (luna.db.open "file:var/db.sqlite?_journal=WAL&_sync=NORMAL"))
(luna.db.exec db "
@@ -72,6 +73,7 @@
FROM products;" [])
(luna.db.commit tx))
+(store-products (chaekshop.products))
(store-products (clubcha.products))
(store-products (artoftea.products))
(store-products (ipuer.products))