【问题标题】:Importxml into Google Sheets automatically将xml自动导入谷歌表格
【发布时间】:2019-05-27 01:09:51
【问题描述】:

我想知道如何使用 Google 电子表格中的 Importxml 功能导入数据。

https://www.tigeretf.com/front/products/product.do?ksdFund=KR7305080004&fundTypeCode=01000800

以上

<기준가격(원)>

我要导入数据。

importxml(I2,I3)

I2 = https://www.tigeretf.com/front/products/product.do?ksdFund=KR7305080004&amp;fundTypeCode=01000800

I3 = //*[@id="container"]/div[2]/div[2]/div[1]/div/table/tbody/tr/td[2]/strong/text()

数据正在加载,无法刷新。

我希望每次刷新工作表时自动加载 &lt;기준가격(원)&gt; 数据。

【问题讨论】:

    标签: google-sheets google-sheets-formula google-sheets-importxml


    【解决方案1】:

    或许可以这样尝试:

    =QUERY(IMPORTXML(
     "https://www.tigeretf.com/front/products/product.do?ksdFund=KR7305080004&fundTypeCode=01000800", 
     "//strong[@class='price']"), "offset 1")
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-12-09
      • 1970-01-01
      • 1970-01-01
      • 2023-01-04
      • 1970-01-01
      相关资源
      最近更新 更多