mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-11 07:40:26 +08:00
fix: rsshub/rss
This commit is contained in:
@@ -20,7 +20,7 @@ module.exports = async (ctx) => {
|
||||
const list = [];
|
||||
all.forEach(({ item, type }) => {
|
||||
item.forEach((item) => {
|
||||
list.unshift({ item, type });
|
||||
list.push({ item, type });
|
||||
});
|
||||
});
|
||||
|
||||
@@ -37,9 +37,9 @@ module.exports = async (ctx) => {
|
||||
return {
|
||||
title: `${titleEle[0].attribs.id} - ${item
|
||||
.prevAll('h3')
|
||||
.contents()
|
||||
.eq(0)
|
||||
.text()}`,
|
||||
.text()
|
||||
.slice(2)}`,
|
||||
description: item.html(),
|
||||
link: `https://docs.rsshub.app/${type}.html#${encodeURIComponent(
|
||||
titleEle.find('.header-anchor').attr('href') &&
|
||||
|
||||
Reference in New Issue
Block a user