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

XPathOnURL Weather Data

$
0
0

@weatherGenius1 wrote:

I am new to SeoTools. Using the link: https://www.theweathernetwork.com/ca/hourly-weather-forecast/british-columbia/prince-george I would like to get data from the table marked "Hourly" placed in individual cells in excel.

The XPath for one of the elements of the table is:
id('hourly-weather-forecast')/x:div[1]/x:div[4]

From reading other comments my understanding is that the format should be converted to something like this:
"//*[@id='hourly-weather-forecast']/div[1]/div[4]"

Giving the equation:
=XPathOnUrl("https://www.theweathernetwork.com/ca/hourly-weather-forecast/british-columbia/prince-george","//*[@id='hourly-weather-forecast']/div[1]/div[4]")

however, I only seem able to get a blank space.

Any help on this would be appreciated!

Thanks!

Posts: 2

Participants: 2

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>