|
@@ -61,7 +61,9 @@ class ArticleAssociationCrawler(object):
|
|
|
level = 'autoArticlePoolLevel1' 表示头条
|
|
|
"""
|
|
|
sql = f"""
|
|
|
- select distinct title from article_pool_promotion_source where level = 'autoArticlePoolLevel1' and status = 1 and deleted = 0;
|
|
|
+ select distinct title
|
|
|
+ from article_pool_promotion_source
|
|
|
+ where level = 'autoArticlePoolLevel1' and status = 1 and deleted = 0;
|
|
|
"""
|
|
|
mysql_response = self.db_client.fetch(query=sql)
|
|
|
title_list = [i[0] for i in mysql_response]
|