From 50e25e59ac233687325f7660bab7fcacef5e889a Mon Sep 17 00:00:00 2001 From: Henry Date: Tue, 28 Jul 2020 16:54:32 +0100 Subject: [PATCH] style: format --- assets/radar-rules.js | 2 +- docs/university.md | 5 ++--- lib/routes/umass/amherst/ipostories.js | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/assets/radar-rules.js b/assets/radar-rules.js index 3b742aa91..a450b9351 100644 --- a/assets/radar-rules.js +++ b/assets/radar-rules.js @@ -1934,7 +1934,7 @@ target: '/umass/amherst/csnews', }, ], - 'www': [ + www: [ { title: 'IPO Events', docs: 'http://docs.rsshub.app/en/university.html#umass-amherst', diff --git a/docs/university.md b/docs/university.md index b2f9d77c0..f87f9f7b7 100644 --- a/docs/university.md +++ b/docs/university.md @@ -857,7 +857,6 @@ jsjxy.hbut.edu.cn 证书链不全,自建 RSSHub 可设置环境变量 NODE_TLS - ## 南昌航空大学 ### 教务处公告与新闻 @@ -1687,8 +1686,8 @@ type 列表: | 参数名称 | 公告信息 | 学工信息 | 教学信息 | 信息快递 | 学术报告 | 科研信息 | 网络公告 | 班车查询 | 周会表 | -| -------- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | -| 参数 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | +| -------- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | ------ | +| 参数 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | diff --git a/lib/routes/umass/amherst/ipostories.js b/lib/routes/umass/amherst/ipostories.js index 1edcc2736..ed37b7d60 100644 --- a/lib/routes/umass/amherst/ipostories.js +++ b/lib/routes/umass/amherst/ipostories.js @@ -26,7 +26,7 @@ module.exports = async (ctx) => { return { title: item.find('.views-field-title a').first().text(), description: `
` + item.find('.views-field-field-news-body .field-content').first(), - link: item.find('.views-field-title a').attr('href') + link: item.find('.views-field-title a').attr('href'), }; }) .get(),