luojunhui преди 3 месеца
родител
ревизия
06ddd0473d
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      applications/utils/common.py

+ 1 - 1
applications/utils/common.py

@@ -231,7 +231,7 @@ def get_task_chinese_name(data):
     # account_method
     if task_name == 'crawler_gzh_articles':
         account_method = data.get('account_method', '')
-        account_method = account_method.replace("account_association", "账号联想")
+        account_method = account_method.replace("account_association", "账号联想").replace("search", "")
         crawl_mode = data.get('crawl_mode', '')
         crawl_mode = crawl_mode.replace("search", "搜索").replace("account", "抓账号")
         strategy = data.get('strategy', '')