mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-10-24 12:15:32 +08:00
fix(route/sjtu/yzb): Correct title and date. (#15387)
This commit is contained in:
@@ -47,8 +47,8 @@ async function handler(ctx) {
|
||||
.toArray()
|
||||
.map((elem) => ({
|
||||
link: new URL(elem.attribs.href, pageUrl).href,
|
||||
title: elem.attribs.title,
|
||||
pubDate: parseDate($(elem.next).text().trim()),
|
||||
title: $(elem).text(),
|
||||
pubDate: parseDate($(elem.next?.next).text().trim()),
|
||||
})),
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user