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

保存分享出错 #3

Closed
bsdcpp opened this issue Jan 24, 2021 · 8 comments
Closed

保存分享出错 #3

bsdcpp opened this issue Jan 24, 2021 · 8 comments
Labels
bug Something isn't working

Comments

@bsdcpp
Copy link

bsdcpp commented Jan 24, 2021

感谢大佬分享这么给力的工具,辛苦。
我在用保存共享链接的时候遇到错误:
BaiduPCS-Py save -p s9vd https://pan.baidu.com/s/1adS0qazDDcDjx7NP_HNLJQ / ERROR: BaiduPCSError: BaiduPCS._request

尝试了几个链接都有这问题,谢谢

@PeterDing
Copy link
Owner

@bsdcpp 我无法复现这个错误。

Screen Shot 2021-01-24 at 11 34 35 AM


你可以用下面命令,打印出错信息。

DEBUG=1 BaiduPCS-Py save -p s9vd https://pan.baidu.com/s/1adS0qazDDcDjx7NP_HNLJQ /

@bsdcpp
Copy link
Author

bsdcpp commented Jan 24, 2021

0B409E5B-30A1-4307-8243-DE505360FC50
如图,麻烦看下

@PeterDing
Copy link
Owner

@bsdcpp 应该是你的cookies里没有 STOKEN 值。这会让 sharesave 命令无法工作。

我已经把这个警告加入了 v0.3.8

@bsdcpp
Copy link
Author

bsdcpp commented Jan 24, 2021

@bsdcpp 应该是你的cookies里没有 STOKEN 值。这会让 sharesave 命令无法工作。

我已经把这个警告加入了 v0.3.8

强,解决了。另外还有个问题请教:
使用了短链接改写后的url无法识别,比如http://t.cn/A654c4bM 密码 ac5s
即使我在浏览器转成了百度的链接https://pan.baidu.com/wap/init?surl=dRbOl5F3OC0KykHEwCJCSg 也不行。
麻烦指点下。谢谢

@PeterDing
Copy link
Owner

@bsdcpp
Copy link
Author

bsdcpp commented Jan 24, 2021

你可以把 https://pan.baidu.com/wap/init?surl=dRbOl5F3OC0KykHEwCJCSg 变为 https://pan.baidu.com/s/1dRbOl5F3OC0KykHEwCJCSg 就好。

万分感谢,成功了,神器。

@451835239
Copy link

@bsdcpp @PeterDing 保存其他用户分享的链接 BaiduPCS-Py save 需要验证码

@ldj46118
Copy link

DEBUG=1 BaiduPCS-Py save -p s9vd https://pan.baidu.com/s/1adS0qazDDcDjx7NP_HNLJQ /

为啥我在dos下输入这个命令,会提示debug既不是内部命令也不是外部命令

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants