enhancement: douban group

This commit is contained in:
binarization
2018-09-21 23:18:28 +08:00
parent 44da2739f1
commit 5621f1eaf0

View File

@@ -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,
})), })),
}; };