mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-10-29 16:07:42 +08:00
* feat: add gxmzu utils * fix: test01 * fix: try01 * fix: fix njxzc homepage tzgg date * docs: add gxmzu rss docs support * feat: finish gxmzu rss building * fix: fix njxzc radar's docs * fix: fix docs/university * change gxmzu location in docs/university.md * change gxmzu location in docs/university.md again * a secomd attempt to change gxmzu location in docs/university.md * fix: a third attempt to change gxmzu location in docs/university.md * Update lib/v2/gxmzu/utils/index.js Co-authored-by: Tony <TonyRL@users.noreply.github.com> * Update lib/v2/gxmzu/maintainer.js Co-authored-by: Tony <TonyRL@users.noreply.github.com> * feat: 添加南京中医药大学研究生院博士招生RSS支持 && 添加南京鼓楼医院员工版教育培训RSS支持 * fix: fix njglyy/radar docs typos * Update lib/v2/njucm/radar.js * fix: remove rejectUnauthorized option * Update lib/v2/njucm/radar.js ---------
19 lines
516 B
JavaScript
19 lines
516 B
JavaScript
const { getNoticeList } = require('./utils');
|
|
|
|
const url = 'https://gra.njucm.edu.cn/2899/list.htm';
|
|
const host = 'https://gra.njucm.edu.cn';
|
|
|
|
module.exports = async (ctx) => {
|
|
const out = await getNoticeList(ctx, url, host, '#wp_news_w3 > table > tbody > tr', 'a', {
|
|
title: '.Article_Title',
|
|
content: '.Article_Content',
|
|
date: '.Article_PublishDate',
|
|
});
|
|
|
|
ctx.state.data = {
|
|
title: '南京中医药大学 -- 博士招生',
|
|
link: url,
|
|
item: out,
|
|
};
|
|
};
|