diff options
| author | unwox <me@unwox.com> | 2024-10-16 22:42:28 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2024-10-16 22:43:17 +0600 |
| commit | 4bd78ced2b84f9f4c851a8fdb872bc318a296221 (patch) | |
| tree | 66ff7fd19f217b5e4ceb9fda31f79f572fea3664 /parser/artoftea.fnl | |
| parent | fd9a559475ac6bff7c82594dc313d762ab807592 (diff) | |
fix artoftea parsing
Diffstat (limited to 'parser/artoftea.fnl')
| -rw-r--r-- | parser/artoftea.fnl | 6 |
1 files changed, 1 insertions, 5 deletions
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 "</span>") :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)) |
