소스 검색

update_published_articles_read_detail
v2

luojunhui 4 달 전
부모
커밋
c3100a2b00
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      coldStartTasks/publish/publishCategoryArticles.py

+ 1 - 1
coldStartTasks/publish/publishCategoryArticles.py

@@ -85,7 +85,7 @@ class CategoryColdStartTask(object):
         FROM
             crawler_meta_article
         WHERE 
-            category = "{category}" and platform = "{article_source}" and status = 1;
+            category = "{category}" and platform = "{article_source}" and status = {self.INIT_STATUS};
         """
         article_list = self.db_client.select(sql)
         log(