I am trying to crawl a webpage with a chart by my first spider.
When I am trying to use chrome locate XPath of this chart, it gives me something like this:
//*[@id="highcharts-jji61bd-2"]/svg/g[4]/g[1]/rect[1]
I also try this after some search,
//*[@id="highcharts-jji61bd-2"]/[name()='svg']
nothing return. An example would be "Age in Ultimo" in this webpage:
http://suburbdata.com.au/Sydney/Ultimo
but when I check the whole return of response, there is no chart. I can only find a container div element:
<div id="chart_age_distribution" class="details_chart" style="width:
250px; height: 200px; margin: 0 auto">
I think this chart is created on client side, but I don't know how I can do the simulation to create it.
Any idea would help. Thanks