无法将数据从网页导入到Google表格

问题描述 投票:0回答:1

我知道如何使用谷歌电子表格的importhtml功能,但有一个网页拒绝加载表格。链接如下。

https://www.dream11.com/cricket/fantasy-scorecard/1027/14047

我甚至在谷歌开发者控制台中尝试了以下代码来检查表索引,但这也没有解决var i = 1; [].forEach.call(document.getElementsByTagName("table"), function(x) { console.log(i++, x); });

请帮忙

google-sheets google-sheets-api google-sheets-formula google-sheets-query google-sheets-macros
1个回答
1
投票

要测试站点是否能够与IMPORTHTML一起使用,请关闭javascript并加载页面。如果内容不再存在,它实际上不是html的一部分,因此它与IMPORTHTML不兼容。

您的链接就是这种情况 - 抱歉。该表填充在事实之后,因此Sheets无法看到它。

查找该数据的新来源。

相关:Google Sheets ImportHTML can't find table?

© www.soinside.com 2019 - 2024. All rights reserved.