'Google's IMPORTXML is returning "Imported content is empty", even though content loads without JavaScript
Been scouring the internet for solutions to this, so finally creating my own post in the hopes someone will be able to help:
I'm looking to do some web scraping from Newegg in a similar way that I've already done for Best Buy. I'm familiar with the fact that IMPORTXML cannot scrape results loaded from JavaScript, but I don't think that's the case here as I can still see the content I'm looking for when Javascript is disabled.
Here is the formula I'm currently running:
IMPORTXML("https://www.newegg.com/black-msi-creator-15-a11ue-491-creating-designing/p/N82E16834156059","/html/body/div[8]/div[4]/div/div/div/div[1]/div[1]/div[2]/div[2]/ul/li[3]/strong")
I am able to scrape the title and images on the site with:
IMPORTXML("https://www.newegg.com/black-msi-creator-15-a11ue-491-creating-designing/p/N82E16834156059","/html/head/title | //img/@src")
so I know at least some content can be scraped.
Any assistance would be greatly appreciated as I can't find anybody else with the same problem.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
