From d59b59fc339719e9076c0490602fb18b7b0cb0e6 Mon Sep 17 00:00:00 2001 From: "XiaoFang.Bao" Date: Sat, 2 May 2020 13:10:10 +0800 Subject: [PATCH] fix: 51 voa single title (#4639) --- lib/routes/51voa/channel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes/51voa/channel.js b/lib/routes/51voa/channel.js index 277a11e994..fd870244ef 100644 --- a/lib/routes/51voa/channel.js +++ b/lib/routes/51voa/channel.js @@ -139,7 +139,7 @@ module.exports = async (ctx) => { const single = { pubDate: date($('div.Content>span.datetime').text()), link: $('div.title h1').text(), - title: title, + title: $('div.title>h1').html(), description: $('div.Content').html(), category: ['study', 'English'], };