mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-10-20 23:58:02 +08:00
322dd10a43
* 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
19 lines
516 B
JavaScript
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,
|
|
};
|
|
};
|