【问题标题】:The website structure is change how can I scrape data from website to google sheets?网站结构发生变化如何将数据从网站抓取到谷歌表格?
【发布时间】:2021-06-26 04:51:06
【问题描述】:

以前这个网站: https://fund.fipiran.ir/mf/compare/1

被 =importhtml("https://fund.fipiran.ir/mf/compare/1","table",0) 轻松抓取

但是现在网站的结构改变了,这个公式不起作用,我该怎么办?

【问题讨论】:

  • 该站点上的内容现在由脚本生成,而不是作为 HTML 发布。因此,Google 表格无法访问这些数据。
  • 谢谢。似乎没有办法废弃DATA
  • 使用带有 json 的脚本应该可以工作

标签: web-scraping google-sheets import fetch


【解决方案1】:

如cmets所说,脚本生成的网站是不能被抓取的:

该站点上的内容现在由脚本生成,而不是作为 HTML 发布。因此,Google 表格无法访问这些数据。

【讨论】:

    猜你喜欢
    • 2022-10-31
    • 2023-01-15
    • 1970-01-01
    • 2018-10-13
    • 2021-02-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多