fix: weibo创作者bugfix
This commit is contained in:
parent
3567193a98
commit
3db2edd479
|
@ -356,7 +356,7 @@ class WeiboClient:
|
||||||
|
|
||||||
notes_has_more = notes_res.get("cardlistInfo", {}).get("total", 0) > crawler_total_count
|
notes_has_more = notes_res.get("cardlistInfo", {}).get("total", 0) > crawler_total_count
|
||||||
since_id = notes_res.get("cardlistInfo", {}).get("since_id", "0")
|
since_id = notes_res.get("cardlistInfo", {}).get("since_id", "0")
|
||||||
notes_has_more += 10
|
crawler_total_count += 10
|
||||||
if "cards" not in notes_res:
|
if "cards" not in notes_res:
|
||||||
utils.logger.info(
|
utils.logger.info(
|
||||||
f"[WeiboClient.get_all_notes_by_creator] No 'notes' key found in response: {notes_res}")
|
f"[WeiboClient.get_all_notes_by_creator] No 'notes' key found in response: {notes_res}")
|
||||||
|
|
Loading…
Reference in New Issue