mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-07 21:47:57 +08:00
fix: rsshub routes update
This commit is contained in:
@@ -55,7 +55,7 @@ module.exports = async (ctx) => {
|
|||||||
return {
|
return {
|
||||||
title: `${h2Title.text().trim()} - ${h3Title.text().trim()}`,
|
title: `${h2Title.text().trim()} - ${h3Title.text().trim()}`,
|
||||||
description: item.html(),
|
description: item.html(),
|
||||||
link: `https://docs.rsshub.app/${lang}routes/${type}#${encodeURIComponent(h2Title.find('.hash-link').attr('href') && h3Title.find('.hash-link').attr('href').substring(1))}`,
|
link: `https://docs.rsshub.app/${lang}routes/${type}#${encodeURIComponent(h2Title.find('.hash-link').attr('href') && h3Title.find('.hash-link').attr('href')?.substring(1))}`,
|
||||||
guid: item.attr('id'),
|
guid: item.attr('id'),
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user