I’ve hit an issue with data scraping a website.
In the attached screen grab of the html, I need to get the order number (0852/1010 in this example). Unfortunately data scraping refuses to grab the ‘text’ attr from the tag-text element. I’m assumming this is because the text itself is inside a tag, rather than between the fields themselves (as if I manually add the text between the angle brackets it extracts the text).
The same information can be grabbed further down the DOM inside a shadow dom (under the span), but I can’t work out how to get into the shadow dom.
Does anyone know 1) why it simply refuses the grab the text attr from the original tag-text element, 2) if there’s anyway to force it to do so, or 3) if I can grab it from the shadow dom somehow instead?