Files
RSSHub/lib/v2/hafu/radar.js
文沛东 d5af636a4c feat(route): add HAFU 河南财政金融学院 (#10330)
* feat(route): add HAFU 河南财政金融学院

* fix problems

1. fix route path in all files
2. fix radar target()
3. use camelCase
4. use ctx.cache.tryGet()
5. add "attachments" in description

* 1.run format, 2.add Promise.all()
2022-07-28 23:39:48 +08:00

24 lines
762 B
JavaScript

module.exports = {
'hafu.edu.cn': {
_name: '河南财政金融学院',
www: [
{
title: '河南财政金融学院 - 通知公告',
docs: 'https://docs.rsshub.app/university.html#he-nan-cai-zheng-jin-rong-xue-yuan',
source: '/*',
target: (params, url) => {
if (url.indexOf('www')) {
return '/hafu/news/ggtz';
}
if (url.indexOf('jwc')) {
return '/hafu/news/jwc';
}
if (url.indexOf('zsjyc')) {
return '/hafu/news/zsjyc';
}
},
},
],
},
};