fix(route): 财新最新文章标题获取兼容火线评论 (#12798)

This commit is contained in:
Andvari 2023-07-14 20:40:48 +08:00 committed by GitHub
parent 58ec314787
commit c01a9e4daf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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'), {