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 06:27:48 +00:00
committed by GitHub
parent 8978feb645
commit b3be740e2f
+1 -1
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 };