我需要在Node-red中创建一个网站,但我不确定该如何做。
我知道如何在Google电子表格中抓取网站,但我不知道如何在node-red中对html节点做同样的事情。
这就是我在Google电子表格中使用的:
=index(importxml("https://www.website.dom";"//h2[@class='item-title']");1)
发布于 2019-04-15 19:27:43
您可以使用HTTP Request节点获取页面内容,然后使用HTML节点提取您感兴趣的部分。

这本食谱在这里提供了一个示例食谱:https://cookbook.nodered.org/http/simple-get-request
https://stackoverflow.com/questions/55687586
复制相似问题