Skip to content

Commit

Permalink
fix(route/sjtu/yzb): Correct title and date. (#15387)
Browse files Browse the repository at this point in the history
  • Loading branch information
dzx-dzx authored Apr 27, 2024
1 parent db2b5cc commit b55cb25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/routes/sjtu/yzb/zkxx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
})),
};
}

0 comments on commit b55cb25

Please sign in to comment.