fix(route): fix economics (#10344)
* fix(route): fix economics * fix(route/economics): fix missing features image
This commit is contained in:
parent
8978feb645
commit
b3be740e2f
|
|
@ -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 };
|
||||
|
|
|
|||
Loading…
Reference in New Issue