mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-09 23:00:48 +08:00
* 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()
24 lines
762 B
JavaScript
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';
|
|
}
|
|
},
|
|
},
|
|
],
|
|
},
|
|
};
|