mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-05 04:11:26 +08:00
fix(route): 中国载人航天飞行任务图片URL (#10390)
This commit is contained in:
@@ -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(),
|
||||
}),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user