Files
RSSHub/lib/v2/hrbeu/radar.js
T
Derek c07c960957 fix: restore /hrbeu/ugs/news.js (#11224)
* fix: restore /heu/ugs/news.js

* Update lib/v2/heu/ugs/news.js

* Update lib/v2/heu/ugs/news.js

* Update lib/v2/heu/ugs/news.js

* feat(require): update require

* refactor: mise fixes

* rename namespace to hrbeu
- hrbeu.edu.cn is the primary domain name as it's where the contact us mail hosted on

* increase code readability
- use template literals over .concat()
- use .includes() to check the existence of sth

* remove fake publish time

* remove duplicated title in description

* fix: fetch article from wechat mp

* fix: codeql
2022-11-09 22:31:19 +08:00

82 lines
3.1 KiB
JavaScript

module.exports = {
'hrbeu.edu.cn': {
_name: '哈尔滨工程大学',
yjsy: [
{
title: '研究生院',
docs: 'https://docs.rsshub.app/university.html#ha-er-bin-gong-cheng-da-xue',
source: '/:id/list.htm',
target: '/hrbeu/yjsy/list/:id',
},
],
job: [
{
title: '大型招聘会',
docs: 'https://docs.rsshub.app/journal.html#ha-er-bin-gong-cheng-da-xue',
source: '/*',
target: '/hrbeu/job/bigemploy',
},
{
title: '今日招聘会',
docs: 'https://docs.rsshub.app/journal.html#ha-er-bin-gong-cheng-da-xue',
source: '/*',
target: '/hrbeu/job/calendar',
},
{
title: '就业服务平台-通知公告',
docs: 'https://docs.rsshub.app/journal.html#ha-er-bin-gong-cheng-da-xue',
source: '/*',
target: '/hrbeu/job/list/tzgg',
},
{
title: '就业服务平台-热点新闻',
docs: 'https://docs.rsshub.app/journal.html#ha-er-bin-gong-cheng-da-xue',
source: '/*',
target: '/hrbeu/job/list/rdxw',
},
],
news: [
{
title: '工学',
docs: 'https://docs.rsshub.app/university.html#ha-er-bin-gong-cheng-da-xue',
source: '/:column',
target: (params) => `/hrbeu/gx/list/${params.column.replace('.htm', '')}`,
},
{
title: '工学',
docs: 'https://docs.rsshub.app/university.html#ha-er-bin-gong-cheng-da-xue',
source: '/:column/:id',
target: (params) => `/hrbeu/gx/list/${params.column}/${params.id.replace('.htm', '')}`,
},
{
title: '工学-card',
docs: 'https://docs.rsshub.app/university.html#ha-er-bin-gong-cheng-da-xue',
source: '/:column',
target: (params) => `/hrbeu/gx/card/${params.column.replace('.htm', '')}`,
},
{
title: '工学-card',
docs: 'https://docs.rsshub.app/university.html#ha-er-bin-gong-cheng-da-xue',
source: '/:column/:id',
target: (params) => `/hrbeu/gx/card/${params.column}/${params.id.replace('.htm', '')}`,
},
],
uae: [
{
title: '水声学院',
docs: 'https://docs.rsshub.app/university.html#ha-er-bin-gong-cheng-da-xue',
source: '/:id/list.htm',
target: '/hrbeu/uae/list/:id',
},
],
ugs: [
{
title: '本科生院工作通知',
docs: 'https://docs.rsshub.app/university.html#ha-er-bin-gong-cheng-da-xue',
source: '/:author/list.htm',
target: '/hrbeu/ugs/news/:author',
},
],
},
};