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

批量下载云空间指定文件夹下的云文档 #53

Closed
liqian5365 opened this issue Feb 21, 2023 · 3 comments
Closed

批量下载云空间指定文件夹下的云文档 #53

liqian5365 opened this issue Feb 21, 2023 · 3 comments

Comments

@liqian5365
Copy link

liqian5365 commented Feb 21, 2023

问题描述
请清晰具体地描述你的问题。

To Reproduce
是否有可公开访问的脱敏链接以供测试。

期望的 markdown 格式


复制文件夹的链接然后下载文件夹列表,现在的需求是需要一个一个链接复制,列表多的话比较麻烦

报错的截图
如有

更多信息
如有

@Wsine
Copy link
Owner

Wsine commented Feb 21, 2023

没有理解。什么是「文件夹的链接」?什么是「文件夹列表」?

希望认真对待,好好提问。

@liqian5365
Copy link
Author

liqian5365 commented Feb 22, 2023

没有理解。什么是「文件夹的链接」?什么是「文件夹列表」?

希望认真对待,好好提问。

非常抱歉描述的不准确,如下图所示
image
比如我复制的是红色圈起来的文件夹链接,我希望下载的是内部绿色圈起来的子文件。不知道有没有描述清楚。
我没有找到飞书的api获取文件夹内子文件连接的api,不然我可以自己先把链接拿到然后循环跑命令。比较菜鸡,希望指导一下怎么弄。

@Wsine
Copy link
Owner

Wsine commented Feb 22, 2023

我找到了 https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file/list

你可以通过这个API先拿到链接列表,然后再分别下载

@Wsine Wsine changed the title 可以支持文件夹下面列表的下载吗 批量下载云空间指定文件夹下的云文档 Feb 22, 2023
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