mirror of
https://github.com/NanmiCoder/MediaCrawler.git
synced 2026-06-07 02:17:25 +08:00
fix:微博根据creator爬取note时,爬取评论失败。原因是解析的参数key有误
This commit is contained in:
@@ -261,8 +261,8 @@ class WeiboCrawler(AbstractCrawler):
|
|||||||
callback=weibo_store.batch_update_weibo_notes
|
callback=weibo_store.batch_update_weibo_notes
|
||||||
)
|
)
|
||||||
|
|
||||||
note_ids = [note_item.get("mlog", {}).get("id") for note_item in all_notes_list if
|
note_ids = [note_item.get("mblog", {}).get("id") for note_item in all_notes_list if
|
||||||
note_item.get("mlog", {}).get("id")]
|
note_item.get("mblog", {}).get("id")]
|
||||||
await self.batch_get_notes_comments(note_ids)
|
await self.batch_get_notes_comments(note_ids)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user