summaryrefslogtreecommitdiff
path: root/parser/gorkovchay.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'parser/gorkovchay.fnl')
-rw-r--r--parser/gorkovchay.fnl4
1 files changed, 2 insertions, 2 deletions
diff --git a/parser/gorkovchay.fnl b/parser/gorkovchay.fnl
index 890fffb..8b6b71c 100644
--- a/parser/gorkovchay.fnl
+++ b/parser/gorkovchay.fnl
@@ -5,7 +5,6 @@
(local parser (require :parser.parser))
(local number (require :lib.number))
(local fetcher (require :fetcher))
-; (local utils (require :lib.utils))
(fn format-url [path page]
(.. "https://gorkovchay.ru/" path "/page-" page))
@@ -16,7 +15,8 @@
;; find a category ID for distinguishing teas from teaware later
(parser.anywhere (* "category_id=" (peg.Cg parser.pegs.number :category-id)))
(parser.anywhere (parser.tag :div {:class "ut2-gl__image"}))
- (parser.anywhere (parser.tag :a {:href (peg.Cg (parser.till "\"") :url)}))
+ (parser.anywhere (parser.tag :a {:href (peg.Cg (parser.till "\"") :url)
+ :class "product_icon_lnk"}))
(+
(* (parser.anywhere (* " src=\"" (peg.Cg (parser.till "\"") :image) "\""))
(parser.anywhere " lazy_load_disabled "))