Skip to content

[Feature]: 请增加笔记发表时间 #484

@stoneidolon

Description

@stoneidolon

Feature Description

小红书的笔记 ID 是 24 位十六进制字符串,比如:

697f6c74000000002103de17

它的结构类似 MongoDB 的 ObjectID —— 前 8 位 hex 是 Unix 时间戳:

697f6c74 000000002103de17
^^^^^^^^
时间戳部分

转换过程:

0x697f6c74 = 1769733236 (十进制)

→ datetime.fromtimestamp(1769733236)
→ 2026-02-01

我是怎么发现的:看到你截图里那条笔记日期是 2026-02-01,而它的 URL 里 ID 以 697f 开头。凭经验猜测这可能是 ObjectID
格式(MongoDB 生成的 ID 第一段就是时间戳,很多国内平台都用这个方案),试着把前 8 位 hex
转成时间戳,结果刚好对上。然后又用其他几条笔记交叉验证,全部吻合。

Use Case

小红书目前的search接口,没有笔记的发表时间,请增加。谢谢!

Proposed Solution

No response

Alternatives Considered

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions