Hi, I am trying to scrape some data out of div that is the same, but inside there is a label to define the data.
https://dbu.dk/resultater/klub/1/klubinfo
<div class="col-pad">
*<label class="">Telefon</label>*
<span class="">9824 2172</span>
</div>
{"_id":"dbu-wrap","startUrl":["https://dbu.dk/resultater/klub/[1-5]/klubinfo"],"selectors":[{"id":"data-wrapper","type":"SelectorElement","parentSelectors":["_root"],"selector":"div.data-view","multiple":false,"delay":0},{"id":"Phone","type":"SelectorText","parentSelectors":["data-wrapper"],"selector":"div:nth-of-type(3) span:nth-of-type(1)","multiple":false,"regex":"","delay":0}]}
Normally I would just use "div:nth-of-type(3) span:nth-of-type(1)" but the div's can jump, so I'm not getting the data from the correct div as all is called col-pad.
So my question is, how do I extract data from div.col-pad:nth-of-tybe span WHERE LABEL = "Telefon"