mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
feat: add cover for bilibili fav
This commit is contained in:
@@ -27,7 +27,7 @@ module.exports = async (ctx) => {
|
||||
data.medias &&
|
||||
data.medias.map((item) => ({
|
||||
title: item.title,
|
||||
description: `${item.intro}${!disableEmbed ? `<br><br>${utils.iframe(item.id)}` : ''}`,
|
||||
description: `${item.intro}${!disableEmbed ? `<br><br>${utils.iframe(item.id)}` : ''}<br><img src="${item.cover}">`,
|
||||
pubDate: new Date(item.fav_time * 1000).toUTCString(),
|
||||
link: `https://www.bilibili.com/video/av${item.id}`,
|
||||
})),
|
||||
|
||||
Reference in New Issue
Block a user