From 4e4880fd6631f46138fabee5e20ddc22c84ac6bd Mon Sep 17 00:00:00 2001 From: unwox Date: Wed, 29 Jan 2025 22:00:44 +0600 Subject: add suhexuan parser --- bin/fetch.fnl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/fetch.fnl') diff --git a/bin/fetch.fnl b/bin/fetch.fnl index 26566f7..213475e 100644 --- a/bin/fetch.fnl +++ b/bin/fetch.fnl @@ -9,6 +9,7 @@ (local gorkovchay (require :parser.gorkovchay)) (local moychay (require :parser.moychay)) (local ozchai (require :parser.ozchai)) +(local suhexuan (require :parser.suhexuan)) (local ipuer (require :parser.ipuer)) (local artoftea (require :parser.artoftea)) (local clubcha (require :parser.clubcha)) @@ -163,8 +164,7 @@ ;; replace with with-tx (local tx (must (luna.db.begin db))) (must (luna.db.exec-tx tx "DELETE FROM product_tags;" [])) -(each [_ parser (pairs [ozchai clubcha ipuer artoftea chaekshop moychay - gorkovchay])] +(each [_ parser (pairs [suhexuan])] (store-products tx (parser.products))) (cache.clear-tx tx "page:") (populate-search-table tx) -- cgit v1.2.3