Skip to content

Commit

Permalink
feat: remove notOperational routes - other
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Dec 21, 2023
1 parent 6a133c8 commit 7d3e56d
Show file tree
Hide file tree
Showing 55 changed files with 4 additions and 2,156 deletions.
1 change: 0 additions & 1 deletion assets/radar-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,6 @@
{ title: '首页 / 自考快递', docs: 'https://docs.rsshub.app/routes/government#bei-jing-jiao-yu-kao-shi-yuan', source: ['/zkkd'], target: '/gov/beijing/bjeea/zkkd' },
],
},
'ems.com.cn': { _name: '中国邮政速递物流', www: [{ title: '新闻', docs: 'https://docs.rsshub.app/routes/other#zhong-guo-you-zheng-su-di-wu-liu', source: '/aboutus/xin_wen_yu_shi_jian', target: '/ems/news' }] },
'nppa.gov.cn': {
_name: '国家新闻出版署',
www: [
Expand Down
29 changes: 0 additions & 29 deletions lib/radar-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -366,35 +366,6 @@ module.exports = {
},
],
},
'csc.edu.cn': {
_name: '国家留学网',
www: [
{
title: '遴选通知',
docs: 'https://docs.rsshub.app/routes/other#guo-jia-liu-xue-wang',
source: '/*',
target: '/csc/notice/lxtz',
},
{
title: '综合项目专栏',
docs: 'https://docs.rsshub.app/routes/other#guo-jia-liu-xue-wang',
source: '/*',
target: '/csc/notice/xmzl',
},
{
title: '常见问题解答',
docs: 'https://docs.rsshub.app/routes/other#guo-jia-liu-xue-wang',
source: '/*',
target: '/csc/notice/wtjd',
},
{
title: '录取公告',
docs: 'https://docs.rsshub.app/routes/other#guo-jia-liu-xue-wang',
source: '/*',
target: '/csc/notice/lqgg',
},
],
},
// 'biquge5200.com': {
// www: [
// {
Expand Down
90 changes: 0 additions & 90 deletions lib/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ const lazyloadRouteHandler = (routeHandlerPath) => (ctx) => {
// Benedict Evans
router.get('/benedictevans', lazyloadRouteHandler('./routes/benedictevans/recent.js'));

// 自如
router.get('/ziroom/room/:city/:iswhole/:room/:keyword', lazyloadRouteHandler('./routes/ziroom/room'));

// 简书
// router.get('/jianshu/home', lazyloadRouteHandler('./routes/jianshu/home'));
// router.get('/jianshu/collection/:id', lazyloadRouteHandler('./routes/jianshu/collection'));
Expand Down Expand Up @@ -418,9 +415,6 @@ router.get('/tits-guru/daily', lazyloadRouteHandler('./routes/titsguru/daily'));
router.get('/tits-guru/category/:type', lazyloadRouteHandler('./routes/titsguru/category'));
router.get('/tits-guru/model/:name', lazyloadRouteHandler('./routes/titsguru/model'));

// TSSstatus
router.get('/tssstatus/:board/:build', lazyloadRouteHandler('./routes/tssstatus'));

// Anime1
router.get('/anime1/anime/:time/:name', lazyloadRouteHandler('./routes/anime1/anime'));
router.get('/anime1/search/:keyword', lazyloadRouteHandler('./routes/anime1/search'));
Expand Down Expand Up @@ -535,9 +529,6 @@ router.get('/xiaoheihe/user/:id', lazyloadRouteHandler('./routes/xiaoheihe/user'
router.get('/xiaoheihe/news', lazyloadRouteHandler('./routes/xiaoheihe/news'));
router.get('/xiaoheihe/discount/:platform?', lazyloadRouteHandler('./routes/xiaoheihe/discount'));

// 惠誉评级
router.get('/fitchratings/site/:type', lazyloadRouteHandler('./routes/fitchratings/site'));

// ebb
router.get('/ebb', lazyloadRouteHandler('./routes/ebb'));

Expand Down Expand Up @@ -570,9 +561,6 @@ router.get('/security/pulses', lazyloadRouteHandler('./routes/security/pulses'))
router.get('/wegene/column/:type/:category', lazyloadRouteHandler('./routes/wegene/column'));
router.get('/wegene/newest', lazyloadRouteHandler('./routes/wegene/newest'));

// instapaper
router.get('/instapaper/person/:name', lazyloadRouteHandler('./routes/instapaper/person'));

// UI 中国
router.get('/ui-cn/article', lazyloadRouteHandler('./routes/ui-cn/article'));
router.get('/ui-cn/user/:id', lazyloadRouteHandler('./routes/ui-cn/user'));
Expand Down Expand Up @@ -634,9 +622,6 @@ router.redirect('/matters/hot', '/matters/latest/heat'); // Deprecated
router.get('/matters/tags/:tid', lazyloadRouteHandler('./routes/matters/tags'));
router.get('/matters/author/:uid', lazyloadRouteHandler('./routes/matters/author'));

// MobData
router.get('/mobdata/report', lazyloadRouteHandler('./routes/mobdata/report'));

// 古诗文网
router.get('/gushiwen/recommend/:annotation?', lazyloadRouteHandler('./routes/gushiwen/recommend'));

Expand All @@ -653,9 +638,6 @@ router.get('/bupt/funbox', lazyloadRouteHandler('./routes/universities/bupt/funb
// 广东海洋大学
router.get('/gdoujwc', lazyloadRouteHandler('./routes/universities/gdou/jwc/jwtz'));

// 马良行
router.get('/mlhang', lazyloadRouteHandler('./routes/mlhang/latest'));

// PlayStation Store
router.get('/ps/list/:gridName', lazyloadRouteHandler('./routes/ps/list'));
router.get('/ps/trophy/:id', lazyloadRouteHandler('./routes/ps/trophy'));
Expand All @@ -665,9 +647,6 @@ router.get('/ps/:lang?/product/:gridName', lazyloadRouteHandler('./routes/ps/pro
// Quanta Magazine
router.get('/quantamagazine/archive', lazyloadRouteHandler('./routes/quantamagazine/archive'));

// 福利资源-met.red
router.get('/metred/fuli', lazyloadRouteHandler('./routes/metred/fuli'));

// MIT
router.get('/mit/graduateadmissions/:type/:name', lazyloadRouteHandler('./routes/universities/mit/graduateadmissions'));
router.get('/mit/ocw-top', lazyloadRouteHandler('./routes/universities/mit/ocw-top'));
Expand All @@ -682,9 +661,6 @@ router.get('/asahi/:genre?/:category?', lazyloadRouteHandler('./routes/asahi/ind
// SoundCloud
router.get('/soundcloud/tracks/:user', lazyloadRouteHandler('./routes/soundcloud/tracks'));

// 且听风吟福利
router.get('/qtfyfl/:category', lazyloadRouteHandler('./routes/qtfyfl/category'));

// 派代
router.get('/paidai', lazyloadRouteHandler('./routes/paidai/index'));
router.get('/paidai/bbs', lazyloadRouteHandler('./routes/paidai/bbs'));
Expand Down Expand Up @@ -812,10 +788,6 @@ router.get('/siren/news', lazyloadRouteHandler('./routes/siren/index'));
router.get('/xuetangx/course/:cid/:type', lazyloadRouteHandler('./routes/xuetangx/course_info'));
router.get('/xuetangx/course/list/:mode/:credential/:status/:type?', lazyloadRouteHandler('./routes/xuetangx/course_list'));

// wikihow
router.get('/wikihow/index', lazyloadRouteHandler('./routes/wikihow/index.js'));
router.get('/wikihow/category/:category/:type', lazyloadRouteHandler('./routes/wikihow/category.js'));

// 正版中国
// router.get('/getitfree/category/:category?', lazyloadRouteHandler('./routes/getitfree/category.js'));
// router.get('/getitfree/search/:keyword?', lazyloadRouteHandler('./routes/getitfree/search.js'));
Expand All @@ -839,9 +811,6 @@ router.get('/keyakizaka46/blog', lazyloadRouteHandler('./routes/keyakizaka46/blo
// router.get('/hinatazaka46/blog', lazyloadRouteHandler('./routes/hinatazaka46/blog'));
// router.get('/sakurazaka46/blog', lazyloadRouteHandler('./routes/sakurazaka46/blog'));

// 模型网
router.get('/moxingnet', lazyloadRouteHandler('./routes/moxingnet'));

// 湖北大学
router.get('/hubu/news/:type', lazyloadRouteHandler('./routes/universities/hubu/news'));

Expand All @@ -859,9 +828,6 @@ router.get('/ctfhub/search/:limit?/:form?/:class?/:title?', lazyloadRouteHandler
// 中国日报
router.get('/chinadaily/english/:category', lazyloadRouteHandler('./routes/chinadaily/english.js'));

// DHL
router.get('/dhl/:id', lazyloadRouteHandler('./routes/dhl/shipment-tracking'));

// Hanime
router.get('/hanime/video', lazyloadRouteHandler('./routes/hanime/video'));

Expand Down Expand Up @@ -894,24 +860,12 @@ router.get('/youzan/goods/:id', lazyloadRouteHandler('./routes/youzan/goods'));
router.get('/queshu/sale', lazyloadRouteHandler('./routes/queshu/sale'));
router.get('/queshu/book/:bookid', lazyloadRouteHandler('./routes/queshu/book'));

// MITRE
router.get('/mitre/publications', lazyloadRouteHandler('./routes/mitre/publications'));

// SANS
router.get('/sans/summit_archive', lazyloadRouteHandler('./routes/sans/summit_archive'));

// LaTeX 开源小屋
router.get('/latexstudio/home', lazyloadRouteHandler('./routes/latexstudio/home'));

// 邮箱
// router.get('/mail/imap/:email/:folder*', lazyloadRouteHandler('./routes/mail/imap'));

// 好队友
router.get('/network360/jobs', lazyloadRouteHandler('./routes/network360/jobs'));

// 智联招聘
router.get('/zhilian/:city/:keyword', lazyloadRouteHandler('./routes/zhilian/index'));

// 北华航天工业学院 - 新闻
router.get('/nciae/news', lazyloadRouteHandler('./routes/universities/nciae/news'));
// 北华航天工业学院 - 通知公告
Expand Down Expand Up @@ -979,9 +933,6 @@ router.get('/cell/cover', lazyloadRouteHandler('./routes/cell/cover'));
router.get('/mcbbs/forum/:type', lazyloadRouteHandler('./routes/mcbbs/forum'));
router.get('/mcbbs/post/:tid/:authorid?', lazyloadRouteHandler('./routes/mcbbs/post'));

// Pocket
router.get('/pocket/trending', lazyloadRouteHandler('./routes/pocket/trending'));

// 每日猪价
router.get('/pork-price', lazyloadRouteHandler('./routes/pork-price'));

Expand Down Expand Up @@ -1073,10 +1024,6 @@ router.get('/galaxylab', lazyloadRouteHandler('./routes/galaxylab/index'));
// NOSEC 安全讯息平台
router.get('/nosec/:keykind?', lazyloadRouteHandler('./routes/nosec/index'));

// 新趣集
router.get('/xinquji/today', lazyloadRouteHandler('./routes/xinquji/today'));
router.get('/xinquji/today/internal', lazyloadRouteHandler('./routes/xinquji/internal'));

// discuz
// router.get('/discuz/:ver([7|x])/:cid([0-9]{2})/:link(.*)', lazyloadRouteHandler('./routes/discuz/discuz'));
// router.get('/discuz/:ver([7|x])/:link(.*)', lazyloadRouteHandler('./routes/discuz/discuz'));
Expand All @@ -1091,17 +1038,6 @@ router.get('/weixin/miniprogram/framework', lazyloadRouteHandler('./routes/tence
router.get('/weixin/miniprogram/devtools', lazyloadRouteHandler('./routes/tencent/wechat/miniprogram/devtools')); // 开发者工具更新日志
router.get('/weixin/miniprogram/wxcloud/:caty?', lazyloadRouteHandler('./routes/tencent/wechat/miniprogram/wxcloud')); // 云开发更新日志

// 新冠肺炎疫情动态
router.get('/coronavirus/caixin', lazyloadRouteHandler('./routes/coronavirus/caixin'));
router.get('/coronavirus/dxy/data/:province?/:city?', lazyloadRouteHandler('./routes/coronavirus/dxy-data'));
router.get('/coronavirus/dxy', lazyloadRouteHandler('./routes/coronavirus/dxy'));
router.get('/coronavirus/scmp', lazyloadRouteHandler('./routes/coronavirus/scmp'));
router.get('/coronavirus/nhc', lazyloadRouteHandler('./routes/coronavirus/nhc'));
router.get('/coronavirus/mogov-2019ncov/:lang', lazyloadRouteHandler('./routes/coronavirus/mogov-2019ncov'));
router.get('/coronavirus/qq/fact', lazyloadRouteHandler('./routes/tencent/factcheck'));
router.get('/coronavirus/sg-moh', lazyloadRouteHandler('./routes/coronavirus/sg-moh'));
router.get('/coronavirus/yahoo-japan/:tdfk?', lazyloadRouteHandler('./routes/coronavirus/yahoo-japan'));

// 南京林业大学教务处
router.get('/njfu/jwc/:category?', lazyloadRouteHandler('./routes/universities/njfu/jwc'));

Expand Down Expand Up @@ -1137,12 +1073,6 @@ router.get('/haohaozhu/discover/:keyword?', lazyloadRouteHandler('./routes/haoha
router.get('/magireco/announcements', lazyloadRouteHandler('./routes/magireco/announcements'));
router.get('/magireco/event_banner', lazyloadRouteHandler('./routes/magireco/event_banner'));

// booksource
router.get('/booksource', lazyloadRouteHandler('./routes/booksource/index'));

// ku
router.get('/ku/:name?', lazyloadRouteHandler('./routes/ku/index'));

// 我有一片芝麻地
router.get('/blogs/hedwig/:type', lazyloadRouteHandler('./routes/blogs/hedwig'));

Expand Down Expand Up @@ -1186,9 +1116,6 @@ router.get('/hnust/graduate/:type?', lazyloadRouteHandler('./routes/universities
// Checkra1n
router.get('/checkra1n/releases', lazyloadRouteHandler('./routes/checkra1n/releases'));

// 四川省科学技术厅
router.get('/sckjt/news/:type?', lazyloadRouteHandler('./routes/sckjt/news'));

// 湖北工业大学
router.get('/hbut/news/:type', lazyloadRouteHandler('./routes/universities/hbut/news'));
router.get('/hbut/cs/:type', lazyloadRouteHandler('./routes/universities/hbut/cs'));
Expand All @@ -1199,10 +1126,6 @@ router.get('/acwifi', lazyloadRouteHandler('./routes/acwifi'));
// MIT科技评论
// router.get('/mittrchina/:type', lazyloadRouteHandler('./routes/mittrchina'));

// iYouPort
router.get('/iyouport/article', lazyloadRouteHandler('./routes/iyouport'));
router.get('/iyouport/:category?', lazyloadRouteHandler('./routes/iyouport'));

// etoland
router.get('/etoland/:bo_table', lazyloadRouteHandler('./routes/etoland/board'));

Expand Down Expand Up @@ -1492,13 +1415,6 @@ router.get('/icity/:id', lazyloadRouteHandler('./routes/icity/index'));
// 台湾中央通讯社
// router.get('/cna/:id?', lazyloadRouteHandler('./routes/cna/index'));

// 守望先锋
router.get('/ow/patch', lazyloadRouteHandler('./routes/ow/patch'));

// 中国工程科技知识中心
router.get('/cktest/app/:ctgroup?/:domain?', lazyloadRouteHandler('./routes/cktest/app'));
router.get('/cktest/policy', lazyloadRouteHandler('./routes/cktest/policy'));

// 妈咪帮
router.get('/mamibuy/:caty?/:age?/:sort?', lazyloadRouteHandler('./routes/mamibuy/index'));

Expand Down Expand Up @@ -1542,9 +1458,6 @@ router.get('/citavi/:caty?', lazyloadRouteHandler('./routes/citavi/index'));
// Sesame
router.get('/sesame/release_notes', lazyloadRouteHandler('./routes/sesame/release_notes'));

// 佐川急便
router.get('/sagawa/:id', lazyloadRouteHandler('./routes/sagawa/index'));

// QNAP
router.get('/qnap/release-notes/:id', lazyloadRouteHandler('./routes/qnap/release-notes'));

Expand Down Expand Up @@ -1842,9 +1755,6 @@ router.get('/hainanu/ssszs', lazyloadRouteHandler('./routes/hainanu/ssszs'));
// 游戏年轮
router.get('/bibgame/:category?/:type?', lazyloadRouteHandler('./routes/bibgame/category'));

// 澳門特別行政區政府各公共部門獎助貸學金服務平台
router.get('/macau-bolsas/:lang?', lazyloadRouteHandler('./routes/macau-bolsas/index'));

// PotPlayer
router.get('/potplayer/update/:language?', lazyloadRouteHandler('./routes/potplayer/update'));

Expand Down
22 changes: 0 additions & 22 deletions lib/routes/booksource/index.js

This file was deleted.

34 changes: 0 additions & 34 deletions lib/routes/cktest/app.js

This file was deleted.

43 changes: 0 additions & 43 deletions lib/routes/cktest/policy.js

This file was deleted.

Loading

0 comments on commit 7d3e56d

Please sign in to comment.