fix(route): 中南大学计算机学院通知 (#10444)

* fix(route): twreporter content

* fix(route): 中南大学计算机学院通知
This commit is contained in:
Jigsaw 2022-08-11 19:52:22 +08:00 committed by GitHub
parent e3fa7026a9
commit 5428e35f03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ module.exports = async (ctx) => {
const out = await Promise.all(
list.map((item) => {
const $ = cheerio.load(item);
const address = new URL($('a').attr('href'), url);
const address = new URL($('a').attr('href'), url).href;
const title = $('a').text();
const pubDate = $('span').text();
return ctx.cache.tryGet(address, async () => {