[root@huzhifeng work]
[root@huzhifeng work]
[root@huzhifeng bypy]
LICENSE README.md bypy.py bypygui.pyw
[root@huzhifeng bypy]
Token file: '/root/.bypy.json'
Hash Cache file: '/root/.bypy.pickle'
App root path at Baidu Yun '/apps/bypy'
sys.stdin.encoding = ANSI_X3.4-1968
sys.stdout.encoding = ANSI_X3.4-1968
----
<E> [09:39:51] Error while loading baidu pcs token:
<E> [09:39:51] Traceback (most recent call last):
File "./bypy.py", line 1046, in __load_local_json
with open(TokenFilePath, 'rb') as infile:
IOError: [Errno 2] No such file or directory: u'/root/.bypy.json'
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
... <--- Here is the authorization code
Authorizing, please be patient, it may take upto 60.0 seconds...
Successfully authorized
Quota: 2.103TB
Used: 1.61TB
[root@huzhifeng bypy]
Token file: '/root/.bypy.json'
Hash Cache file: '/root/.bypy.pickle'
App root path at Baidu Yun '/apps/bypy'
sys.stdin.encoding = UTF-8
sys.stdout.encoding = UTF-8
----
Quota: 2.103TB
Used: 1.61TB
[root@huzhifeng bypy]