xpath - Google spreadsheet importXML works partly -
when try headers of ads autoscout24 using xpath rule in google spreadsheet:
//div[@id="listoutput"]//div[@class="headcar"]/a/text()
the result #na - no data received result of xpath queries.
but, when try other element page, example "kryteria wyszukiwania:" same page using xpath rule:
//li/span
the output correct.
what problem?
in html source viewed in chrome -- "view-source:http://www.autoscout24.pl/listgn.aspx?..." not through firebug or chrome's inspect tool, div#listoutput contains this:
<div id="listoutput"> <div id="listoutput_part_one"> </div> <div id="divsuperadplaceholder"> </div> <div id="listoutput_part_two"> </div> </div>
whereas source code contains "li/span", example:
<li class="breadcrumb-item breadcrumb-first"> <span>kryteria wyszukiwania:</span> </li>
the rest of elements must built javascript code run browser, , doubt google spreadsheet interprets , executes javascript page.
Comments
Post a Comment