fix: 解决小红书图片水印问题

This commit is contained in:
helloteemo
2024-07-11 17:39:48 +08:00
parent 1264b2997c
commit e71690a985
2 changed files with 10 additions and 1 deletions

View File

@@ -198,7 +198,12 @@ class XiaoHongShuClient(AbstractApiClient):
Returns:
"""
data = {"source_note_id": note_id}
data = {
"source_note_id": note_id,
"image_formats": ["jpg", "webp", "avif"],
"extra": {"need_body_topic": 1},
"xsec_source": "pc_feed",
}
uri = "/api/sns/web/v1/feed"
res = await self.post(uri, data)
if res and res.get("items"):