Google Sheets IMPORTXML error: Import Internal Error

Google Sheets IMPORTXML error: Import Internal Error

我在尝试从此 link 导入数据时遇到了一个奇怪的错误:https://www.atproperties.com/472719 使用 XPath //li[@class="active"] 我很困惑,因为从类似来源获取数据没有问题:https://www.atproperties.com/370926 using the same XPath. Both hyperlinks are opening the same way in chrome browser and have the same XPath. Here is the link 到电子表格。 任何帮助将不胜感激。谢谢

针对此特定情况使用 IMPORTDATAINDEXREGEXEXTRACT

=REGEXEXTRACT(INDEX(IMPORTDATA(B2);9;1);" - (.+)")&", "&INDEX(IMPORTDATA(B2);9;2)

输出:

旁注:您的 XPath 应按如下方式修复:(//li[@class="active"])[1]