全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 1107|回复: 8

【已解决】rclone添加Google Drive没有获取API密钥的链接

[复制链接]
发表于 2022-9-1 16:18:43 | 显示全部楼层 |阅读模式
本帖最后由 radiogaga 于 2022-9-1 18:40 编辑

rt,按照这个配置添加的
  1. Storage> 12  # 选择12,Google Drive
  2. ** See help for drive backend at: https://rclone.org/drive/ **

  3. Google Application Client Id
  4. Leave blank normally.
  5. Enter a string value. Press Enter for the default ("").
  6. client_id>  # 留空,回车
  7. Google Application Client Secret
  8. Leave blank normally.
  9. Enter a string value. Press Enter for the default ("").
  10. client_secret>  # 留空,回车
  11. Scope that rclone should use when requesting access from drive.
  12. Enter a string value. Press Enter for the default ("").
  13. Choose a number from below, or type in your own value
  14. 1 / Full access all files, excluding Application Data Folder.
  15.    \ "drive"
  16. 2 / Read-only access to file metadata and file contents.
  17.    \ "drive.readonly"
  18.    / Access to files created by rclone only.
  19. 3 | These are visible in the drive website.
  20.    | File authorization is revoked when the user deauthorizes the app.
  21.    \ "drive.file"
  22.    / Allows read and write access to the Application Data folder.
  23. 4 | This is not visible in the drive website.
  24.    \ "drive.appfolder"
  25.    / Allows read-only access to file metadata but
  26. 5 | does not allow any access to read or download file content.
  27.    \ "drive.metadata.readonly"
  28. scope> 1
  29. ID of the root folder
  30. Leave blank normally.
  31. Fill in to access "Computers" folders. (see docs).
  32. Enter a string value. Press Enter for the default ("").
  33. root_folder_id>  # 留空,回车
  34. Service Account Credentials JSON file path
  35. Leave blank normally.
  36. Needed only if you want use SA instead of interactive login.
  37. Enter a string value. Press Enter for the default ("").
  38. service_account_file>
  39. Edit advanced config? (y/n)
  40. y) Yes
  41. n) No
  42. y/n> n
  43. Remote config
  44. Use auto config?
  45. * Say Y if not sure
  46. * Say N if you are working on a remote or headless machine or Y didn't work
  47. y) Yes
  48. n) No
  49. y/n> n
复制代码


之后出现的是下面这个,没有预期(我看有图比视频教程中)获取API密钥的链接,请问该怎么操作呀?
  1. Option config_token.
  2. For this to work, you will need rclone available on a machine that has
  3. a web browser available.
  4. For more help and alternate methods see: https://rclone.org/remote_setup/
  5. Execute the following on the machine with the web browser (same rclone
  6. version recommended):
  7.         rclone authorize "drive" "eyJzY29wZSI6ImRyaXZlIn0"
  8. Then paste the result.
  9. Enter a value.
  10. config_token>
复制代码


***************************************
更新:参考以下三篇文章已解决
https://hostloc.com/thread-993170-1-1.html
https://winamp.top/161.html
https://winamp.top/219.html
***************************************
发表于 2022-9-1 16:43:19 | 显示全部楼层
用旧版的RCLONE或用GCLONE
发表于 2022-9-1 16:44:05 | 显示全部楼层
换个rclone 版本就好了
 楼主| 发表于 2022-9-1 16:55:58 | 显示全部楼层
danielzi 发表于 2022-9-1 16:43
用旧版的RCLONE或用GCLONE

老哥 大概得多旧的版本呀?0.96~1.59.1
可以给个推荐吗?
发表于 2022-9-1 17:16:39 | 显示全部楼层
1.55.1
发表于 2022-9-1 17:25:01 | 显示全部楼层
这是什么?

 楼主| 发表于 2022-9-1 18:38:13 | 显示全部楼层

我也不知道
发表于 2022-9-1 22:20:03 | 显示全部楼层

这是新的授权方式,你直接复制这个到本地安装过的rclone环境中,cmd授权
 楼主| 发表于 2022-9-2 08:30:59 | 显示全部楼层
muyijiang 发表于 2022-9-1 22:20
这是新的授权方式,你直接复制这个到本地安装过的rclone环境中,cmd授权

嗯嗯,是的,我已经获取到了,谢谢了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-9-23 06:42 , Processed in 0.064955 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表