|
@@ -23,7 +23,7 @@ class WeixinAccountCrawler(object):
|
|
|
def __init__(self):
|
|
|
self.db_client = longArticlesMySQL()
|
|
|
self.spider = WeixinSpider()
|
|
|
- self.account_count = 0
|
|
|
+ self.crawler_account_count = 0
|
|
|
|
|
|
def get_inner_account_name(self) -> Set[str]:
|
|
|
"""
|
|
@@ -125,7 +125,7 @@ class WeixinAccountCrawler(object):
|
|
|
"account_name": account_name
|
|
|
}
|
|
|
)
|
|
|
- self.account_count += 1
|
|
|
+ self.crawler_account_count += 1
|
|
|
except Exception as e:
|
|
|
log(
|
|
|
task="account_crawler_v1",
|
|
@@ -168,7 +168,7 @@ class WeixinAccountCrawler(object):
|
|
|
bot(
|
|
|
title="微信账号抓取完成",
|
|
|
detail={
|
|
|
- "总更新账号数量": self.account_count,
|
|
|
+ "总更新账号数量": self.crawler_account_count,
|
|
|
"总耗时": time.time() - start_time,
|
|
|
"种子标题数量": len(title_list)
|
|
|
},
|