|
@@ -87,7 +87,8 @@ class WeixinVideoCrawler(object):
|
|
select_sql = f"""
|
|
select_sql = f"""
|
|
SELECT gh_id, account_name, latest_crawler_timestamp
|
|
SELECT gh_id, account_name, latest_crawler_timestamp
|
|
FROM weixin_account_for_videos
|
|
FROM weixin_account_for_videos
|
|
- WHERE status = {const.ACCOUNT_CRAWL_STATUS};
|
|
|
|
|
|
+ WHERE status = {const.ACCOUNT_CRAWL_STATUS}
|
|
|
|
+ ORDER BY latest_crawler_timestamp;
|
|
"""
|
|
"""
|
|
response = self.db_client.select(select_sql, DictCursor)
|
|
response = self.db_client.select(select_sql, DictCursor)
|
|
return response
|
|
return response
|