Skip to content

Commit

Permalink
Merge pull request #360 from fruitswordman/xhs_note_id
Browse files Browse the repository at this point in the history
<bug fix> fetch_creator_notes_detail: id ->note_id
  • Loading branch information
NanmiCoder authored Jul 27, 2024
2 parents 573ca9a + 9fb8f42 commit ccf71f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion media_platform/xhs/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ async def fetch_creator_notes_detail(self, note_list: List[Dict]):
semaphore = asyncio.Semaphore(config.MAX_CONCURRENCY_NUM)
task_list = [
self.get_note_detail(
note_id=post_item.get("id"),
note_id=post_item.get("note_id"),
xsec_source=post_item.get("xsec_source"),
xsec_token=post_item.get("xsec_token"),
semaphore=semaphore
Expand Down

0 comments on commit ccf71f0

Please sign in to comment.