google-apps-script - 无法使用 Google Apps 脚本获取
问题描述
UrlFetchApp.fetch("https://www.google.com")
由于某种原因,我无法做到。它只是返回一个空对象{}
。
解决方案
尝试:.getContentText()
例如UrlFetchApp.fetch("https://www.google.com").getContentText()
推荐阅读
- css - 更改边框自动完成 vuetify
- javascript - 按下 Enter 键时使用 JavaScript 触发按钮单击
- swift - 如何检查 Parse 是否已经初始化
- java - 如何在 Java 中选择 HashMap 的负载因子?
- c - sendmmsg() return -1,没有可用的缓冲区空间,为什么memset解决了这个问题?
- raku - 如何为 Raku NativeCall 声明“LPTSTR”?
- excel - 使用宏创建表
- javascript - 加密/解密二进制数据 crypto-js
- javascript - 在已定义的 JSON 文件中写入键的新值
- python - 情节甘特图