Files
Jaya 322dd10a43 feat(routes): add 南京晓庄学院图书馆通知公告、江苏海洋大学通知公告、江苏海洋大学研招网通知公告 (#12176)
* 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
2023-03-27 20:11:01 +08:00

19 lines
516 B
JavaScript

const { getItems } = require('./utils');
const url = 'https://yz.jou.edu.cn/index/zxgg.htm';
const host = 'https://yz.jou.edu.cn';
module.exports = async (ctx) => {
const out = await getItems(ctx, url, host, 'winstyle207638', 'timestyle207638', 'titlestyle207543', 'timestyle207543');
// 生成RSS源
ctx.state.data = {
// 项目标题
title: '江苏海洋大学 -- 研招通知公告',
// 项目链接
link: url,
// items的内容
item: out,
};
};