Hotfix: bilibili bangumi (#1407)

- 接口字段变动
- 拿不到更新时间了
This commit is contained in:
凉凉 2019-01-17 11:19:00 +08:00 committed by DIYgod
parent 19a9c32268
commit dd94352550
1 changed files with 3 additions and 4 deletions

View File

@ -16,10 +16,9 @@ module.exports = async (ctx) => {
item:
data.epList &&
data.epList.reverse().map((item) => ({
title: `${item.index}${item.index_title}`,
description: `更新时间:${item.pub_real_time}<img referrerpolicy="no-referrer" src="${item.cover}">`,
pubDate: new Date(item.pub_real_time).toUTCString(),
link: `https://www.bilibili.com/bangumi/play/ep${item.ep_id}`,
title: `${item.titleFormat} ${item.longTitle}`,
description: `<img referrerpolicy="no-referrer" src="https:${item.cover}">`,
link: `https://www.bilibili.com/bangumi/play/ep${item.id}`,
})),
};
};