mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-10 07:12:51 +08:00
feat: 新增中农研招网通知路由 (#4206)
This commit is contained in:
@@ -313,6 +313,12 @@ xskb1 对应 http://www.auto.uestc.edu.cn/index/xskb1.htm
|
||||
|
||||
<Route author="Xiaotouming" example="/gdoujwc" path="/gdoujwc"/>
|
||||
|
||||
## 广州大学
|
||||
|
||||
## 广州大学研招网通知公告
|
||||
|
||||
<Route author="sushengmao" example="/gzyjs/gzyjs" path="/gzyjs/gzyjs" />
|
||||
|
||||
## 桂林电子科技大学
|
||||
|
||||
### 新闻资讯
|
||||
@@ -616,6 +622,12 @@ category 列表:
|
||||
|
||||
</Route>
|
||||
|
||||
## 南方科技大学
|
||||
|
||||
## 南方科技大学研究生网通知公告
|
||||
|
||||
<Route author="sushengmao" example="/sustyjs/sustyjs" path="/sustyjs/sustyjs" />
|
||||
|
||||
## 南京工业大学
|
||||
|
||||
### 南京工业大学教务处
|
||||
@@ -986,6 +998,10 @@ https://rsshub.app/**nuist**/`bulletin` 或 https://rsshub.app/**nuist**/`bullet
|
||||
|
||||
## 深圳大学
|
||||
|
||||
#### 深圳大学研究生招生网通知公告
|
||||
|
||||
<Route author="sushengmao" example="/szuyjs/szuyjs" path="/szuyjs/szuyjs" />
|
||||
|
||||
### 深圳大学研究生招生网
|
||||
|
||||
<Route author="NagaruZ" example="/szu/yz/1" path="/szu/yz/:type?" :paramsDesc="['默认为1']" >
|
||||
@@ -1349,6 +1365,16 @@ https://rsshub.app/**nuist**/`bulletin` 或 https://rsshub.app/**nuist**/`bullet
|
||||
|
||||
<Route author="HenryQW" example="/cas/sim/academic" path="/cas/sim/academic"/>
|
||||
|
||||
## 中国农业大学
|
||||
|
||||
### 中国农业大学研招网通知公告
|
||||
|
||||
<Route author="sushengmao" example="/cauyjs" path="/cauyjs" />
|
||||
|
||||
#### 中国农业大学信电学院
|
||||
|
||||
<Route author="sushengmao" example="/cauele" path="/cauele" />
|
||||
|
||||
## 中国石油大学(华东)
|
||||
|
||||
### 主页
|
||||
|
||||
@@ -2356,6 +2356,24 @@ router.get('/csc/notice/:type?', require('./routes/csc/notice'));
|
||||
// LearnKu
|
||||
router.get('/learnku/:community/:category?', require('./routes/learnku/topic'));
|
||||
|
||||
// 中国农业大学
|
||||
router.get('/cauyjs', require('./routes/universities/cauyjs/cauyjs'));
|
||||
|
||||
// 南方科技大学
|
||||
router.get('/sustyjs', require('./routes/universities/sustyjs/sustyjs'));
|
||||
|
||||
// 广州大学
|
||||
router.get('/gzyjs', require('./routes/universities/gzyjs/gzyjs'));
|
||||
|
||||
// 深圳大学
|
||||
router.get('/szuyjs', require('./routes/universities/szuyjs/szuyjs'));
|
||||
|
||||
// 中国传媒大学
|
||||
router.get('/cucyjs', require('./routes/universities/cucyjs/cucyjs'));
|
||||
|
||||
// 中国农业大学信电学院
|
||||
router.get('/cauele', require('./routes/universities/cauyjs/cauyjs'));
|
||||
|
||||
// moxingfans
|
||||
router.get('/moxingfans', require('./routes/moxingfans'));
|
||||
|
||||
|
||||
23
lib/routes/universities/cauele/cauele.js
Normal file
23
lib/routes/universities/cauele/cauele.js
Normal file
@@ -0,0 +1,23 @@
|
||||
const got = require('@/utils/got');
|
||||
const cheerio = require('cheerio');
|
||||
|
||||
module.exports = async (ctx) => {
|
||||
const link = 'http://ciee.cau.edu.cn/col/col26712/index.html';
|
||||
const response = await got.get(link);
|
||||
const $ = cheerio.load(response.data);
|
||||
const list = $('.info-content li').slice(0, 10);
|
||||
|
||||
ctx.state.data = {
|
||||
title: '中国农业大学信电学院',
|
||||
link: link,
|
||||
description: '中国农业大学信电学院通知公告',
|
||||
item:
|
||||
list &&
|
||||
list
|
||||
.map((index, item) => {
|
||||
item = $(item);
|
||||
return { description: item.find('li a').text(), link: item.find('li a').attr('href') };
|
||||
})
|
||||
.get(),
|
||||
};
|
||||
};
|
||||
23
lib/routes/universities/cauyjs/cauyjs.js
Normal file
23
lib/routes/universities/cauyjs/cauyjs.js
Normal file
@@ -0,0 +1,23 @@
|
||||
const got = require('@/utils/got');
|
||||
const cheerio = require('cheerio');
|
||||
|
||||
module.exports = async (ctx) => {
|
||||
const link = 'http://yz.cau.edu.cn/infoArticleList.do?sortColumn=publicationDate&pagingNumberPer=20&columnId=10423&sortDirection=-1&pagingPage=2&';
|
||||
const response = await got.get(link);
|
||||
const $ = cheerio.load(response.data);
|
||||
const list = $('.articleList ul li').slice(0, 10);
|
||||
|
||||
ctx.state.data = {
|
||||
title: '中农研究生学院',
|
||||
link: link,
|
||||
description: '中农研究生学院',
|
||||
item:
|
||||
list &&
|
||||
list
|
||||
.map((index, item) => {
|
||||
item = $(item);
|
||||
return { description: item.find('li a').text(), link: item.find('li a').attr('href') };
|
||||
})
|
||||
.get(),
|
||||
};
|
||||
};
|
||||
23
lib/routes/universities/cucyjs/cucyjs.js
Normal file
23
lib/routes/universities/cucyjs/cucyjs.js
Normal file
@@ -0,0 +1,23 @@
|
||||
const got = require('@/utils/got');
|
||||
const cheerio = require('cheerio');
|
||||
|
||||
module.exports = async (ctx) => {
|
||||
const link = 'http://yz.cuc.edu.cn/listWYFHY/list_0_1.htm';
|
||||
const response = await got.get(link);
|
||||
const $ = cheerio.load(response.data, 'utf-8');
|
||||
const list = $('.notice_main_content2 td').slice(0, 10);
|
||||
|
||||
ctx.state.data = {
|
||||
title: '中国传媒大学',
|
||||
link: link,
|
||||
description: '中国传媒大学研招网通知公告',
|
||||
item:
|
||||
list &&
|
||||
list
|
||||
.map((index, item) => {
|
||||
item = $(item);
|
||||
return { description: item.find('td a').text(), link: item.find('td a').attr('href') };
|
||||
})
|
||||
.get(),
|
||||
};
|
||||
};
|
||||
23
lib/routes/universities/gzyjs/gzyjs.js
Normal file
23
lib/routes/universities/gzyjs/gzyjs.js
Normal file
@@ -0,0 +1,23 @@
|
||||
const got = require('@/utils/got');
|
||||
const cheerio = require('cheerio');
|
||||
|
||||
module.exports = async (ctx) => {
|
||||
const link = 'http://yjsy.gzhu.edu.cn/zsxx/zsdt/zsdt.htm';
|
||||
const response = await got.get(link);
|
||||
const $ = cheerio.load(response.data);
|
||||
const list = $('.picnews_cont li').slice(0, 10);
|
||||
|
||||
ctx.state.data = {
|
||||
title: '广州大学研究生院',
|
||||
link: link,
|
||||
description: '广州大学研招网通知公告',
|
||||
item:
|
||||
list &&
|
||||
list
|
||||
.map((index, item) => {
|
||||
item = $(item);
|
||||
return { description: item.find('li a').text(), link: item.find('li a').attr('href') };
|
||||
})
|
||||
.get(),
|
||||
};
|
||||
};
|
||||
23
lib/routes/universities/sustyjs/sustyjs.js
Normal file
23
lib/routes/universities/sustyjs/sustyjs.js
Normal file
@@ -0,0 +1,23 @@
|
||||
const got = require('@/utils/got');
|
||||
const cheerio = require('cheerio');
|
||||
|
||||
module.exports = async (ctx) => {
|
||||
const link = 'https://gs.sustech.edu.cn/tonggao/p/1';
|
||||
const response = await got.get(link);
|
||||
const $ = cheerio.load(response.data);
|
||||
const list = $('.block02 ul li').slice(0, 10);
|
||||
|
||||
ctx.state.data = {
|
||||
title: '南方科技大学研究生院',
|
||||
link: link,
|
||||
description: '南方科技大学研招网通知公告',
|
||||
item:
|
||||
list &&
|
||||
list
|
||||
.map((index, item) => {
|
||||
item = $(item);
|
||||
return { description: item.find('li a').text(), link: item.find('li a').attr('href') };
|
||||
})
|
||||
.get(),
|
||||
};
|
||||
};
|
||||
23
lib/routes/universities/szuyjs/szuyjs.js
Normal file
23
lib/routes/universities/szuyjs/szuyjs.js
Normal file
@@ -0,0 +1,23 @@
|
||||
const got = require('@/utils/got');
|
||||
const cheerio = require('cheerio');
|
||||
|
||||
module.exports = async (ctx) => {
|
||||
const link = 'https://yz.szu.edu.cn/sszs/gg.htm';
|
||||
const response = await got.get(link);
|
||||
const $ = cheerio.load(response.data);
|
||||
const list = $('.list li').slice(0, 10);
|
||||
|
||||
ctx.state.data = {
|
||||
title: '深圳大学',
|
||||
link: link,
|
||||
description: '深圳大学研招网通知公告',
|
||||
item:
|
||||
list &&
|
||||
list
|
||||
.map((index, item) => {
|
||||
item = $(item);
|
||||
return { description: item.find('li A').text(), link: item.find('li A').attr('href') };
|
||||
})
|
||||
.get(),
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user