importxml函数不适合此页面

发布于 2025-02-07 05:35:22 字数 347 浏览 1 评论 0原文

我正在尝试进行个人搜索,并希望从boardgamegeek网站的单游戏页面( https://boardgamegeek.com/boardgame/174430/gloomhaven )。

不幸的是,ImportXML Google电子表格函数不起作用,我不明白为什么。也许页面是生成的?我不是专家,有人有解决方案吗?我看过其他胎面,但在我看来,这是一个相当具体的情况。

I'm trying to do a personal search and would like to get some data (Number of players, Number of reviews, Category etc), from the single-game page of BoardGameGeek Website (https://boardgamegeek.com/boardgame/174430/gloomhaven).

Unfortunately, the IMPORTXML Google Spreadsheet function doesn't work and I don't understand why. Maybe the page is JS generated? I'm not an expert, does anyone have a solution? I have looked in other treads but it seems to me a rather specific case.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

茶底世界 2025-02-14 05:35:22

iMoportxml公式(或任何其他导入公式)不支持JavaScript元素的报废。您始终可以通过禁用给定站点的JS来测试它,通常只能导入剩下的东西。在您的情况下,它的纯js:

”在此处输入图像说明”

IMOPORTXML formula (or any other IMPORT formula) does not support the scrapping of JavaScript elements. you can always test this by disabling JS for a given site and usually only what is left can be imported. in your case its pure JS:

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文