mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-12 16:20:27 +08:00
fix(route): jiemian新闻移除标题中的target= (#7664)
This commit is contained in:
@@ -18,7 +18,7 @@ module.exports = async (ctx) => {
|
||||
let out = await Promise.all(
|
||||
list.map(async (item) => {
|
||||
const $ = cheerio.load(item);
|
||||
const title = $('.item-main a').text();
|
||||
const title = $('.item-main a').text().replace('target="_blank">', '');
|
||||
const itemUrl = $('.item-main a').attr('href');
|
||||
const cache = await ctx.cache.get(itemUrl);
|
||||
if (cache) {
|
||||
|
||||
Reference in New Issue
Block a user