分类
未分类

树莓派配置百度云盘python客户端bypy上传备份文件

要求:安装python2.7,安装git

1、git clone https://github.com/houtianze/bypy.git

2、cd bypy

3、sudo python setup.py install

4、bypy info收到提示:

Please visit:
https://openapi.baidu.com/oauth/2.0/authorize?scope=basic+netdisk&redirect_uri=oob&response_type=code&client_id=q8WE4EpCsau1oS0MplgMKNBn
And authorize this app
Paste the Authorization Code here within 10 minutes.
Press [Enter] when you are done

5、按照提示访问链接并完成授权登陆

6、输入授权码后回车,完成。

Press [Enter] when you are done
e5faafdf80adfa6a43ea2de3d0ff2d97e
Authorizing, please be patient, it may take upto 300 seconds…
Authorizing/refreshing with the OpenShift server …
OpenShift server failed, authorizing/refreshing with the Heroku server …
Successfully authorized
Quota: 2.007TB
Used: 272.751GB

7、可以使用了

8、常用命令
bypy list
bypy upload file
bypy download file

发表评论

电子邮件地址不会被公开。 必填项已用*标注