|
回的结果应该是
Mar 21, 2024 0:44:03 GMT -5
Post by account_disabled on Mar 21, 2024 0:44:03 GMT -5
在本例中我选择了单元格其中包含我在中进行的爬网中的或者您也可以只键入确保将其括在引号内。最后该函数的最后一部分是我们收集的代码。需要注意的一件事是您必须从代码中删除引号并用撇号替换它们。在此示例中我指的是部分如果您不这样做我已将其更改为将无法正确读取公式。一旦您按下键工具插件抓取页面时可能会有几秒钟的延迟然后它将返回结果。值得一提的是在上面给出的示例中我正在文章页面上查找作者姓名因此如果我尝试在不是文章例如主页的上运行它我会收到错误。 对于那些感兴趣的人来说代码本身的工作原理是从指定的代码顶部 澳大利亚 WhatsApp 号码列表 开始按照概述的说明查找页面元素并返回结果。因此对于以下代码我们告诉它查找任何具有的元素然后向下查找该之后的第二个标签然后是标签标签最后是标签。返内的文本他的一个标签。如果您不理解这一点请不要担心但是如果您理解了它将帮助您创建自己的。例如如果您想获取附加了的标签的输出这是查找页面作者的另一种好方法。 那么您可以使用一些看起来有点像这个的作为中的完整公式它看起来会是这样像这样的创建公式后您可以将其向下拖动并将其一次性应用于大量。这可以节省大量时间因为您必须手动浏览每个网站并复制粘贴每个作者才能获得相同的结果而无需进行刮擦我不需要解释这需要多长时间。现在我已经解释了基础知识我将向您展示一些使用抓取的其他方法。查找有关页面作者的额外详细信息因此我们找到了一个作者姓名列表这很棒但要真正更深入地了解作者我们需要更多数据。
|
|