diff --git a/docs/university.md b/docs/university.md
index 3001a1d6e..50bf25ddd 100644
--- a/docs/university.md
+++ b/docs/university.md
@@ -3229,7 +3229,7 @@ jsjxy.hbut.edu.cn 证书链不全,自建 RSSHub 可设置环境变量 NODE_TLS
### 中国传媒大学研究生招生网
-
+
## 中国地质大学 (武汉)
diff --git a/lib/router.js b/lib/router.js
index e74dd87ad..528ed28f1 100644
--- a/lib/router.js
+++ b/lib/router.js
@@ -597,7 +597,7 @@ router.get('/cas/iee/kydt', lazyloadRouteHandler('./routes/universities/cas/iee/
router.get('/cas/cg/:caty?', lazyloadRouteHandler('./routes/universities/cas/cg/index'));
// 中国传媒大学
-router.get('/cuc/yz', lazyloadRouteHandler('./routes/universities/cuc/yz'));
+// router.get('/cuc/yz', lazyloadRouteHandler('./v2/cuc/yz'));
// UTdallas ISSO
router.get('/utdallas/isso', lazyloadRouteHandler('./routes/universities/utdallas/isso'));
diff --git a/lib/v2/cuc/maintainer.js b/lib/v2/cuc/maintainer.js
new file mode 100644
index 000000000..bc7c0e206
--- /dev/null
+++ b/lib/v2/cuc/maintainer.js
@@ -0,0 +1,3 @@
+module.exports = {
+ '/yz': ['niuyi1017'],
+};
diff --git a/lib/v2/cuc/radar.js b/lib/v2/cuc/radar.js
new file mode 100644
index 000000000..57e7e9088
--- /dev/null
+++ b/lib/v2/cuc/radar.js
@@ -0,0 +1,13 @@
+module.exports = {
+ 'cuc.edu.cn': {
+ _name: '中国传媒大学',
+ yz: [
+ {
+ title: '研究生招生网',
+ docs: 'https://docs.rsshub.app/university.html#zhong-guo-chuan-mei-da-xue',
+ source: '/*',
+ target: '/',
+ },
+ ],
+ },
+};
diff --git a/lib/v2/cuc/router.js b/lib/v2/cuc/router.js
new file mode 100644
index 000000000..606afd65c
--- /dev/null
+++ b/lib/v2/cuc/router.js
@@ -0,0 +1,3 @@
+module.exports = function (router) {
+ router.get('/yz', require('./yz'));
+};
diff --git a/lib/routes/universities/cuc/yz.js b/lib/v2/cuc/yz.js
similarity index 91%
rename from lib/routes/universities/cuc/yz.js
rename to lib/v2/cuc/yz.js
index c9c72fa8a..00bd8d347 100644
--- a/lib/routes/universities/cuc/yz.js
+++ b/lib/v2/cuc/yz.js
@@ -1,6 +1,5 @@
const got = require('@/utils/got');
const cheerio = require('cheerio');
-const url = require('url');
const iconv = require('iconv-lite');
const host = 'http://yz.cuc.edu.cn/';
@@ -18,13 +17,12 @@ module.exports = async (ctx) => {
const $ = cheerio.load(responseHtml);
const notice = $('#notice_area').children('.notice_block_top');
- const content = notice.children('.notice_content1').children();
-
+ const content = notice.children('.notice_content1').children('p');
const items = content
.map((_, elem) => {
const a = $('a', elem);
return {
- link: url.resolve(host, a.attr('href')),
+ link: new URL(a.attr('href'), host).href,
title: a.text(),
};
})