【问题标题】:Imported content is empy Google Sheets导入的内容是空的 Google 表格
【发布时间】:2021-05-21 20:02:03
【问题描述】:

我试图在我的工作表中获取项目的价格,但我无法使用 IMPORTXML 命令获取它,因为它不断返回错误“导入的内容为空”

我正在尝试检索图像上突出显示的数字。

网站链接:https://csgostash.com/sticker/3666/Battle-Scarred-Holo

我的代码:=IMPORTXML("https://csgostash.com/sticker/3666/Battle-Scarred-Holo","/html/body/div[3]/div[4]/div1/ div/div[2]/div[2]/div1/a/span[2]")

The image is here!

如果有人能帮助我,那就太好了,谢谢!

【问题讨论】:

    标签: google-sheets google-sheets-formula


    【解决方案1】:

    该网站的 HTML 没有视觉层次结构,因此很难深入了解它。但这就是我得出的结论:

    =IMPORTXML("https://csgostash.com/sticker/3666/Battle-Scarred-Holo","/html/body/div[2]/div[4]/div/div/div/div/div[1]/a/span[2]")

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-08-13
      相关资源
      最近更新 更多