Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

百度save 需要验证码 如何处理? #23

Open
451835239 opened this issue Mar 12, 2021 · 10 comments
Open

百度save 需要验证码 如何处理? #23

451835239 opened this issue Mar 12, 2021 · 10 comments

Comments

@451835239
Copy link

BaiduPCS-Py save -p "9eiv" --no-show-vcode https://pan.baidu.com/s/1hiAzHZdYZwKXqYrvjhcrBw=3 /xxxx
(v0.5.7) ERROR: BaiduPCSError: error_code: -62, message: 可能需要输入验证码

@PeterDing
Copy link
Owner

请升级到最新版。

save 命令短时间多次使用会触发百度的验证机制,去掉 -no-show-vcode,输入显示的验证码即可。

@451835239
Copy link
Author

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

@451835239
Copy link
Author

版本升级失败

@PeterDing
Copy link
Owner

试试用 pip3 install BaiduPCS-Py --upgrade --use-feature=2020-resolver

@451835239
Copy link
Author

451835239 commented Mar 12, 2021

/home/admin/script/pan.baidu.com.py save 一直失败 报错 登录后Traceback (most recent call last):
File "/home/admin/script/pan.baidu.com.py", line 4145, in
main(argv)
File "/home/admin/script/pan.baidu.com.py", line 4141, in main
handle_command(comd, xxx)
File "/home/admin/script/pan.baidu.com.py", line 3853, in handle_command
x._secret_or_not(url)
File "/home/admin/script/pan.baidu.com.py", line 2174, in _secret_or_not
print s % (2, 91, " !! 提取密码错误, %s\n" % r.text)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 5: ordinal not in range(128)

@PeterDing
Copy link
Owner

可以试试用 virtualenv 新建一个环境试试,避免污染全局 python 环境。
在新环境中安装 BaiduPCS-Py。为运行方便,可以 alias 一下 alias b="/path/to/new_env/bin/python /path/to/new_env/bin/BaiduPCS-Py"

@451835239
Copy link
Author

pan.baidu.com.py 这个问题能否帮忙解答一下 ?

@PeterDing
Copy link
Owner

iScript/pan.baidu.com.py 已经不再维护,抱歉。

@451835239
Copy link
Author

BaiduPCS-Py save -p ve19 https://pan.baidu.com/s/186kxTCf2WqK4Tuusb4u4yA /
(v0.6.9) System ERROR:

@ldj46118
Copy link

ldj46118 commented Aug 5, 2022

请升级到最新版。

save 命令短时间多次使用会触发百度的验证机制,去掉 -no-show-vcode,输入显示的验证码即可。

一般延迟多长时间可以避免验证码机制,原来用了好久没有出现这个问题,突然出现了,是不是升级会员,实名认证不会触发百度的验证机制?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants