|
@@ -100,7 +100,7 @@ def recognize_each_account(thread_db_client, account):
|
|
# 标题长度过长,需要过滤
|
|
# 标题长度过长,需要过滤
|
|
title_total_length = sum(len(title) for title in title_list)
|
|
title_total_length = sum(len(title) for title in title_list)
|
|
avg_title_length = title_total_length / len(title_list)
|
|
avg_title_length = title_total_length / len(title_list)
|
|
- if avg_title_length > 30:
|
|
|
|
|
|
+ if avg_title_length > 45:
|
|
print("title too long, skip")
|
|
print("title too long, skip")
|
|
update_task_status(thread_db_client, task_id, 1, 14)
|
|
update_task_status(thread_db_client, task_id, 1, 14)
|
|
return
|
|
return
|