cursor 由 paginate 管理,不暴露为参数,调用方只传目标条数 number,端点按每页 50 条自动翻页后在 normalize 里合并。响应里 data.cursor 是字符串、data.has_more 是布尔值(与抖音的 has_more === 1 不同)。note_id 与 xsec_token 从同一条笔记分享链接里取。curl --location 'http://localhost:4567/api/xiaohongshu/fetch_note_comments?note_id=undefined&xsec_token=undefined&number=undefined'success 判别{
"success": true,
"data": null,
"message": "获取成功",
"meta": {
"requestId": "string",
"clientId": "string",
"platform": "douyin",
"endpoint": "string",
"durationMs": 0,
"attempts": 0,
"trace": [
{
"url": "string",
"method": "string",
"status": 0,
"durationMs": 0,
"reason": "initial",
"retryOf": "string"
}
]
},
"requestPath": "/api/bilibili/fetch_one_video?bvid=BV1xx"
}