diff --git a/lib/v2/caixin/weekly.js b/lib/v2/caixin/weekly.js index 4b90ce96f..8cf12cfcb 100644 --- a/lib/v2/caixin/weekly.js +++ b/lib/v2/caixin/weekly.js @@ -27,7 +27,7 @@ module.exports = async (ctx) => { const { data } = await got(item.link); const $ = cheerio.load(data); - item.title = $('head title').text(); + item.title = $('head title').text().replace(/_财新周刊频道_财新网$/, '').trim(); item.pubDate = parseDate( $('.source') .text() @@ -47,7 +47,7 @@ module.exports = async (ctx) => { ); ctx.state.data = { - title: $('head title').text(), + title: $('head title').text().replace(/_财新周刊频道_财新网$/, '').trim(), link, item: items, };