diff --git a/docs/university.md b/docs/university.md index 8f2a6bdc3d..dab74e4985 100644 --- a/docs/university.md +++ b/docs/university.md @@ -1130,11 +1130,11 @@ https://rsshub.app/**nuist**/`bulletin` 或 https://rsshub.app/**nuist**/`bullet ### 浙大软件学院 - + -| 全部通知 | 招生信息 | 教学管理 | 思政工作 | 实习就业 | 合作科研 | -| -------- | -------- | -------- | -------- | -------- | -------- | -| 0 | 1 | 2 | 3 | 4 | 5 | +| 全部通知 | 招生信息 | 教务管理 | 论文管理 | 思政工作 | 评奖评优 | 实习就业 | 国内合作科研 | 国际合作科研 | +| -------- | -------- | -------- | -------- | -------- | -------- | -------- | ------------ | ------------ | +| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | diff --git a/lib/routes/universities/zju/cst/index.js b/lib/routes/universities/zju/cst/index.js index d19f41ff15..79d0c8ce4a 100644 --- a/lib/routes/universities/zju/cst/index.js +++ b/lib/routes/universities/zju/cst/index.js @@ -1,20 +1,24 @@ const got = require('@/utils/got'); const cheerio = require('cheerio'); -const host = 'http://www.cst.zju.edu.cn/index.php?c=Index&a=tlist&catid='; +const host = 'http://www.cst.zju.edu.cn/'; const map = new Map([ - [1, { id: '2', title: '浙大软件学院-招生信息' }], - [2, { id: '3', title: '浙大软件学院-教学管理' }], - [3, { id: '4', title: '浙大软件学院-思政工作' }], - [4, { id: '6', title: '浙大软件学院-实习就业' }], - [5, { id: '7', title: '浙大软件学院-合作科研' }], + [1, { id: '32178', title: '浙大软件学院-招生信息' }], + [2, { id: '36216', title: '浙大软件学院-教务管理' }], + [3, { id: '36217', title: '浙大软件学院-论文管理' }], + [4, { id: '36224', title: '浙大软件学院-思政工作' }], + [5, { id: '36228', title: '浙大软件学院-评奖评优' }], + [6, { id: '36233', title: '浙大软件学院-实习就业' }], + [7, { id: '36235', title: '浙大软件学院-国际实习' }], + [8, { id: '36194', title: '浙大软件学院-国内合作科研' }], + [9, { id: '36246', title: '浙大软件学院-国际合作科研' }], ]); async function getPage(id) { const res = await got({ method: 'get', - url: host + `${id}`, + url: host + `${id}` + '/list.htm', }); const $ = cheerio.load(res.data);