浏览代码

update_published_articles_read_detail
v2

luojunhui 3 月之前
父节点
当前提交
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(