Quantcast
Channel: SeoTools for Excel - Community - Latest topics
Viewing all articles
Browse latest Browse all 1126

Noobie- First attempt and not working

$
0
0

I am trying to get some info from the following page, and most seem to not return results.
It may be me...
https://www.pennstateind.com/store/AQB14X.html

Some of the things I want are some tables and the product rating to start with.

Here is the xpath to the rating:
//*[@id="tt-reviews-summary"]/div/div/div[2]/div[1]/div[1]/span[1]
here is the full xpat, which I have also tried:
/html/body/div[5]/div/div/div/div[3]/div/div[3]/div[2]/div[1]/div/div/div[2]/div[1]/div[1]/span[1]

Here is what I have entered
=XPathOnUrl(A2,"//*[@id='tt-reviews-summary']/div/div/div[2]/div[1]/div[1]/span[1]")
I was expecting to get 4.5

Then here is a table:
This is the specification table:
//*[@id="specstable"]
/html/body/div[5]/div/div/div/div[3]/div/div[3]/div[1]/table
(note, I do not need the table formatted, just the data, but any formatting is Ok. It can be the outertext, outerhtml etc. I am just looking for the data in any manner, I can parse it from there!)

Is there docs that tell me how to get the different types of data if I need to worry about the type?

Thanks
Bruce

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 1126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>