Skip to content

Commit b9d30bb

Browse files
committed
fix: #693
1 parent 1245075 commit b9d30bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

media_platform/xhs/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ async def get_note_detail_async_task(
275275
pass
276276

277277
if not note_detail:
278-
note_detail = await self.xhs_client.get_note_by_id_from_html(note_id, xsec_source, xsec_token, enable_cookie=False)
278+
note_detail = await self.xhs_client.get_note_by_id_from_html(note_id, xsec_source, xsec_token, enable_cookie=True)
279279
if not note_detail:
280280
raise Exception(f"[get_note_detail_async_task] Failed to get note detail, Id: {note_id}")
281281

0 commit comments

Comments
 (0)