From 4bd78ced2b84f9f4c851a8fdb872bc318a296221 Mon Sep 17 00:00:00 2001 From: unwox Date: Wed, 16 Oct 2024 22:42:28 +0600 Subject: fix artoftea parsing --- parser/artoftea.fnl | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'parser/artoftea.fnl') diff --git a/parser/artoftea.fnl b/parser/artoftea.fnl index c2fdc8f..5339a3f 100644 --- a/parser/artoftea.fnl +++ b/parser/artoftea.fnl @@ -39,11 +39,7 @@ (parser.tag :span {:id "*"} (peg.Cg (parser.till "") :price))))) (parser.anywhere - (parser.tag :input {:type "hidden" - :name "product_id" - :value (peg.Cg parser.pegs.number :id)})) - (parser.anywhere - (parser.tag :button {:type "*" :onclick "*" :class "*"} "Купить")))) + (parser.tag :button {:type "*" :onclick "*" :class "*"} "В корзину")))) (fn normalize [product] (local year (parser.guess-year product.title)) -- cgit v1.2.3