如何使用IMPORTXML检索特定文本?

我有一个代码尝试删除个人资料拥有的Instagram关注者的数量:

=importxml("https://www.instagram.com/zara/","//script[@type='application/ld+json']")

公式的输出为:

{"@context":"http:\/\/schema.org","@type":"Store","name":"ZARA 
Official","alternateName":"@zara","description":"ZARA Official Instagram 
account","url":"https:\/\/go.zara\/srpls-ig","mainEntityofPage":{"@type":"ProfilePage","@id":"https:\/\/www.instagram.com\/zara\/","interactionStatistic":{"@type":"InteractionCounter","interactionType":"http:\/\/schema.org\/Followaction","userInteractionCount":"36672820"}},"image":"https:\/\/www.instagram.com\/static\/images\/ico\/favicon-200.png\/ab6eff595bb1.png"} 

上面以“ userInteractionCount”开头的部分为我提供了所需的答案,在上述情况下为36672820。

如何修改代码以给我这个答案?另外,如果我应该完全不同地/从头开始编写IMPORTXML代码,那也值得欢迎。

tjdalele 回答:如何使用IMPORTXML检索特定文本?

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3057331.html

大家都在问