Skip to content

Commit

Permalink
Merge pull request #1297 from DIYgod/master
Browse files Browse the repository at this point in the history
[pull] master from diygod:master
  • Loading branch information
pull[bot] authored Dec 21, 2023
2 parents ff2de24 + 7a8c1bc commit 22fd321
Show file tree
Hide file tree
Showing 38 changed files with 219 additions and 1,263 deletions.
11 changes: 0 additions & 11 deletions assets/radar-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@
{ title: '经济信息工程学院 - 学院新闻', docs: 'https://docs.rsshub.app/routes/university#xi-nan-cai-jing-da-xue', source: '/index/xyxw.htm', target: '/swufe/seie/xyxw' },
],
},
'ishuhui.com': { _name: '鼠绘漫画', www: [{ title: '鼠绘漫画', docs: 'https://docs.rsshub.app/routes/anime#shu-hui-man-hua', source: '/comics/anime/:id', target: '/shuhui/comics/:id' }] },
'www.chicagotribune.com': { _name: 'Chicago Tribune', www: [{ title: 'Chicago Tribune', docs: 'https://docs.rsshub.app/routes/traditional_media#chicago-tribune', source: '/' }] },
'haimaoba.com': { _name: '海猫吧', www: [{ title: '漫画更新', docs: 'https://docs.rsshub.app/routes/anime#hai-mao-ba', source: '/catalog/:id', target: '/haimaoba/:id' }] },
'pgyer.com': { _name: '蒲公英应用分发', www: [{ title: 'app更新', docs: 'https://docs.rsshub.app/routes/program-update#pu-gong-ying-ying-yong-fen-fa', source: '/:app', target: '/pgyer/:app' }] },
'wineyun.com': { _name: '酒云网', www: [{ title: '最新商品', docs: 'https://docs.rsshub.app/routes/other#jiu-yun-wang', source: ['/:category'], target: '/wineyun/:category' }] },
'playstation.com': {
Expand All @@ -74,14 +72,6 @@
{ title: '最新消息', docs: 'https://docs.rsshub.app/routes/game#guai-wu-lie-ren-shi-jie', source: ['', '/*tpath'], target: '/mhw/news' },
],
},
'vgtime.com': {
_name: '游戏时光',
www: [
{ title: '新闻', docs: 'https://docs.rsshub.app/routes/game#you-xi-shi-guang', source: '/topic/index.', target: '/vgtime/news' },
{ title: '游戏发售表', docs: 'https://docs.rsshub.app/routes/game#you-xi-shi-guang', source: '/game/release.', target: '/vgtime/release' },
{ title: '关键词资讯', docs: 'https://docs.rsshub.app/routes/game#you-xi-shi-guang', source: '/search/list.', target: (params, url) => `/vgtime/keyword/${new URL(url).searchParams.get('keyword')}` },
],
},
'bing.com': { _name: 'Bing', www: [{ title: '每日壁纸', docs: 'https://docs.rsshub.app/routes/picture#bing-bi-zhi', source: '', target: '/bing' }] },
'wegene.com': {
_name: 'WeGene',
Expand All @@ -90,7 +80,6 @@
{ title: '栏目', docs: 'https://docs.rsshub.app/routes/other#wegene', source: '/crowdsourcing', target: '/wegene/column/all/all' },
],
},
'3ycy.com': { _name: '三界异次元', www: [{ title: '最近更新', docs: 'https://docs.rsshub.app/routes/anime#san-jie-yi-ci-yuan', source: '/', target: '/3ycy/home' }] },
'emi-nitta.net': {
_name: 'Emi Nitta',
'.': [
Expand Down
56 changes: 0 additions & 56 deletions lib/radar-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,6 @@ module.exports = {
},
],
},
'ishuhui.com': {
_name: '鼠绘漫画',
www: [
{
title: '鼠绘漫画',
docs: 'https://docs.rsshub.app/routes/anime#shu-hui-man-hua',
source: '/comics/anime/:id',
target: '/shuhui/comics/:id',
},
],
},
'www.chicagotribune.com': {
_name: 'Chicago Tribune',
www: [
Expand All @@ -77,17 +66,6 @@ module.exports = {
},
],
},
'haimaoba.com': {
_name: '海猫吧',
www: [
{
title: '漫画更新',
docs: 'https://docs.rsshub.app/routes/anime#hai-mao-ba',
source: '/catalog/:id',
target: '/haimaoba/:id',
},
],
},
'pgyer.com': {
_name: '蒲公英应用分发',
www: [
Expand Down Expand Up @@ -154,29 +132,6 @@ module.exports = {
},
],
},
'vgtime.com': {
_name: '游戏时光',
www: [
{
title: '新闻',
docs: 'https://docs.rsshub.app/routes/game#you-xi-shi-guang',
source: '/topic/index.jhtml',
target: '/vgtime/news',
},
{
title: '游戏发售表',
docs: 'https://docs.rsshub.app/routes/game#you-xi-shi-guang',
source: '/game/release.jhtml',
target: '/vgtime/release',
},
{
title: '关键词资讯',
docs: 'https://docs.rsshub.app/routes/game#you-xi-shi-guang',
source: '/search/list.jhtml',
target: (params, url) => `/vgtime/keyword/${new URL(url).searchParams.get('keyword')}`,
},
],
},
'bing.com': {
_name: 'Bing',
www: [
Expand Down Expand Up @@ -205,17 +160,6 @@ module.exports = {
},
],
},
'3ycy.com': {
_name: '三界异次元',
www: [
{
title: '最近更新',
docs: 'https://docs.rsshub.app/routes/anime#san-jie-yi-ci-yuan',
source: '/',
target: '/3ycy/home',
},
],
},

