mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix(route/cna): Rectify link. (#14524)
This commit is contained in:
@@ -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),
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user