首页 > 解决方案 > Google 表格 > importxml > Instagram 帖子

问题描述

我正在尝试提取 Instagram 个人资料上第一篇文章的 URL,但不断收到“内容为空”或“无法解析”。例子是:

简介:https
://www.instagram.com/bbcradio1/ 代码内的链接:https ://www.instagram.com/p/BtwOOwogtvC/

我试过了:

=IMPORTXML("https://www.instagram.com/"&A2,"//article[@class='FyNDV']/a/@href")

但无济于事。(A2 中有 instagram 名称)。

我怎样才能得到这个拉?

标签: web-scrapinggoogle-sheetsgoogle-sheets-importxml

解决方案


推荐阅读