diff --git a/docs/university.md b/docs/university.md index 1b5e8f783..a96043bc9 100644 --- a/docs/university.md +++ b/docs/university.md @@ -1693,8 +1693,8 @@ jsjxy.hbut.edu.cn 证书链不全,自建 RSSHub 可设置环境变量 NODE_TLS -| 教学 | 考试 | 信息 | 实践 | -| ------ | ---- | ---- | ---- | +| 教学 | 考试 | 信息 | 实践 | +| -- | -- | -- | -- | | jx | ks | xx | sj | ## 南京工业大学 diff --git a/lib/v2/njit/jwc.js b/lib/v2/njit/jwc.js index 38eae140d..72d4f644e 100644 --- a/lib/v2/njit/jwc.js +++ b/lib/v2/njit/jwc.js @@ -61,7 +61,7 @@ module.exports = async (ctx) => { .replace(/src="\//g, `src="${new URL('.', host).href}`) .replace(/href="\//g, `href="${new URL('.', host).href}`) .trim(), - pubDate: $('.author p').eq(1).text().replace('时间:', '') + pubDate: $('.author p').eq(1).text().replace('时间:', ''), }; return single; }); diff --git a/lib/v2/njit/maintainer.js b/lib/v2/njit/maintainer.js index dcf7e1ddc..87b3cfd1b 100644 --- a/lib/v2/njit/maintainer.js +++ b/lib/v2/njit/maintainer.js @@ -1,4 +1,4 @@ module.exports = { '/tzgg': ['zefengdaguo'], '/jwc/:type?': ['zefengdaguo'], -}; \ No newline at end of file +}; diff --git a/lib/v2/njit/radar.js b/lib/v2/njit/radar.js index 74a21b1d7..bb04d76bb 100644 --- a/lib/v2/njit/radar.js +++ b/lib/v2/njit/radar.js @@ -6,7 +6,7 @@ module.exports = { title: '南京工程学院教务处', docs: 'https://docs.rsshub.app/university.html#nan-jing-gong-cheng-xue-yuan-nan-jing-gong-cheng-xue-yuan-jiao-wu-chu', source: '/index/:type', - target: (params) => `/njit/jwc/${params.type.replace('.htm', '')}` + target: (params) => `/njit/jwc/${params.type.replace('.htm', '')}`, }, ], www: [ @@ -14,8 +14,8 @@ module.exports = { title: '南京工程学院通知公告', docs: 'https://docs.rsshub.app/university.html#nan-jing-gong-cheng-xue-yuan-nan-jing-gong-cheng-xue-yuan-tong-zhi-gong-gao', source: '/', - target: '/njit/tzgg' - } - ] + target: '/njit/tzgg', + }, + ], }, }; diff --git a/lib/v2/njit/router.js b/lib/v2/njit/router.js index e3721c6dc..41654d74a 100644 --- a/lib/v2/njit/router.js +++ b/lib/v2/njit/router.js @@ -1,4 +1,4 @@ module.exports = (router) => { router.get('/tzgg', require('./tzgg')); router.get('/jwc/:type?', require('./jwc')); -}; \ No newline at end of file +};