Google表格Insta名称Importxml

时间:2019-03-13 11:08:00

标签: google-sheets google-sheets-importxml

要从其链接中获取Instagram页面名称的Importxml是什么?

例如https://www.instagram.com/pandawithnojams/

2 个答案:

答案 0 :(得分:0)

可以从链接本身进行重新表达:

=REGEXEXTRACT(A21, "com\/(.+)\/")

0

答案 1 :(得分:0)

=REGEXEXTRACT(QUERY(IMPORTXML("https://www.instagram.com/pandawithnojams/","//*"),
 "select Col1 where Col1 contains ') • Instagram photos and videos'
  and not Col1 contains '{'"),"\@(.+)\)")

0