소스 검색

gzh抓取优化

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', '')