'emi-nitta.net': {
_name: 'Emi Nitta',
Expand Down
48 changes: 0 additions & 48 deletions lib/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ const lazyloadRouteHandler = (routeHandlerPath) => (ctx) => {

// Deprecated: DO NOT ADD ANY NEW ROUTES HERE

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

// Benedict Evans
router.get('/benedictevans', lazyloadRouteHandler('./routes/benedictevans/recent.js'));

Expand Down Expand Up @@ -197,17 +194,6 @@ router.get('/gitlab/explore/:type/:host?', lazyloadRouteHandler('./routes/gitlab
router.get('/gitlab/release/:namespace/:project/:host?', lazyloadRouteHandler('./routes/gitlab/release'));
router.get('/gitlab/tag/:namespace/:project/:host?', lazyloadRouteHandler('./routes/gitlab/tag'));

// 忧郁的loli
router.get('/mygalgame', lazyloadRouteHandler('./routes/galgame/hhgal')); // 废弃
router.get('/mmgal', lazyloadRouteHandler('./routes/galgame/hhgal')); // 废弃
router.get('/hhgal', lazyloadRouteHandler('./routes/galgame/hhgal'));

// say花火
router.get('/sayhuahuo', lazyloadRouteHandler('./routes/galgame/sayhuahuo'));

// 终点分享
router.get('/zdfx', lazyloadRouteHandler('./routes/galgame/zdfx'));

// 北京交通大学
router.get('/bjtu/gs/:type', lazyloadRouteHandler('./routes/universities/bjtu/gs'));

Expand Down Expand Up @@ -593,9 +579,6 @@ router.get('/xiaoheihe/discount/:platform?', lazyloadRouteHandler('./routes/xiao
// 惠誉评级
router.get('/fitchratings/site/:type', lazyloadRouteHandler('./routes/fitchratings/site'));

// Animen
router.get('/animen/news/:type', lazyloadRouteHandler('./routes/animen/news'));

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

Expand Down Expand Up @@ -651,14 +634,6 @@ router.get('/blogs/wordpress/:domain/:https?', lazyloadRouteHandler('./routes/bl
// 今日热榜 migrated to v2
// router.get('/tophub/:id', lazyloadRouteHandler('./routes/tophub'));

// 游戏时光
router.get('/vgtime/news', lazyloadRouteHandler('./routes/vgtime/news.js'));
router.get('/vgtime/release', lazyloadRouteHandler('./routes/vgtime/release'));
router.get('/vgtime/keyword/:keyword', lazyloadRouteHandler('./routes/vgtime/keyword'));

// anitama
router.get('/anitama/:channel?', lazyloadRouteHandler('./routes/anitama/channel'));

// 親子王國
router.get('/babykingdom/:id/:order?', lazyloadRouteHandler('./routes/babykingdom'));

Expand Down Expand Up @@ -749,18 +724,12 @@ router.get('/kpmg/insights', lazyloadRouteHandler('./routes/kpmg/insights'));
router.get('/gradcafe/result/:type', lazyloadRouteHandler('./routes/gradcafe/result'));
router.get('/gradcafe/result', lazyloadRouteHandler('./routes/gradcafe/result'));

// 鼠绘漫画
router.get('/shuhui/comics/:id', lazyloadRouteHandler('./routes/shuhui/comics'));

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

// SoundCloud
router.get('/soundcloud/tracks/:user', lazyloadRouteHandler('./routes/soundcloud/tracks'));

// dilidili
router.get('/dilidili/fanju/:id', lazyloadRouteHandler('./routes/dilidili/fanju'));

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

Expand All @@ -775,11 +744,6 @@ router.get('/paidai/news', lazyloadRouteHandler('./routes/paidai/news'));
// 漫画db
router.get('/manhuadb/comics/:id', lazyloadRouteHandler('./routes/manhuadb/comics'));

// Hpoi 手办维基
router.get('/hpoi/info/:type?', lazyloadRouteHandler('./routes/hpoi/info'));
router.get('/hpoi/:category/:words', lazyloadRouteHandler('./routes/hpoi'));
router.get('/hpoi/user/:user_id/:caty', lazyloadRouteHandler('./routes/hpoi/user'));

// 通用CurseForge
router.get('/curseforge/:gameid/:catagoryid/:projectid/files', lazyloadRouteHandler('./routes/curseforge/generalfiles'));

Expand Down Expand Up @@ -1038,9 +1002,6 @@ router.get('/cug/xgxy', lazyloadRouteHandler('./routes/universities/cug/xgxy'));
router.get('/cug/news', lazyloadRouteHandler('./routes/universities/cug/news'));
router.get('/cug/gcxy/:type?', lazyloadRouteHandler('./routes/universities/cug/gcxy/index'));

// 海猫吧
router.get('/haimaoba/:id?', lazyloadRouteHandler('./routes/haimaoba/comics'));

// 蒲公英
router.get('/pgyer/:app?', lazyloadRouteHandler('./routes/pgyer/app'));

Expand All @@ -1063,9 +1024,6 @@ router.get('/zhishifenzi/news/:type?', lazyloadRouteHandler('./routes/zhishifenz
router.get('/zhishifenzi/depth', lazyloadRouteHandler('./routes/zhishifenzi/depth'));
router.get('/zhishifenzi/innovation/:type?', lazyloadRouteHandler('./routes/zhishifenzi/innovation'));

// 電撃Online
router.get('/dengekionline/:type?', lazyloadRouteHandler('./routes/dengekionline/new'));

// 4Gamers
router.get('/4gamers/category/:category', lazyloadRouteHandler('./routes/4gamers/category'));
router.get('/4gamers/tag/:tag', lazyloadRouteHandler('./routes/4gamers/tag'));
Expand Down Expand Up @@ -1117,9 +1075,6 @@ router.get('/gov/cnca/zxtz', lazyloadRouteHandler('./routes/gov/cnca/zxtz'));
// 文汇报
router.get('/whb/:category', lazyloadRouteHandler('./routes/whb/zhuzhan'));

// 三界异次元
router.get('/3ycy/home', lazyloadRouteHandler('./routes/3ycy/home.js'));

// Emi Nitta official website
router.get('/emi-nitta/:type', lazyloadRouteHandler('./routes/emi-nitta/home'));

Expand Down Expand Up @@ -1446,9 +1401,6 @@ router.get('/jijitang/publication', lazyloadRouteHandler('./routes/jijitang/publ
// Grub Street
// router.get('/grubstreet', lazyloadRouteHandler('./routes/grubstreet/index'));

// 漫画堆
router.get('/manhuadui/manhua/:name/:serial?', lazyloadRouteHandler('./routes/manhuadui/manhua'));

// CFD indices dividend adjustment
router.get('/cfd/gbp_div', lazyloadRouteHandler('./routes/cfd/gbp_div'));

Expand Down
44 changes: 0 additions & 44 deletions lib/routes/1draw/index.js

This file was deleted.

58 changes: 0 additions & 58 deletions lib/routes/3ycy/home.js

This file was deleted.

Loading

0 comments on commit 22fd321

Please sign in to comment.