mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-10-28 23:19:27 +08:00
* feat: add jou yztzgg * feat: add njxzc lib tzgg * feat: add jou index and yz && njxzc lib * docs: update university.md * fix: fix typos in jou and njxzc * docs: remove the extra backslash * fix: fix university.md * refactor: Extract common getItems function into utils/index.js * fix: fix typos in njxzc/radar.js * refactor: filter the tr items with css selector * fix: fix invalid date * style: format jou utils * fix: add timeStyleClass2 in jou yz
27 lines
579 B
JavaScript
27 lines
579 B
JavaScript
const { getNoticeList } = require('./utils');
|
|
|
|
const url = 'https://lib.njxzc.edu.cn/pxyhd/list.htm';
|
|
const host = 'https://lib.njxzc.edu.cn';
|
|
|
|
module.exports = async (ctx) => {
|
|
const out = await getNoticeList(
|
|
ctx,
|
|
url,
|
|
host,
|
|
'a',
|
|
'.news_meta',
|
|
{
|
|
title: '.arti_title',
|
|
content: '.wp_articlecontent',
|
|
date: '.arti_update',
|
|
},
|
|
'.news'
|
|
);
|
|
|
|
ctx.state.data = {
|
|
title: '南京晓庄学院 -- 图书馆通知公告',
|
|
link: url,
|
|
item: out,
|
|
};
|
|
};
|