Skip to content

Commit

Permalink
feat: remove notOperational routes - traditional media
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Dec 19, 2023
1 parent e9ba4f9 commit ea6ec94
Show file tree
Hide file tree
Showing 84 changed files with 8 additions and 2,793 deletions.
1 change: 0 additions & 1 deletion assets/radar-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
},
],
},
'chinatimes.com': { _name: '中時電子報', www: [{ title: '新聞', docs: 'https://docs.rsshub.app/routes/traditional-media#zhong-shi-dian-zi-bao', source: '/:caty', target: (params) => '/chinatimes/' + params.caty }] },
'govopendata.com': { _name: '新闻联播文字版', cn: [{ title: '新闻联播文字版', docs: 'https://docs.rsshub.app/routes/traditional-media#xin-wen-lian-bo-wen-zi-ban', source: '/xinwenlianbo', target: '/xinwenlianbo/index' }] },
'steampowered.com': { _name: 'Steam', store: [{ title: 'search', docs: 'https://docs.rsshub.app/routes/game#steam', source: '/search/', target: (params, url) => `/steam/search/${new URL(url).searchParams}` }] },
'xiaomi.cn': { _name: '小米社区', www: [{ title: '圈子', docs: 'https://docs.rsshub.app/routes/bbs#xiao-mi-she-qu', source: '/board/:boardId', target: '/mi/bbs/board/:boardId' }] },
Expand Down
12 changes: 0 additions & 12 deletions lib/radar-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,18 +288,6 @@ module.exports = {
],
},

'chinatimes.com': {
_name: '中時電子報',
www: [
{
title: '新聞',
docs: 'https://docs.rsshub.app/routes/traditional-media#zhong-shi-dian-zi-bao',
source: '/:caty',
target: (params) => '/chinatimes/' + params.caty,
},
],
},

