Change segment condition from 6 to 10 accounts

This commit is contained in:
hlt1995 authored and GitHub committed 2025-11-21 20:15:10 +08:00
1 parent 2e60c5390f
commit cb64545a81
1 file changed
+2 -2
+2 -2
View File
@@ -127,7 +127,7 @@ def bark(title: str, content: str) -> None:
if any(keyword in line for keyword in ['账号', '用户', 'user', 'account']):
account_count += 1
# 每10个账号开始新的一段
if account_count > 1 and account_count % 6 == 1:
if account_count > 1 and account_count % 10 == 1: # 可自行修改分段账号数量
segments.append('\n'.join(current_segment))
current_segment = []
current_segment.append(line)
@@ -707,4 +707,4 @@ def main():
if __name__ == "__main__":
main()
main()