Xpath on Ecommerce - Extract prices

Hi there,

Since cyberwow is coming up, I want to make a benchmark on multiple sites, so far the xpathonurl by default is working.

However there others that keep bringing empty values, for instance this one:

The value is: "

S/ 1,599 Internet

"

The Xpath I get is the following:
//*[@id="fbra_browseMainProduct"]/div/div/div[2]/div/div[2]/p[1]

Is there is something I'm doing wrong?.

So my formula is: xpathonurl(a2,xpath)

Thanks in advance

Hi,

That item is loaded from Javascript and is not available in the original HTML which Seotools parses. You can use the Phantom JS Connector to solve this, but the API is slow and the number number of free requests limited.

Here is an example with a cleaner Xpath:

1 Like