浏览代码

account crawler

luojunhui 2 月之前
父节点
当前提交
d2e95d868d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tasks/account_recognize_by_llm.py

+ 1 - 1
tasks/account_recognize_by_llm.py

@@ -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