'govopendata.com': {
_name: '新闻联播文字版',
cn: [
Expand Down
32 changes: 0 additions & 32 deletions lib/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ router.get('/eztv/torrents/:imdb_id', lazyloadRouteHandler('./routes/eztv/imdb')

// 新京报
router.get('/bjnews/:cat', lazyloadRouteHandler('./routes/bjnews/news'));
router.get('/bjnews/epaper/:cat', lazyloadRouteHandler('./routes/bjnews/epaper'));

// 米哈游
router.get('/mihoyo/bh3/:type', lazyloadRouteHandler('./routes/mihoyo/bh3'));
Expand Down Expand Up @@ -835,7 +834,6 @@ router.get('/gradcafe/result', lazyloadRouteHandler('./routes/gradcafe/result'))
router.get('/shuhui/comics/:id', lazyloadRouteHandler('./routes/shuhui/comics'));

// 朝日新闻
router.get('/asahi/area/:id', lazyloadRouteHandler('./routes/asahi/area'));
router.get('/asahi/:genre?/:category?', lazyloadRouteHandler('./routes/asahi/index'));

// SoundCloud
Expand Down Expand Up @@ -869,9 +867,6 @@ router.get('/curseforge/:gameid/:catagoryid/:projectid/files', lazyloadRouteHand
// 西南财经大学
router.get('/swufe/seie/:type?', lazyloadRouteHandler('./routes/universities/swufe/seie'));

// Wired
router.get('/wired/tag/:tag', lazyloadRouteHandler('./routes/wired/tag'));

// 飞地
router.get('/enclavebooks/category/:id?', lazyloadRouteHandler('./routes/enclavebooks/category'));
router.get('/enclavebooks/user/:uid', lazyloadRouteHandler('./routes/enclavebooks/user.js'));
Expand Down Expand Up @@ -1273,9 +1268,6 @@ router.get('/itslide/new', lazyloadRouteHandler('./routes/itslide/new'));
// Remote Work
router.get('/remote-work/:caty?', lazyloadRouteHandler('./routes/remote-work/index'));

// China Times
router.get('/chinatimes/:caty', lazyloadRouteHandler('./routes/chinatimes/index'));

// chocolatey
router.get('/chocolatey/software/:name?', lazyloadRouteHandler('./routes/chocolatey/software'));

Expand Down Expand Up @@ -1351,18 +1343,11 @@ router.get('/xinquji/today/internal', lazyloadRouteHandler('./routes/xinquji/int
// 英中协会
router.get('/gbcc/trust', lazyloadRouteHandler('./routes/gbcc/trust'));

// CBC
// router.get('/cbc/topics/:topic?', lazyloadRouteHandler('./routes/cbc/topics'));

// 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'));
// router.get('/discuz/:link(.*)', lazyloadRouteHandler('./routes/discuz/discuz'));

// China Dialogue 中外对话
router.get('/chinadialogue/topics/:topic', lazyloadRouteHandler('./routes/chinadialogue/topics'));
router.get('/chinadialogue/:column', lazyloadRouteHandler('./routes/chinadialogue/column'));

// 人民日报社 国际金融报
router.get('/ifnews/:cid', lazyloadRouteHandler('./routes/ifnews/column'));

Expand Down Expand Up @@ -1592,10 +1577,6 @@ router.get('/cpta/notice', lazyloadRouteHandler('./routes/cpta/notice'));
// 广告网
router.get('/adquan/:type?', lazyloadRouteHandler('./routes/adquan/index'));

// 齐鲁晚报
router.get('/qlwb/news', lazyloadRouteHandler('./routes/qlwb/news'));
router.get('/qlwb/city/:city', lazyloadRouteHandler('./routes/qlwb/city'));

// 金色财经
router.get('/jinse/lives', lazyloadRouteHandler('./routes/jinse/lives'));
router.get('/jinse/timeline', lazyloadRouteHandler('./routes/jinse/timeline'));
Expand Down Expand Up @@ -1712,9 +1693,6 @@ router.get('/egameqq/room/:id', lazyloadRouteHandler('./routes/tencent/egame/roo
// 荔枝FM
router.get('/lizhi/user/:id', lazyloadRouteHandler('./routes/lizhi/user'));

// Boston.com
router.get('/boston/:tag?', lazyloadRouteHandler('./routes/boston/index'));

// 场库
router.get('/changku', lazyloadRouteHandler('./routes/changku/index'));
router.get('/changku/cate/:postid', lazyloadRouteHandler('./routes/changku/index'));
Expand Down Expand Up @@ -1819,10 +1797,6 @@ router.get('/souyun/today', lazyloadRouteHandler('./routes/souyun/today'));
// JustRun
router.get('/justrun', lazyloadRouteHandler('./routes/justrun/index'));

// 福建新闻
router.get('/fjnews/:city/:limit', lazyloadRouteHandler('./routes/fjnews/fznews'));
router.get('/fjnews/jjnews', lazyloadRouteHandler('./routes/fjnews/jjnews'));

// 中山网新闻
router.get('/zsnews/index/:cateid', lazyloadRouteHandler('./routes/zsnews/index'));

Expand Down Expand Up @@ -2278,9 +2252,6 @@ router.get('/furaffinity/favorites/:username/:nsfw?', lazyloadRouteHandler('./ro
router.get('/furaffinity/submission_comments/:id', lazyloadRouteHandler('./routes/furaffinity/submission_comments'));
router.get('/furaffinity/journal_comments/:id', lazyloadRouteHandler('./routes/furaffinity/journal_comments'));

// 香港商报
router.get('/hkcd/pdf', lazyloadRouteHandler('./routes/hkcd/pdf'));

// 博客来
router.get('/bookscomtw/newbooks/:category', lazyloadRouteHandler('./routes/bookscomtw/newbooks'));

Expand Down Expand Up @@ -2430,9 +2401,6 @@ router.get('/blogs/foreverblog', lazyloadRouteHandler('./routes/blogs/foreverblo
// Netflix
router.get('/netflix/newsroom/:category?/:region?', lazyloadRouteHandler('./routes/netflix/newsroom'));

// SBS
router.get('/sbs/chinese/:category?/:id?/:dialect?/:language?', lazyloadRouteHandler('./routes/sbs/chinese'));

// QuestMobile
// router.get('/questmobile/report/:category?/:label?', lazyloadRouteHandler('./routes/questmobile/report'));

Expand Down
57 changes: 0 additions & 57 deletions lib/routes/asahi/area.js

This file was deleted.

80 changes: 0 additions & 80 deletions lib/routes/bjnews/epaper.js

This file was deleted.

73 changes: 0 additions & 73 deletions lib/routes/boston/index.js

This file was deleted.

Loading

0 comments on commit ea6ec94

Please sign in to comment.