Hi,
anybody can help me ?
https://de.kompass.com/c/churov-gmbh/de613321/
I´m trying to scrape USt-IdNr. with:
//*[@id="productDetailUpdateable"]/div[2]/div[2]/div[2]/div/div/table/tbody/tr[6]/td
But I don't get any result. Thanks !
Hi,
anybody can help me ?
https://de.kompass.com/c/churov-gmbh/de613321/
I´m trying to scrape USt-IdNr. with:
//*[@id="productDetailUpdateable"]/div[2]/div[2]/div[2]/div/div/table/tbody/tr[6]/td
But I don't get any result. Thanks !
try this Xpath
//th[normalize-space(.)='KOMPASS ID?']/following-sibling::td[1]
Thanks !!
But you user KOMPASS ID not USt-IdNr.
Just exchanged it but doesn't work...
@Nosh, give this a try:
//*[@class='blockInterieur']//tr[th[contains(text(),'USt-IdNr.')]]/td/text()[1]
If you omit the [1]
, that Xpath returns 3 elements, so [1]
simply extracts the first, which is DE815217196 on the URL you provided.
Good luck!
-Tim