feat: 优化片源网 title 展示 (#3541)
This commit is contained in:
parent
13e6ef366c
commit
41daa4c2bc
|
|
@ -37,9 +37,11 @@ module.exports = async (ctx) => {
|
|||
.find('td:nth-child(2)')
|
||||
.text();
|
||||
|
||||
const description_simple = description.substr(0, description.indexOf('主演')).replace(text, '');
|
||||
|
||||
items.push({
|
||||
title: `[${size}] ${text}`,
|
||||
description: description,
|
||||
title: `[${size}] ${description_simple}`,
|
||||
description: `${description}`,
|
||||
link: link_base + link,
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue