Skip to content

fix: check whether image is downloaded whatever the ext name is#109

Open
Yastone wants to merge 1 commit intofffonion:masterfrom
Yastone:master
Open

fix: check whether image is downloaded whatever the ext name is#109
Yastone wants to merge 1 commit intofffonion:masterfrom
Yastone:master

Conversation

@Yastone
Copy link

@Yastone Yastone commented Jan 25, 2025

因为个人需求#106 修改了验证图片是否已下载的逻辑。

因为之前我发现某些本子下载完成后会丢页数,所以一般会下载完成后再下载一遍防止丢页。
这就导致了一个问题,由于一些本子是会在下载完成之后统一把后缀名从jpg改为png,就会导致如果之前这个本子已经下载完成,那么再次下载的话就会从头开始下载,并且完成后就会产生重复的页数。

所以添加了一个函数用于忽略拓展名来比对图片是否已下载,若已下载则将文件加入**_flist_done**

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

Successfully merging this pull request may close these issues.

1 participant