summaryrefslogtreecommitdiff
path: root/parser
diff options
context:
space:
mode:
Diffstat (limited to 'parser')
-rw-r--r--parser/artoftea.fnl5
1 files changed, 3 insertions, 2 deletions
diff --git a/parser/artoftea.fnl b/parser/artoftea.fnl
index faef61d..386dc77 100644
--- a/parser/artoftea.fnl
+++ b/parser/artoftea.fnl
@@ -24,12 +24,13 @@
(+
(*
(parser.anywhere
- (parser.tag :option {:data-price-prefix "*" :data-price "*"
+ (parser.tag :option {:data-price-prefix "*"
+ :data-price (peg.Cg (parser.till "\"") :price)
:value "*" :selected "selected"}
(peg.Cg (parser.till "</option>") :weight)))
(parser.anywhere
(parser.tag :span {:data-price "*" :class "*"}
- (peg.Cg (parser.till "</span>") :price))))
+ (parser.till "</span>"))))
(parser.anywhere
(parser.tag :span {:data-price "*" :class "*"}
(peg.Cg (parser.till "</span>") :price))))