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

获取文件列表,下载等都需要dirve_id 太麻烦,希望在实例化的时候设置默认的盘符 #132

Closed
QiuHanBao opened this issue Aug 10, 2023 · 3 comments

Comments

@QiuHanBao
Copy link

新功能请求

。。。
因为阿里云盘现在分为资源盘和备份库 ,所以希望在实例化 ali = Aligo(name='xxx', show=show, level=100) 的时候加个参数,设置默认操作的是哪个盘,这样在后续的 获取文件列表,下载文件等都不用再传入dirver_id,现在操作资源盘,都需要传入资源盘,太麻烦了

@lemisky
Copy link
Member

lemisky commented Aug 10, 2023

@lemisky
Copy link
Member

lemisky commented Aug 10, 2023

通过修改 ali.default_drive_id 可以实现此目的

@lemisky
Copy link
Member

lemisky commented Aug 10, 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