I need to parse these 2 values: 0 (the funbonus one) and 3.207,70
How can I do that? Here the code, I can’t do that with LR
CSS Selector
First:
.realbonusoverview div span.balancevalue
Second:
.playbonusoverview div span.balancevalue
Attribute:
innerHTML
It’s not capturing anything
post the source so we can give the correct thing to use
i mean copy paste the source here not screenshot it.
Ok here it is
https://pad.riseup.net/p/6p7pyxQtPZf2EtjMl9d2
Please @Ruri help me
this should work, change parseOutput with what u want
BLOCK:Parse
input = @data.SOURCE
pattern = “balancevalue pull-right">(.[^<]*)”
outputFormat = “[1]”
RECURSIVE
MODE:Regex
=> VAR @parseOutput
ENDBLOCK
You need to escape double quotes and use the correct character ("
)
BLOCK:Parse
input = @data.SOURCE
pattern = "balancevalue pull-right\">(.[^<]*)"
outputFormat = "[1]"
RECURSIVE
MODE:Regex
=> VAR @parseOutput
ENDBLOCK
SOLVED, (love you guys) now it’s perfect but I don’t know how to divide different values in different variables
If your parsed variable is list
then you can access them like list[0]
, list[1]
and so on
Why is this happening?
Parse (MatchRegexGroupsRecursive) <<
Parsed 4 values:
€ 0
€ 0
€ 0
€ 0
Replace (Replace) <<
Replaced string: € 0
Replace (Replace) <<
Replaced string: € 0
Replace (Replace) <<
Replaced string: € 0
Replace (Replace) <<
Replaced string: 0
Replace (Replace) <<
Replaced string: 0
Replace (Replace) <<
Replaced string: 0
[Executing block Keycheck] ArgumentException: Comparison not supported (Parameter ‘comparison’)
BOT ENDED AFTER 5850 ms WITH STATUS: ERROR