更新文件: getwebdavlist.exe, webdav_simulator.arm64, getalist.exe, getwebdavlist.py, webdav_simulator.amd64 等9个文件
This commit is contained in:
BIN
get115list.exe
BIN
get115list.exe
Binary file not shown.
@ -40,7 +40,9 @@ def walk_dir(fs,f,replaceroot):
|
||||
paths = path.split("/")
|
||||
if replaceroot!="":
|
||||
if len(paths)>=3:
|
||||
path=os.path.join("/",replaceroot,*paths[2:])
|
||||
# path=os.path.join("/",replaceroot,*paths[2:])
|
||||
path = "/"+replaceroot+"/"+"/".join(paths[2:])
|
||||
path = path.replace("//","/")
|
||||
path = path.replace("\\/","|")
|
||||
|
||||
print(f"{path}\t{file_obj.size}")
|
||||
|
BIN
getalist.exe
BIN
getalist.exe
Binary file not shown.
@ -107,9 +107,12 @@ def walk(headers:dict, api_url:str, current_path="/", output_file=None, replacer
|
||||
continue
|
||||
if replaceroot!=None:
|
||||
if replaceroot=="":
|
||||
full_path=os.path.join("/",*full_path.split("/")[2:])
|
||||
# full_path=os.path.join("/",*full_path.split("/")[2:])
|
||||
full_path = "/"+"/".join(full_path.split("/")[2:])
|
||||
else:
|
||||
full_path=os.path.join("/",replaceroot,*full_path.split("/")[2:])
|
||||
# full_path=os.path.join("/",replaceroot,*full_path.split("/")[2:])
|
||||
full_path = "/"+replaceroot+"/"+"/".join(full_path.split("/")[2:])
|
||||
full_path = full_path.replace("//","/")
|
||||
full_path = full_path.replace("\\/","|")
|
||||
print(f"{full_path}\t{size}")
|
||||
if output_file != None:
|
||||
|
Binary file not shown.
@ -68,9 +68,12 @@ def walk(client, current_path="/", output_file=None, replaceroot=None, lastpath=
|
||||
continue
|
||||
if replaceroot!=None:
|
||||
if replaceroot=="":
|
||||
full_path=os.path.join("/",*full_path.split("/")[2:])
|
||||
# full_path=os.path.join("/",*full_path.split("/")[2:])
|
||||
full_path = "/"+"/".join(full_path.split("/")[2:])
|
||||
else:
|
||||
full_path=os.path.join("/",replaceroot,*full_path.split("/")[2:])
|
||||
# full_path=os.path.join("/",replaceroot,*full_path.split("/")[2:])
|
||||
full_path = "/"+replaceroot+"/"+"/".join(full_path.split("/")[2:])
|
||||
full_path = full_path.replace("//","/")
|
||||
full_path = full_path.replace("\\/","|")
|
||||
print(f"{full_path}\t{size}")
|
||||
if output_file != None:
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user