Can't extract basic data using ThingspeakHTTP I don't know anything about HTML, but I want to extract the % probability of the Northern lights being visible from this webpage
http://aurorawatch.ca/.
I entered this into the URL field, and selected HTML version 1.

When I inspect the text element I want and copy the Xpath I get the following:

"/html/body/div1/div[5]/table/tbody/tr1/td/div1/table[2]/tbody/tr[2]/td/div/table/tbody/tr/td[2]/span"

and enter this into the "parse string" field of the ThingSpeak API app, but get the following error:

"Error parsing document, try a different parse string."

Most people who get this error seem to be getting data that doesn't load with the original page, so I think I must be missing something.

If there is a better solution for pulling this number to my ESP8266 than creating a thingspeak API, I would love to hear it too!
You should use this page, since the other is the front page of the site and more likely to be dynamic:


http://www.aurorawatch.ca/index.php?option=com_content&amp;task=view&amp;id=28&amp;Itemid=47


The XPath is also slightly different. The first tbody in the reported path doesn't actually exist. You should also add /text() to the end of the path to just return the textual content of the node:


/html/body/div[1]/div[5]/table[2]/tr[3]/td/table/tbody/tr/td[2]/span/text()