I am able to get the child element (that has a class) but need to get the href from a-element parent
This is the HTML structure:
<a href="/linkIWantToGet">
<span class="SPANCLASS">
BlaBla
</span>
</a>
I tried
{
"extractAttribute":"href",
"id":"list2",
"multiple":false,
"parentSelectors":["initialLink"],
"selector":"span.SPANCLASS:parent",
"type":"SelectorElementAttribute"
},
But doesn't work.
I also tried, without luck either:
{
"extractAttribute":"href",
"id":"list2",
"multiple":false,
"parentSelectors":["initialLink"],
"selector":"span.SPANCLASS:parent",
"type":"SelectorElementAttribute"
},