我正在使用gdrive和gshell与我的 Google 帐户交互并下载文件,获取他们的信息。
当我运行:gdrive about或gdown about时,我收到以下消息
Initializing system (/home/user/.gdrive)
Authentication needed
Go to the following url in your browser:
https://accounts.google.com/o/oauth2/auth?access_type=offline&client_id=...... \
apps.googleusercontent.com&redirect_uri=....
Enter verification code:
https://accounts.google.com/o/oauth2/auth?access_type=offline&client_id=之后,当我在浏览器上粘贴以开头的 URL 时,我不断收到以下错误消息:
This app is temporarily blocked from logging in with your Google account.
==> 之前没有产生此错误,我能够收到verification code, 以便用于连接到我的帐户。
是否有可能克服谷歌的这个障碍以便使用gdriveor gdown?
生成token.json的例子,粘贴验证码后。
"access_token": ".....",
"token_type": "Bearer",
"refresh_token": "1/....",
"expiry": "2020-12-21T02:..."
}
