Describe the problem.
I have the following HTML structure with multiple rows like here:
<tr data-belongs-to-month="1585699200000" class="item expandable last" aria-expanded="false" style="">
<td class="date" fin-date="fuzzyMedium">Thu, 02.04.</td>
<td class="fill oversized-clip-right"><span class="text" ng-transclude="">London - United Kingdom</span></td>
<td class="amount">
<fin-amount value="item.displayAmount.value" type="item.type" colorize="true" class="colorize amount negative">-5'000.00</fin-amount>
<span class="currency"></span>
</td>
<td class="amount" fin-amount="item.balance.value">
1'910.05
</td>
</tr>
I'm wondering how to get the date as epoch from the parent attribute (data-belongs-to-month) and then all the other values from it's children.
In this case the desired output would be:
Epoch 1585699200000
Date Thu, 02.04
City London - United Kingdom
Amount-5'000.00
Sitemap:
{
"id":"rows",
"type":"SelectorElement",
"parentSelectors":[
"_root"
],
"selector":"iframe:iframe tr.item",
"multiple":true,
"delay":0
},
{
"id":"Date",
"type":"SelectorText",
"parentSelectors":[
"rows"
],
"selector":"td.date",
"multiple":false,
"regex":"\d+.\d+",
"delay":0
},
{
"id":"Description",
"type":"SelectorText",
"parentSelectors":[
"rows"
],
"selector":"span.fadeout",
"multiple":false,
"regex":"",
"delay":0
},
{
"id":"Amount (text)",
"type":"SelectorText",
"parentSelectors":[
"rows"
],
"selector":"fin-amount",
"multiple":false,
"regex":"",
"delay":0
}