如何使用Google表格抓取XML数据

时间:2019-08-02 14:21:37

标签: regex google-sheets google-sheets-formula array-formulas google-sheets-importxml

Google表格具有select c1.code1 from codes c1 except select c2.code2 from codes c2 功能,可从网页中获取数据,我想从https://rss.weather.gov.hk/rss/CurrentWeather.xml中获取表,当我查看页面源代码时,我发现{ {1}}标签,我尝试输入

importxml()

在单元格中,但它返回<td>,我犯了什么语法错误?还是Google表格无法接受的内容格式?

1 个答案:

答案 0 :(得分:1)

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Principal": {
                "AWS": "arn:aws:iam::ACCOUNTID:role/12345-LogAccess-role"
            },
            "Action": [
                "s3:*"
            ],
            "Resource": [
                "arn:aws:s3:::bucket-b/*"
            ]
        }
    ]
}

0