fix [solidot] title (#1169)

This commit is contained in:
sgqy
2018-11-19 03:23:34 +08:00
committed by DIYgod
parent bcf983951f
commit 46ba0f14ca
+1 -1
View File
@@ -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()