diff --git a/lib/v2/infoq/utils.js b/lib/v2/infoq/utils.js index bb5f7ec421..ffcb40f7c8 100644 --- a/lib/v2/infoq/utils.js +++ b/lib/v2/infoq/utils.js @@ -21,10 +21,11 @@ const ProcessFeed = async (list, cache) => { const data = resp.data.data; const author = data.author ? data.author.map((p) => p.nickname).join(',') : data.no_author; const category = e.topic.map((t) => t.name).concat(e.label.map((l) => l.name)); + const content = data.content_url ? (await got(data.content_url)).body : data.content; return { title: data.article_title, - description: parseContent(data.content), + description: parseContent(content), pubDate: parseDate(e.publish_time, 'x'), category, author,