diff --git a/lib/v2/gov/cmse/fxrw.js b/lib/v2/gov/cmse/fxrw.js index c5c75ad8f8..00a5cac470 100644 --- a/lib/v2/gov/cmse/fxrw.js +++ b/lib/v2/gov/cmse/fxrw.js @@ -23,10 +23,10 @@ module.exports = async (ctx) => { return { title: item.find('.title').text().split(':').pop().trim(), - link: new URL(item.attr('href'), currentUrl), + link: new URL(item.attr('href'), currentUrl).href, pubDate: timezone(parseDate(item.find('.infoR').first().text().trim(), 'YYYY年M月D日H时m分'), +8), description: art(path.join(__dirname, 'templates/description.art'), { - image: item.find('img').attr('src'), + image: new URL(item.find('img').attr('src'), currentUrl).href, description: item.find('.info').html(), }), };