diff --git a/lib/v2/cna/web/index.js b/lib/v2/cna/web/index.js index c60da3e40b..d1538a85bc 100644 --- a/lib/v2/cna/web/index.js +++ b/lib/v2/cna/web/index.js @@ -20,7 +20,7 @@ module.exports = async (ctx) => { item = $(item); return { title: item.text(), - link: item.parents('a').attr('href'), + link: new URL(item.parents('a').attr('href'), 'https://www.cna.com.tw').href, pubDate: timezone(parseDate(item.next().text()), +8), }; });