Forming Xpath Query for total Google results
Posted
by
user619879
on Stack Overflow
See other posts from Stack Overflow
or by user619879
Published on 2011-02-16T15:08:07Z
Indexed on
2011/02/16
15:25 UTC
Read the original article
Hit count: 216
google-docs
I've used this formula in Google Spreadsheets in the past to input the number of search results into a cell. The formula's not working anymore and I know I need to fix the xpath query.
any ideas?
Current formula:
=importXML("http://www.google.com/search?num=100&q="&A2,"//p[@id='resultStats']/b[3]")
Spreadsheet for public testing:
https://spreadsheets8.google.com/ccc?key=tJzmFllp7Sk1lt23cXSVXFw&authkey=CM625OUO#gid=0
© Stack Overflow or respective owner