首页 > 解决方案 > 无法使用 Google Apps 脚本获取

问题描述

UrlFetchApp.fetch("https://www.google.com")由于某种原因,我无法做到。它只是返回一个空对象{}

标签: google-apps-scripturlfetch

解决方案


尝试:.getContentText()

例如UrlFetchApp.fetch("https://www.google.com").getContentText()


推荐阅读