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

同步别人分享的文件到自己网盘中 #60

Closed
jojowhoooo opened this issue Nov 25, 2022 · 5 comments
Closed

同步别人分享的文件到自己网盘中 #60

jojowhoooo opened this issue Nov 25, 2022 · 5 comments

Comments

@jojowhoooo
Copy link

新功能请求

别人分享的文件,检测是否有更新,自动同步到自己的网盘中

场景:老婆看的电视剧,别人分享的链接是每几天更新一两集,希望实现在分享的链接在更新的时候,能同步到自己的网盘中(去重)
样例链接:https://www.aliyundrive.com/s/V1P1Nh9UW4N/folder/6370e1883f286b59c01549378cf7e4f1ce74ea3f

@jojowhoooo
Copy link
Author

希望作者大大满足我的心愿

@lemisky
Copy link
Member

lemisky commented Nov 25, 2022

安排👌

@jojowhoooo
Copy link
Author

安排👌

真好啊

@lemisky
Copy link
Member

lemisky commented Dec 2, 2022

我仔细想了下,对于你这个需求 可 先用 move_file_to_trash 删除原有的,再使用 share_file_save_all_to_drive 保存全部,这是目前最佳最直接的方案。如果添加个方法实现同步分享,效率远没有这个方案高效,同时增加了复杂度,进而增加出错的概率。

另外在保存超大分享时(分享中的文件特别多),执行保存全部的方法 - share_file_save_all_to_drive,它会立刻执行完毕,但是文件不会立刻被保存到网盘中,阿里云盘服务器会帮你在后台陆续将所有文件存到你的网盘中;所有当你使用 share_file_save_all_to_drive 保存超大分享时,却只看到一部分文件时,不用疑惑,这是正常情况。

@lemisky
Copy link
Member

lemisky commented Dec 2, 2022

希望作者大大满足我的心愿

😅😅😅

@lemisky lemisky closed this as completed Dec 31, 2022
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

2 participants