diff --git a/lib/v2/nikkei/cn/index.js b/lib/v2/nikkei/cn/index.js index ebd482d2f..2795c8c38 100644 --- a/lib/v2/nikkei/cn/index.js +++ b/lib/v2/nikkei/cn/index.js @@ -18,8 +18,9 @@ module.exports = async (ctx) => { const limit = ctx.query.limit ? parseInt(ctx.query.limit) : 25; const rootUrl = `https://${language === 'zh' ? 'zh.' : ''}cn.nikkei.com`; - const currentUrl = `${rootUrl}${path}`; - const isOfficialRSS = path === `/rss`; + const isOfficialRSS = path === '/rss'; + const currentUrl = `${rootUrl}${path}${isOfficialRSS ? '.html' : ''}`; + let officialFeed; let items = [],