在 Google 表格中从 Etsy 站点导入 xml

Importxml from Etsy site in Google Sheets

我想从 link 中提取 销售信息 importxml

link

我的公式:

substitute(substitute(to_text(index(IMPORTXML(strong textLINK;"//div['before-sticky-nav']//div['trust-signals col-group content   no-banner']//div['show-lg show-xl show-tv shop-info col-lg-7 pl-lg-3']//p['trust-signal-row text-gray-lighter']/span[3]");1));" Sales";"");" Sale";"")

公式已经用了1个月了,昨天没用。我已经尝试了 xpath 的许多变体,但仍然没有成功。 有什么想法吗?

=VALUE(REGEXREPLACE(REGEXEXTRACT(QUERY({ARRAY_CONSTRAIN(IMPORTDATA(
 "https://www.etsy.com/shop/1000Lightyear"), 4000, 1)},
 "WHERE Col1 CONTAINS 'mr-xs-2 pr-xs-2 br-xs-1"">'"), 
 "\>([0-9 A-Za-z]+)\<"),
 " Sales| Sale", ""))