百度盘的 ls 是怎么用的?
0xuhe opened this issue · comments
l path1 path2
为何要两个路径?
我如果是想显示 /foo 文件夹
输入 bp l /foo 会提示错误
l path1 path2 是指可以指定两个以上的要ls的path
贴出你的错误
'''
➜ ~ git:(master) ✗ bp l /
usage: pan.baidu.com.py [-h] [-a ARIA2C] [-p] [-v] [-V] [-y] [-q] [-s SECRET]
[-f FROM_] [-t TYPE_] [-l LIMIT] [-P PASSWD]
[-m {o,c,aes-256-cfb,aes-128-cfb,aes-192-cfb,aes-256-ofb,aes-128-ofb,aes-192-ofb,aes-128-ctr,aes-192-ctr,aes-256-ctr,aes-128-cfb8,aes-192-cfb8,aes-256-cfb8,aes-128-cfb1,aes-192-cfb1,aes-256-cfb1,bf-cfb,camellia-128-cfb,camellia-192-cfb,camellia-256-cfb,cast5-cfb,chacha20,idea-cfb,rc2-cfb,rc4-md5,salsa20,seed-cfb}]
[-R] [-H [HEADS [HEADS ...]]] [-T [TAILS [TAILS ...]]]
[-I [INCLUDES [INCLUDES ...]]]
[-E [EXCLUDES [EXCLUDES ...]]] [-c {on,off}]
[xxx [xxx ...]]
pan.baidu.com.py: error: unrecognized arguments: --color=tty
'''
找到原因了,是因为用的 zsh 的原因,可能是 zsh 里面有--color这个参数,如果用 bash 就没有问题了。
我也用zsh,
但没有这个问题。
➜ ~ bp ls /
!! path is not existed.
--------------
/
登录成功了,但是 ls 等命令显示路径不存在。 @PeterDing
Cookies 时间好像变得很短了。
@arfaWong 前几天更新了 api,重新下载再试试
@PeterDing 更新后可以了
好像还是会过半个小时 cookies 失效,提示 !! path is not existed.
,不知道是不是我的个例。