mirror of
https://github.com/NanmiCoder/MediaCrawler.git
synced 2026-06-08 02:47:26 +08:00
fix: #693
This commit is contained in:
@@ -275,7 +275,7 @@ class XiaoHongShuCrawler(AbstractCrawler):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
if not note_detail:
|
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:
|
if not note_detail:
|
||||||
raise Exception(f"[get_note_detail_async_task] Failed to get note detail, Id: {note_id}")
|
raise Exception(f"[get_note_detail_async_task] Failed to get note detail, Id: {note_id}")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user