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

能否增加 自动取消下载过的本子 的识别范围 #35

Closed
Sweet-dream-M opened this issue Jan 6, 2023 · 3 comments
Closed
Labels
enhancement New feature or request

Comments

@Sweet-dream-M
Copy link

新年快乐。

在使用中注意到自动取消的识别似乎只针对一种“语言”,不知道能不能将识别的范围扩大到包含同一本书的其他语言译本。

比如下图同一语言的同一本会判定为已下载,并自动取消
屏幕截图 2023-01-06 184535
而对于不同语言的同一本则会重复下载
屏幕截图 2023-01-06 184528
是否能够在下载时,让图2的也能像图1一样识别并取消下载?

期待你的回复。

@Tsuk1ko Tsuk1ko added the enhancement New feature or request label Jan 6, 2023
@Tsuk1ko
Copy link
Owner

Tsuk1ko commented Jan 6, 2023

每个本子的标题会有三种版本

image

目前逻辑是只根据 japanese 来判断,其实是经过特殊考虑,特意让大多数的不同语言、无修正、DL版之间不会被判定为同一本

针对你提出的情况,我打算加入自定义判断的设置,可以自由选择使用 english japanese pretty 中的一个或多个字段进行判断,这样应该能解决你的问题

但需要注意

  1. 标题是上传者提交的,就算使用所有字段来判断也并不能保证能 100% 过滤掉所有相同的本子
  2. 判断来源是每次下载成功后会将本子名字存到 IndexedDB 中,由于之前只存了 japanese,所以即使我增加了这个功能,以前的本子还是只能通过 japanese 来判断
  3. pretty 判断可能不适用于大部分镜像站,因为大部分镜像站不包含 pretty 信息

@Sweet-dream-M
Copy link
Author

感谢你

@Tsuk1ko
Copy link
Owner

Tsuk1ko commented Jan 6, 2023

先不用关闭

@Tsuk1ko Tsuk1ko reopened this Jan 6, 2023
@Tsuk1ko Tsuk1ko closed this as completed in 12a2962 Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants