fix: bilibili url (#2521)
This commit is contained in:
@@ -40,7 +40,7 @@ module.exports = async (ctx) => {
|
||||
|
||||
item = {
|
||||
title: `${item.title} - ${item.author}`,
|
||||
description: `${item.description}<img referrerpolicy="no-referrer" src="${item.pic}"><br/>Tags:${item.tag}`,
|
||||
description: `${item.description}<img referrerpolicy="no-referrer" src="https:${item.pic}"><br/>Tags:${item.tag}`,
|
||||
pubDate: new Date(item.pubdate).toUTCString(),
|
||||
link: `https://www.bilibili.com/video/av${item.id}`,
|
||||
};
|
||||
|
||||
@@ -23,7 +23,7 @@ module.exports = async (ctx) => {
|
||||
data.data.vlist &&
|
||||
data.data.vlist.map((item) => ({
|
||||
title: item.title,
|
||||
description: `${item.description}<br><img referrerpolicy="no-referrer" src="${item.pic}">`,
|
||||
description: `${item.description}<br><img referrerpolicy="no-referrer" src="https:${item.pic}">`,
|
||||
pubDate: new Date(item.created * 1000).toUTCString(),
|
||||
link: `https://www.bilibili.com/video/av${item.aid}`,
|
||||
})),
|
||||
|
||||
Reference in New Issue
Block a user