Closed BlackWhite2000 closed 1 month ago
只找到了dirlen,也就是当前目录下的文件数量,而不是当前目录下包括子目录下的所有文件数量 我是写了个递归,通过切换 self.fs.chdir(dir_path_item) 实现统计。 但是这存在一个问题,切换次数过多好像115会限制
self.fs.chdir(dir_path_item)
httpx.HTTPStatusError: Client error '405 Not Allowed' for url 'https://webapi.115.com/files/getid?path=files' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/405
client.fs_files_statistic
你好,在 client.py 里面我好像没找到 fs_files_statistic
也没有搜索到
找到了 fs_statistic
fs_statistic
对,是这个
只找到了dirlen,也就是当前目录下的文件数量,而不是当前目录下包括子目录下的所有文件数量 我是写了个递归,通过切换
self.fs.chdir(dir_path_item)
实现统计。 但是这存在一个问题,切换次数过多好像115会限制