feat: add support for saving shared links with a path prefix#127
Open
freechar wants to merge 3 commits intoPeterDing:masterfrom
Open
feat: add support for saving shared links with a path prefix#127freechar wants to merge 3 commits intoPeterDing:masterfrom
freechar wants to merge 3 commits intoPeterDing:masterfrom
Conversation
Owner
|
感谢你的贡献。 选择性的保存文件是很好的想法。但是仅仅只检查路径前缀是不够的。 BaiduPCS-Py/baidupcs_py/app/app.py Lines 566 to 569 in e81e9b6 baidupcs_py.commands.sifter 模块可以帮到你。
|
Author
感谢你的回复 我会参考ls命令完善这个feature,希望我有更多的时间去干这个事情QAQ 此外,想请问下,你是否了解在什么情况下分享链接顶层文件的path 会携带/sharelinkxxxxxx,某些文件存在这个情况而某些文件是。这导致我需要使用很不优雅的方式来删除这个前缀,以防止错误。如果能够提供某些线索我将会非常感谢🙏 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
用于支持保存他人分享时,可以只保存分享链接中的一部分文件