Parcourir la source

update_published_articles_read_detail
v2

luojunhui il y a 9 mois
Parent
commit
c3100a2b00
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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(