mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix(route): 中南大学计算机学院通知 (#10444)
* fix(route): twreporter content * fix(route): 中南大学计算机学院通知
This commit is contained in:
+1
-1
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user