Closed neteroster closed 7 years ago
看到了,必须要个人账户
请升级到最新版,而且:
只有个人版支持离线下载。
On Aug 21, 2017 9:45 AM, "LIZONGZE" notifications@github.com wrote:
账户是商业版E3订阅(Onedrive for business)
root@ubuntu:~/onedrive-cli-test-folder/onedrivecmd# python3 onedrivecmd.py remote "http://thecatapi.com/api/images/get?format=src&type=gif" Traceback (most recent call last): File "onedrivecmd.py", line 79, in
main() File "onedrivecmd.py", line 73, in main do_remote(client, args) File "/root/onedrive-cli-test-folder/onedrivecmd/utils/actions.py", line 446, in do_remote print(req.headers['location']) File "/usr/lib/python3/dist-packages/requests/structures.py", line 54, in getitem return self._store[key.lower()][1] KeyError: 'location' — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cnbeining/onedrivecmd/issues/9, or mute the thread https://github.com/notifications/unsubscribe-auth/ABfRgldRYAVMVQUKbYnBbIbk6q2PVUNcks5saYoUgaJpZM4O9Xee .
@cnbeining 嗯,刚刚已经看到了
账户是企业版E3订阅(Onedrive for business)
python3/python2 均已尝试