mirror of
https://github.com/NanmiCoder/MediaCrawler.git
synced 2026-02-21 14:31:08 +08:00
fix: #693
This commit is contained in:
@@ -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}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user