0

The following is not returning any data in a Google spreadsheet, even though the //h1 xpath query verifies OK using Chrome's XPath Helper extension:

=importXML("http://www.amazon.com/gp/offer-listing/1118358708","//h1")

What am I missing here?

Rubén
  • 34,714
  • 9
  • 70
  • 166
whuffo15
  • 29
  • 1
  • 3
  • That's importXML("http://www.amazon.com/gp/offer-listing/1118358708","//h1"). Not sure why importXML("http://rads.stackoverflow.com/amzn/click/1118358708","//h1") is displayed. – whuffo15 Jan 28 '13 at 18:06
  • Very strange -- the importxml works fine for the amazon.co.uk site ... – whuffo15 Jan 28 '13 at 19:18
  • Does this answer your question? [Capture element using ImportXML with XPath](https://stackoverflow.com/questions/47908176/capture-element-using-importxml-with-xpath) – Rubén Aug 03 '20 at 16:19

1 Answers1

1

Google bots respect the robots.txt file, which includes:

Disallow: /gp/offer-listing/
pnuts
  • 58,317
  • 11
  • 87
  • 139