baidupcsapi icon indicating copy to clipboard operation
baidupcsapi copied to clipboard

分享接口

Open 2shou opened this issue 9 years ago • 6 comments

需求是生成分享的私密链接和提取码,这块会在计划中么?或者你有没有什么思路?

2shou avatar Apr 12 '16 14:04 2shou

你说的是这个吗? https://github.com/ly0/baidupcsapi/blob/master/baidupcsapi/api.py#L1104

ly0 avatar Apr 12 '16 17:04 ly0

fid是什么参数? 目标是自动生成下图的链接: image

2shou avatar Apr 13 '16 12:04 2shou

调用list_files里的fs_id就是

ly0 avatar Apr 13 '16 13:04 ly0

share确实能分享成功,但是指定了pwd却没有生效,仍旧是无密码可访问。

2shou avatar Apr 15 '16 02:04 2shou

指定的是4位的pwd么

ly0 avatar Apr 15 '16 05:04 ly0

print pcs.share([385531713211277], pwd='aabb').content

2shou avatar Apr 15 '16 06:04 2shou