Skip to content

Commit

Permalink
fix(route): 财新最新文章标题获取兼容火线评论 (#12798)
Browse files Browse the repository at this point in the history
  • Loading branch information
dzx-dzx authored Jul 14, 2023
1 parent 58ec314 commit c01a9e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/v2/caixin/latest.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'), {
Expand Down

0 comments on commit c01a9e4

Please sign in to comment.