Skip to content

Commit

Permalink
Update user.js
Browse files Browse the repository at this point in the history
试试用笔记封面作为id
  • Loading branch information
JerryYang-30 authored Jun 30, 2024
1 parent 0418b18 commit d070ac0
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 @@ -50,7 +50,7 @@ let deal = async (ctx) => {
// 现在必须要登陆才能获取笔记链接,所以文章link都是{url}了(noteId为空)。
// 而Qi Reader把文章链接当作文章Id(如果源里没有Id字段的话),所以所有文章共用一个链接就导致了新文章被判定重复。
link: `${url}/${noteCard.noteId}`,
id: ${noteCard.cover.infoList.pop().url,
id: `${noteCard.cover.infoList.pop().url}`,
description: `<img src ="${noteCard.cover.infoList.pop().url}"><br>${noteCard.displayTitle}`,
author: noteCard.user.nickname,
upvotes: noteCard.interactInfo.likedCount,
Expand Down

0 comments on commit d070ac0

Please sign in to comment.