|
|
@@ -126,7 +126,7 @@ class CrawlerGzhFans(CrawlerGzhFansBase):
|
|
|
cursor_timestamp=cursor_timestamp,
|
|
|
)
|
|
|
base_resp = response.get("base_resp", {})
|
|
|
- print(json.dumps(base_resp, indent=4, ensure_ascii=False))
|
|
|
+ # print(json.dumps(base_resp, indent=4, ensure_ascii=False))
|
|
|
code = base_resp.get("ret")
|
|
|
error_msg = base_resp.get("err_msg")
|
|
|
|
|
|
@@ -135,7 +135,7 @@ class CrawlerGzhFans(CrawlerGzhFansBase):
|
|
|
user_list = response.get("user_list", {}).get("user_info_list")
|
|
|
next_cursor_id = user_list[-1].get("user_openid")
|
|
|
next_cursor_timestamp = user_list[-1].get("user_create_time")
|
|
|
- print(json.dumps(user_list, ensure_ascii=False, indent=4))
|
|
|
+ # print(json.dumps(user_list, ensure_ascii=False, indent=4))
|
|
|
await self.insert_gzh_fans_batch(account_info, user_list)
|
|
|
await self.update_gzh_cursor_info(
|
|
|
account_info["gh_id"], next_cursor_id, next_cursor_timestamp
|