From 46ba0f14ca1ed987f0a57df538a5000a653aca4a Mon Sep 17 00:00:00 2001 From: sgqy Date: Mon, 19 Nov 2018 03:23:34 +0800 Subject: [PATCH] fix [solidot] title (#1169) --- routes/solidot/_article.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/solidot/_article.js b/routes/solidot/_article.js index 9759063cf..663715215 100644 --- a/routes/solidot/_article.js +++ b/routes/solidot/_article.js @@ -31,7 +31,7 @@ module.exports = async function get_article(url) { date = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds())); const item = { - title: $('div.bg_htit > h2').text(), + title: $('div.block_m > div.ct_tittle > div.bg_htit > h2').text(), pubDate: date.toUTCString(), author: $('div.talk_time > b') .text()