fix(route): fix economics (#10344)

* fix(route): fix economics

* fix(route/economics): fix missing features image
This commit is contained in:
Bryan 2022-08-03 14:27:48 +08:00 committed by GitHub
parent 8978feb645
commit b3be740e2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ const getArticleDetail = async (link, ctx) =>
$('div.article-audio-player__center-tooltip').remove();
const nextData = JSON.parse($('head script[type="application/ld+json"]').text());
const article = $('#new-article-template > div > div.css-wvfzu8 > div.css-mticar').html() + $('#new-article-template > div > div.css-wvfzu8 > div > div > section').html();
const article = ($('figure[class^=css-]').first().parent().parent().html() || '') + $('p.article__body-text').parent().html();
const categories = nextData.keywords?.map((k) => k);
return { article, categories };