diff --git a/build/maintainers.json b/build/maintainers.json index b4b03da472..e401cecc1a 100644 --- a/build/maintainers.json +++ b/build/maintainers.json @@ -3139,6 +3139,12 @@ "/cuc/yz": [ "niuyi1017" ], + "/cugb/jwc/:channel?": [ + "syncmeta" + ], + "/cugb/news/:channel?": [ + "syncmeta" + ], "/cuilingmag/:category?": [ "nczitzk" ], diff --git a/build/radar-rules.js b/build/radar-rules.js index 1b2b09ed4d..0f94bccc83 100644 --- a/build/radar-rules.js +++ b/build/radar-rules.js @@ -8114,6 +8114,15 @@ source:[ "/8549/list.htm", "/" ], target:"/cuc/yz" } ] }, + "cugb.edu.cn":{ _name:"China University of Geosciences (Beijing)", + jwc:[ { title:"教务处", + docs:"https://docs.rsshub.app/routes/university", + source:[ "/:channel" ], + target:"/cugb/jwc/:channel" } ], + www:[ { title:"校园新闻", + docs:"https://docs.rsshub.app/routes/university", + source:[ "/:channel.jhtml" ], + target:"/cugb/news/:channel" } ] }, "cuilingmag.com":{ _name:"萃嶺网", ".":[ { title:"分类", docs:"https://docs.rsshub.app/routes/new-media", diff --git a/build/radar-rules.json b/build/radar-rules.json index 65d72cce8c..4775457692 100644 --- a/build/radar-rules.json +++ b/build/radar-rules.json @@ -17623,6 +17623,29 @@ } ] }, + "cugb.edu.cn": { + "_name": "China University of Geosciences (Beijing)", + "jwc": [ + { + "title": "教务处", + "docs": "https://docs.rsshub.app/routes/university", + "source": [ + "/:channel" + ], + "target": "/cugb/jwc/:channel" + } + ], + "www": [ + { + "title": "校园新闻", + "docs": "https://docs.rsshub.app/routes/university", + "source": [ + "/:channel.jhtml" + ], + "target": "/cugb/news/:channel" + } + ] + }, "cuilingmag.com": { "_name": "萃嶺网", ".": [ diff --git a/build/route-paths.ts b/build/route-paths.ts index 6e675218e7..8be34f7987 100644 --- a/build/route-paths.ts +++ b/build/route-paths.ts @@ -694,6 +694,8 @@ export type RoutePath = | `/ctinews/topic/:topic?` | `/cts/:category` | `/cuc/yz` + | `/cugb/jwc/:channel?` + | `/cugb/news/:channel?` | `/cuilingmag/:category?` | `/cupl/jwc` | `/curiouscat/user/:id` diff --git a/build/routes.js b/build/routes.js index d7c03bc9ac..228d8fe313 100644 --- a/build/routes.js +++ b/build/routes.js @@ -47395,6 +47395,85 @@ export default { "url": "yz.cuc.edu.cn", "lang": "zh-CN" }, + "cugb": { + "routes": { + "/jwc/:channel?": { + "path": "/jwc/:channel?", + "categories": [ + "university" + ], + "example": "/cugb/jwc/xszq", + "parameters": { + "channel": "栏目,默认为 `xszq` 学生专区" + }, + "features": { + "requireConfig": false, + "requirePuppeteer": false, + "antiCrawler": false, + "supportBT": false, + "supportPodcast": false, + "supportScihub": false + }, + "radar": [ + { + "source": [ + "jwc.cugb.edu.cn/:channel" + ], + "target": "/jwc/:channel" + } + ], + "name": "教务处", + "maintainers": [ + "syncmeta" + ], + "location": "jwc.ts", + "module": () => import('@/routes/cugb/jwc.ts') + }, + "/news/:channel?": { + "path": "/news/:channel?", + "categories": [ + "university" + ], + "example": "/cugb/news/bdxw", + "parameters": { + "channel": "栏目,默认为 `bdxw` 北地新闻" + }, + "features": { + "requireConfig": false, + "requirePuppeteer": false, + "antiCrawler": false, + "supportBT": false, + "supportPodcast": false, + "supportScihub": false + }, + "radar": [ + { + "source": [ + "www.cugb.edu.cn/:channel.jhtml" + ], + "target": "/news/:channel" + } + ], + "name": "校园新闻", + "maintainers": [ + "syncmeta" + ], + "location": "news.ts", + "module": () => import('@/routes/cugb/news.ts') + } + }, + "apiRoutes": {}, + "name": "China University of Geosciences (Beijing)", + "url": "cugb.edu.cn", + "categories": [ + "university" + ], + "description": "", + "lang": "zh-CN", + "zh": { + "name": "中国地质大学(北京)" + } + }, "cuilingmag": { "routes": { "/:category?": { diff --git a/build/routes.json b/build/routes.json index 50e217687d..6b9c9df659 100644 --- a/build/routes.json +++ b/build/routes.json @@ -47395,6 +47395,85 @@ "url": "yz.cuc.edu.cn", "lang": "zh-CN" }, + "cugb": { + "routes": { + "/jwc/:channel?": { + "path": "/jwc/:channel?", + "categories": [ + "university" + ], + "example": "/cugb/jwc/xszq", + "parameters": { + "channel": "栏目,默认为 `xszq` 学生专区" + }, + "features": { + "requireConfig": false, + "requirePuppeteer": false, + "antiCrawler": false, + "supportBT": false, + "supportPodcast": false, + "supportScihub": false + }, + "radar": [ + { + "source": [ + "jwc.cugb.edu.cn/:channel" + ], + "target": "/jwc/:channel" + } + ], + "name": "教务处", + "maintainers": [ + "syncmeta" + ], + "location": "jwc.ts", + "module": "() => import('@/routes/cugb/jwc.ts')" + }, + "/news/:channel?": { + "path": "/news/:channel?", + "categories": [ + "university" + ], + "example": "/cugb/news/bdxw", + "parameters": { + "channel": "栏目,默认为 `bdxw` 北地新闻" + }, + "features": { + "requireConfig": false, + "requirePuppeteer": false, + "antiCrawler": false, + "supportBT": false, + "supportPodcast": false, + "supportScihub": false + }, + "radar": [ + { + "source": [ + "www.cugb.edu.cn/:channel.jhtml" + ], + "target": "/news/:channel" + } + ], + "name": "校园新闻", + "maintainers": [ + "syncmeta" + ], + "location": "news.ts", + "module": "() => import('@/routes/cugb/news.ts')" + } + }, + "apiRoutes": {}, + "name": "China University of Geosciences (Beijing)", + "url": "cugb.edu.cn", + "categories": [ + "university" + ], + "description": "", + "lang": "zh-CN", + "zh": { + "name": "中国地质大学(北京)" + } + }, "cuilingmag": { "routes": { "/:category?": {