diff options
| author | unwox <me@unwox.com> | 2025-03-20 18:40:08 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2025-03-20 18:40:08 +0600 |
| commit | bd40987bfc1d02a87f8979b2ef85f7e0948e2bcb (patch) | |
| tree | d8f7967595c560448b5c5527d471dadcdf77c825 /parser/artoftea.fnl | |
| parent | d67419149696a0c9bc730575bd5781b80d84f80a (diff) | |
artoftea: finally fix prices!
Diffstat (limited to 'parser/artoftea.fnl')
| -rw-r--r-- | parser/artoftea.fnl | 5 |
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)))) |
