|
@@ -139,7 +139,7 @@ class CrawlerGzhBaseStrategy(CrawlerPipeline, CrawlerGzhConst):
|
|
|
set status = %s
|
|
|
where gh_id = %s and position = %s and dt < %s;
|
|
|
"""
|
|
|
- self.pool.async_save(update_query, (0, gh_id, position, today_dt))
|
|
|
+ await self.pool.async_save(update_query, (0, gh_id, position, today_dt))
|
|
|
|
|
|
|
|
|
class CrawlerGzhAccountArticles(CrawlerGzhBaseStrategy):
|