mirror of
https://github.com/RYDE-WORK/MediaCrawler.git
synced 2026-02-04 07:36:59 +08:00
commit
ecf9a5e893
@ -186,7 +186,6 @@ class XHSClient:
|
|||||||
comments_res = await self.get_note_comments(note_id, comments_cursor)
|
comments_res = await self.get_note_comments(note_id, comments_cursor)
|
||||||
comments_has_more = comments_res.get("has_more", False)
|
comments_has_more = comments_res.get("has_more", False)
|
||||||
comments_cursor = comments_res.get("cursor", "")
|
comments_cursor = comments_res.get("cursor", "")
|
||||||
# thanks, @Akiqqqqqqq fix it issue
|
|
||||||
# Check if 'comments' key exists in the response
|
# Check if 'comments' key exists in the response
|
||||||
if "comments" not in comments_res:
|
if "comments" not in comments_res:
|
||||||
# Handle the absence of 'comments' key appropriately
|
# Handle the absence of 'comments' key appropriately
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user