File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 35
35
## ` v2.5.5 `
36
36
- 修复下载两个同名文件时断点续传功能异常的问题[ #35 ] ( https://github.com/zaxtyson/LanZouCloud-API/issues/35#issue-668534695 )
37
37
- 下载函数新增 ` overwrite ` 参数,确定是否覆盖本地文件(默认不覆盖,自动重命名)
38
- - 下载函数新增 ` downloaded_handler ` 参数,可设置回调函数处理下载完成的文件, 具体见 [ API文档] ( https://github.com/zaxtyson/LanZouCloud-API/wiki/0x06-%E4%B8%8A%E4%BC%A0%E5%92%8C%E4%B8%8B%E8%BD%BD#down_file_by_urlshare_url-pwd-save_path--callback-overwrite-downloaded_handler )
38
+ - 下载函数新增 ` downloaded_handler ` 参数,可设置回调函数处理下载完成的文件, 具体见 [ API文档] ( https://github.com/zaxtyson/LanZouCloud-API/wiki/0x06-%E4%B8%8A%E4%BC%A0%E5%92%8C%E4%B8%8B%E8%BD%BD-* #down_file_by_urlshare_url-pwd-save_path--callback-overwrite-downloaded_handler )
39
39
- 修复蓝奏云将文件名敏感词([ 小姐] ( https://zaxtyson.lanzous.com/ic59zpg ) )替换为` * ` 导致无法创建文件的问题
40
40
- 修复文件大小中出现 ` , ` 导致无法完整匹配文件大小的问题
41
41
Original file line number Diff line number Diff line change @@ -352,9 +352,9 @@ def get_file_list(self, folder_id=-1) -> FileList:
352
352
for file in resp ["text" ]:
353
353
file_list .append (File (
354
354
id = int (file ['id' ]),
355
- name = file ['name_all' ],
355
+ name = file ['name_all' ]. replace ( "&" , "&" ) ,
356
356
time = time_format (file ['time' ]), # 上传时间
357
- size = file ['size' ], # 文件大小
357
+ size = file ['size' ]. replace ( "," , "" ) , # 文件大小
358
358
type = file ['name_all' ].split ('.' )[- 1 ], # 文件类型
359
359
downs = int (file ['downs' ]), # 下载次数
360
360
has_pwd = True if int (file ['onof' ]) == 1 else False , # 是否存在提取码
Original file line number Diff line number Diff line change 5
5
6
6
setuptools .setup (
7
7
name = "lanzou-api" ,
8
- version = "2.5.5" ,
8
+ version = "2.5.5.1 " ,
9
9
author = "zaxtyson" ,
10
10
author_email = "zaxtyson@foxmail.com" ,
11
11
description = "LanZouCloud API" ,
You can’t perform that action at this time.
0 commit comments