diff --git a/lib/routes/banyuetan/index.js b/lib/routes/banyuetan/index.js index f410d68fa..bd1ae0a39 100644 --- a/lib/routes/banyuetan/index.js +++ b/lib/routes/banyuetan/index.js @@ -41,9 +41,7 @@ module.exports = async (ctx) => { const response = await got.get(itemUrl); const $ = cheerio.load(response.data); - const description = $('div.detail_content') - .html() - .trim(); + const description = $('div.detail_content').html() || '文章已被删除'; const single = { title: title,