fix: agefans title typo and link double slash (#4323)

This commit is contained in:
s2marine
2020-04-02 20:40:48 +08:00
committed by GitHub
parent 4580275abf
commit 23720b74cb
+2 -2
View File
@@ -15,13 +15,13 @@ module.exports = async (ctx) => {
.map((idx, item) => ({
title: $(item).text(),
description: $(item).text(),
link: `https://www.agefans.tv/${$(item).attr('href')}`,
link: `https://www.agefans.tv${$(item).attr('href')}`,
}))
.get();
items.reverse();
ctx.state.data = {
title: `ACG动漫 - ${$('.detail_imform_name').text()}`,
title: `AGE动漫 - ${$('.detail_imform_name').text()}`,
link: `https://www.agefans.tv/detail/${ctx.params.id}`,
description: $('.detail_imform_desc_pre').text(),
item: items,