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

添加AcceptAnyFree选项 #60

Merged
merged 1 commit into from
Jan 21, 2025
Merged

添加AcceptAnyFree选项 #60

merged 1 commit into from
Jan 21, 2025

Conversation

fjh1997
Copy link
Contributor

@fjh1997 fjh1997 commented Jan 18, 2025

有些种子网站比较冷门,经常半天没有一个score>0的合适种子用来刷流,这时候可以采用较为激进的策略,即种子只要免费,就拿来刷流,无视上传人数下载人数比和发种时间。

@sagan
Copy link
Owner

sagan commented Jan 20, 2025

感谢 pr.

(!(siteOption.FreeAlways && siteTorrent.DownloadMultiplier == 0) && siteTorrent.Leechers <= siteTorrent.Seeders)

这个表达式有些不易理解。建议改成

((!siteOption.FreeAlways || siteTorrent.DownloadMultiplier != 0) && siteTorrent.Leechers <= siteTorrent.Seeders)

另外 FreeAlways 这个名称不怎么直观,我建议用 AcceptAnyFree。

@fjh1997 fjh1997 force-pushed the master branch 3 times, most recently from edda067 to 71135b9 Compare January 20, 2025 09:44
@fjh1997
Copy link
Contributor Author

fjh1997 commented Jan 20, 2025

@sagan 已修改

@fjh1997 fjh1997 changed the title 添加FreeAlways选项 添加AcceptAnyFree选项 Jan 20, 2025
@fjh1997 fjh1997 force-pushed the master branch 2 times, most recently from d860ea0 to d29e217 Compare January 20, 2025 12:30
@sagan sagan merged commit 672c23f into sagan:master Jan 21, 2025
1 check passed
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.

2 participants