I just started using ImportXML in Google sheets, although I have been successfully using it several times, this time I can't figure out what is going wrong:
I want to scrape the monthly visitors of a website through similarweb. Here is an example URL:
https://www.similarweb.com/website/autohuset-vestergaard.dk/#overview
Copying the Xpath results in:
//*[@id="overview"]/div/div/div/div[5]/div/div[1]/p[2]
The formula I'm using is:
=IMPORTXML("https://www.similarweb.com/website/autohuset-vestergaard.dk/#overview";"//*[@id='overview']//div/div/div/div[5]/div/div[1]/p[2]")
And I get a #N/A error
Any ideas? Thanks!
*
after the opening set of slashes?$x("//*[@id='overview']//div/div/div/div[5]/div/div[1]/p[2]") [p.engagement-list__item-value] 0: p.engagement-list__item-value length: 1 [[Prototype]]: Array(0)