mirror of
https://github.com/hlt1995/qlScripts.git
synced 2026-11-05 23:26:44 +08:00
Change segment condition from 6 to 10 accounts
This commit is contained in:
1 parent
2e60c5390f
commit
cb64545a81
1 file changed
+2
-2
@@ -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()
|
||||
Reference in new issue
Block a user