Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Google Sheets importxml() can't fetch from http://www.aastocks.com/ [duplicate]

$
0
0

I'm trying to fetch data using importxml() but it just fails with "#N/A". I have tried it on other pages and works fine. But it doesn't work on this site, and I don't know why.

Here is the formula that doesn't work:

=importxml("http://www.aastocks.com/en/stocks/quote/quick-quote.aspx?symbol=00027","//*[@id='tbQuote']/tbody/tr[1]/td[2]/div[2]/span/span/text()")

Ultimately I'm trying to fetch the "price change" (Chg), and "price change (%)" (Chg(%)) elements, but all fail.

What can I do to fetch these two pieces of data? Thanks a lot!


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>