mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-16 19:50:01 +08:00
enhancement: douban group
This commit is contained in:
@@ -37,12 +37,10 @@ module.exports = async (ctx) => {
|
|||||||
title: `豆瓣小组-${groupid}`,
|
title: `豆瓣小组-${groupid}`,
|
||||||
link: `https://www.douban.com/group/${groupid}/`,
|
link: `https://www.douban.com/group/${groupid}/`,
|
||||||
item: topics.map((topic) => ({
|
item: topics.map((topic) => ({
|
||||||
title: `${topic.title} from ${topic.author.name}`,
|
title: `${topic.title} [来自: ${topic.author.name}]`,
|
||||||
description: `<a href="${topic.author.alt}"><img src='${topic.author.avatar}'/></a><br>
|
author: topic.author.name,
|
||||||
作者:<a href="${topic.author.alt}">${topic.author.name}</a><br>
|
pubDate: new Date(topic.updated).toUTCString(),
|
||||||
发表时间: ${topic.created}<br>
|
description: topic.content,
|
||||||
最后更新: ${topic.updated}<br><br>
|
|
||||||
${topic.content}`,
|
|
||||||
link: topic.share_url,
|
link: topic.share_url,
|
||||||
})),
|
})),
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user