Skip to content

Commit

Permalink
Reapply "Update user.js 最后51个字符"
Browse files Browse the repository at this point in the history
This reverts commit 4615de4.
  • Loading branch information
JerryYang-30 committed Aug 3, 2024
1 parent a156512 commit 2a906bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/xiaohongshu/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ let deal = async (ctx) => {
author: noteCard.user.nickname,
upvotes: noteCard.interactInfo.likedCount,
// Qi Reader用Id判断文章是否重复
guid: noteCard.cover.infoList.pop().url.slice(-57), // 小红书封面链接随时间变化,因此使用最后不变的57个字符作为ID
guid: noteCard.cover.infoList.pop().url.slice(-51), // 小红书封面链接随时间变化,因此使用最后不变的51个字符作为ID
}))
);
const renderCollect = (collect) => {
Expand Down

0 comments on commit 2a906bb

Please sign in to comment.