Skip to content

Commit

Permalink
Update user.js
Browse files Browse the repository at this point in the history
  • Loading branch information
JerryYang-30 authored Aug 3, 2024
1 parent 4615de4 commit 13ba1c3
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 13ba1c3

Please sign in to comment.