在Google App脚本中从网址抓取表格 [英] Grab table from URL in Google App Script
本文介绍了在Google App脚本中从网址抓取表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在第6行的链接回答中,如何识别应该从URL中捕获多少 getElement(div)
和 getElements(div)[number]
。
这是 URL ,我希望捕捉表格。 转换为使用 import.io ,这是一个专门用于从网页中提取表格数据的工具,其中有一个应用脚本集成。
In this link answer in line 6, how to identify how many getElement("div")
and getElements("div")[number]
should be captured from a URL.
This is the URL from where I am looking to capture the table.
解决方案
You may want to look into using import.io, which is a tool specifically for extracting tabular data from web pages, and which has an Apps Script integration.
这篇关于在Google App脚本中从网址抓取表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文