This commit is contained in:
程序员阿江(Relakkes)
2025-08-01 15:55:21 +08:00
parent 12450759d8
commit b9d30bbabb

View File

@@ -275,7 +275,7 @@ class XiaoHongShuCrawler(AbstractCrawler):
pass
if not note_detail:
note_detail = await self.xhs_client.get_note_by_id_from_html(note_id, xsec_source, xsec_token, enable_cookie=False)
note_detail = await self.xhs_client.get_note_by_id_from_html(note_id, xsec_source, xsec_token, enable_cookie=True)
if not note_detail:
raise Exception(f"[get_note_detail_async_task] Failed to get note detail, Id: {note_id}")