From 3db2edd479c93498390d7ac329504eddb984c72d Mon Sep 17 00:00:00 2001 From: Relakkes Date: Wed, 6 Nov 2024 16:00:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20weibo=E5=88=9B=E4=BD=9C=E8=80=85bugfix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- media_platform/weibo/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media_platform/weibo/client.py b/media_platform/weibo/client.py index 92ab9c7..b6c2497 100644 --- a/media_platform/weibo/client.py +++ b/media_platform/weibo/client.py @@ -356,7 +356,7 @@ class WeiboClient: 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}")