|
@@ -17,7 +17,7 @@ class MonitorConst:
|
|
|
INIT_STATUS = 0
|
|
INIT_STATUS = 0
|
|
|
|
|
|
|
|
# 监测周期
|
|
# 监测周期
|
|
|
- MONITOR_CYCLE = 3 * 24 * 3600
|
|
|
|
|
|
|
+ MONITOR_CYCLE = 2 * 24 * 3600
|
|
|
|
|
|
|
|
# article code
|
|
# article code
|
|
|
ARTICLE_ILLEGAL_CODE = 25012
|
|
ARTICLE_ILLEGAL_CODE = 25012
|
|
@@ -324,7 +324,7 @@ class InnerGzhArticlesMonitor(MonitorConst):
|
|
|
await delete_illegal_gzh_articles(gh_id, title)
|
|
await delete_illegal_gzh_articles(gh_id, title)
|
|
|
|
|
|
|
|
except Exception as e:
|
|
except Exception as e:
|
|
|
- print(f"crawler failed: {account_name}, error: {e}")
|
|
|
|
|
|
|
+ print(f"crawler failed: {account_name}-{url}, error: {e}")
|
|
|
|
|
|
|
|
async def deal(self):
|
|
async def deal(self):
|
|
|
article_list = await self.fetch_article_list_to_check()
|
|
article_list = await self.fetch_article_list_to_check()
|