fix(route): 财新最新文章标题获取兼容火线评论 (#12798)
This commit is contained in:
parent
58ec314787
commit
c01a9e4daf
|
|
@ -22,7 +22,7 @@ module.exports = async (ctx) => {
|
|||
const entry_r = await got(item.link);
|
||||
const $ = cheerio.load(entry_r.data);
|
||||
// title
|
||||
const h1 = $('div#conTit h1').text();
|
||||
const h1 = $('#conTit h1').text();
|
||||
|
||||
// desc
|
||||
const desc = art(path.join(__dirname, 'templates/article.art'), {
|
||||
|
|
|
|||
Loading…
Reference in New Issue