summaryrefslogtreecommitdiff
path: root/parser/artoftea.fnl
diff options
context:
space:
mode:
authorunwox <me@unwox.com>2025-02-03 15:43:58 +0600
committerunwox <me@unwox.com>2025-02-03 15:43:58 +0600
commit778ab54f2e97455e07b2247ec9ea79e3a39500e7 (patch)
tree8ce6b98b0aaa28c9d61490177b18f6dbf832cd46 /parser/artoftea.fnl
parenta44138f9110599d48a89cc307ebee1b9c9eae584 (diff)
add tea108 parser
Diffstat (limited to 'parser/artoftea.fnl')
-rw-r--r--parser/artoftea.fnl3
1 files changed, 2 insertions, 1 deletions
diff --git a/parser/artoftea.fnl b/parser/artoftea.fnl
index 5c7efff..1af4969 100644
--- a/parser/artoftea.fnl
+++ b/parser/artoftea.fnl
@@ -7,7 +7,8 @@
(local fetcher (require :fetcher))
(fn format-url [path page]
- (.. "https://artoftea.ru/" path "/?page=" page))
+ (.. "https://artoftea.ru/" path
+ "/" (if (< 1 page) (.. "?page=" page) "")))
(local product-peg
(*