【发布时间】:2025-12-04 06:25:01
【问题描述】:
我正在尝试从 https://finance.yahoo.com/ 中为不同市场的多家公司提取“远期股息和收益率”值,并将其提取到 Google 表格中。
这是成功的:
=IMPORTXML("https://finance.yahoo.com/quote/WBS", "//*[@id='quote-summary']/div[2]/table/tbody/tr[6]/td[2]")
但这会因#N/A 失败:
=IMPORTXML("https://finance.yahoo.com/quote/CBA.AX", "//*[@id='quote-summary']/div[2]/table/tbody/tr[6]/td[2]")
我无法确定 ASX 股票代码的不同之处,为什么 CBA.AX 会导致问题?
非常感谢您的帮助
【问题讨论】: