Skip to content

Commit

Permalink
fix: weibo创作者bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
NanmiCoder committed Nov 6, 2024
1 parent 3567193 commit 3db2edd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion media_platform/weibo/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ async def get_all_notes_by_creator_id(self, creator_id: str, container_id: str,

notes_has_more = notes_res.get("cardlistInfo", {}).get("total", 0) > crawler_total_count
since_id = notes_res.get("cardlistInfo", {}).get("since_id", "0")
notes_has_more += 10
crawler_total_count += 10
if "cards" not in notes_res:
utils.logger.info(
f"[WeiboClient.get_all_notes_by_creator] No 'notes' key found in response: {notes_res}")
Expand Down

0 comments on commit 3db2edd

Please sign in to comment.