diff --git a/lib/api/radar/rules/all.ts b/lib/api/radar/rules/all.ts index f87e41664..372b78234 100644 --- a/lib/api/radar/rules/all.ts +++ b/lib/api/radar/rules/all.ts @@ -1,36 +1,43 @@ import { namespaces } from '@/registry'; import { parse } from 'tldts'; -import { Radar } from '@/types'; +import { RadarItem } from '@/types'; import { createRoute, RouteHandler } from '@hono/zod-openapi'; -const radar: Radar = {}; +const radar: { + [domain: string]: { + _name: string; + [subdomain: string]: RadarItem[] | string; + }; +} = {}; for (const namespace in namespaces) { for (const path in namespaces[namespace].routes) { const realPath = `/${namespace}${path}`; const data = namespaces[namespace].routes[path]; - if (data.radar && data.radar.source) { - const parsedDomain = parse(new URL('https://' + data.radar.source[0]).hostname); - const subdomain = parsedDomain.subdomain || '.'; - const domain = parsedDomain.domain; - if (domain) { - if (!radar[domain]) { - radar[domain] = { - _name: namespaces[namespace].name, - }; + if (data.radar?.length) { + for (const radarItem of data.radar) { + const parsedDomain = parse(new URL('https://' + radarItem.source[0]).hostname); + const subdomain = parsedDomain.subdomain || '.'; + const domain = parsedDomain.domain; + if (domain) { + if (!radar[domain]) { + radar[domain] = { + _name: namespaces[namespace].name, + }; + } + if (!radar[domain][subdomain]) { + radar[domain][subdomain] = []; + } + radar[domain][subdomain].push({ + title: radarItem.title || data.name, + docs: `https://docs.rsshub.app/routes/${data.categories?.[0] || 'other'}`, + source: radarItem.source.map((source) => { + const sourceURL = new URL('https://' + source); + return sourceURL.pathname + sourceURL.search + sourceURL.hash; + }), + target: radarItem.target ? `/${namespace}${radarItem.target}` : realPath, + }); } - if (!radar[domain][subdomain]) { - radar[domain][subdomain] = []; - } - radar[domain][subdomain].push({ - title: data.name, - docs: `https://docs.rsshub.app/routes/${data.categories?.[0] || 'other'}`, - source: data.radar.source.map((source) => { - const sourceURL = new URL('https://' + source); - return sourceURL.pathname + sourceURL.search + sourceURL.hash; - }), - target: data.radar.target || realPath, - }); } } } diff --git a/lib/api/radar/rules/one.ts b/lib/api/radar/rules/one.ts index b193e270d..8867902f8 100644 --- a/lib/api/radar/rules/one.ts +++ b/lib/api/radar/rules/one.ts @@ -1,36 +1,43 @@ import { namespaces } from '@/registry'; import { parse } from 'tldts'; -import { Radar } from '@/types'; +import { RadarItem } from '@/types'; import { z, createRoute, RouteHandler } from '@hono/zod-openapi'; -const radar: Radar = {}; +const radar: { + [domain: string]: { + _name: string; + [subdomain: string]: RadarItem[] | string; + }; +} = {}; for (const namespace in namespaces) { for (const path in namespaces[namespace].routes) { const realPath = `/${namespace}${path}`; const data = namespaces[namespace].routes[path]; - if (data.radar && data.radar.source) { - const parsedDomain = parse(new URL('https://' + data.radar.source[0]).hostname); - const subdomain = parsedDomain.subdomain || '.'; - const domain = parsedDomain.domain; - if (domain) { - if (!radar[domain]) { - radar[domain] = { - _name: namespaces[namespace].name, - }; + if (data.radar?.length) { + for (const radarItem of data.radar) { + const parsedDomain = parse(new URL('https://' + radarItem.source[0]).hostname); + const subdomain = parsedDomain.subdomain || '.'; + const domain = parsedDomain.domain; + if (domain) { + if (!radar[domain]) { + radar[domain] = { + _name: namespaces[namespace].name, + }; + } + if (!radar[domain][subdomain]) { + radar[domain][subdomain] = []; + } + radar[domain][subdomain].push({ + title: radarItem.title || data.name, + docs: `https://docs.rsshub.app/routes/${data.categories?.[0] || 'other'}`, + source: radarItem.source.map((source) => { + const sourceURL = new URL('https://' + source); + return sourceURL.pathname + sourceURL.search + sourceURL.hash; + }), + target: radarItem.target ? `/${namespace}${radarItem.target}` : realPath, + }); } - if (!radar[domain][subdomain]) { - radar[domain][subdomain] = []; - } - radar[domain][subdomain].push({ - title: data.name, - docs: `https://docs.rsshub.app/routes/${data.categories?.[0] || 'other'}`, - source: data.radar.source.map((source) => { - const sourceURL = new URL('https://' + source); - return sourceURL.pathname + sourceURL.search + sourceURL.hash; - }), - target: data.radar.target || realPath, - }); } } } diff --git a/lib/routes/12306/zxdt.ts b/lib/routes/12306/zxdt.ts index df7043de5..c2e5f199d 100644 --- a/lib/routes/12306/zxdt.ts +++ b/lib/routes/12306/zxdt.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.12306.cn/', 'www.12306.cn/mormhweb/1/:id/index_fl.html'], - target: '/zxdt/:id', - }, + radar: [ + { + source: ['www.12306.cn/', 'www.12306.cn/mormhweb/1/:id/index_fl.html'], + target: '/zxdt/:id', + }, + ], name: '最新动态', maintainers: ['LogicJake'], handler, diff --git a/lib/routes/163/ds.ts b/lib/routes/163/ds.ts index 2ba16518f..7dd921a0e 100644 --- a/lib/routes/163/ds.ts +++ b/lib/routes/163/ds.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ds.163.com/user/:id'], - }, + radar: [ + { + source: ['ds.163.com/user/:id'], + }, + ], name: '用户发帖', maintainers: ['luyuhuang'], handler, diff --git a/lib/routes/163/exclusive.ts b/lib/routes/163/exclusive.ts index d956ad47e..40d80b0f9 100644 --- a/lib/routes/163/exclusive.ts +++ b/lib/routes/163/exclusive.ts @@ -90,9 +90,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['3g.163.com/touch/exclusive/sub/:id'], - }, + radar: [ + { + source: ['3g.163.com/touch/exclusive/sub/:id'], + }, + ], name: '栏目', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/163/open/vip.ts b/lib/routes/163/open/vip.ts index b38c02d3c..38e2bb566 100644 --- a/lib/routes/163/open/vip.ts +++ b/lib/routes/163/open/vip.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['vip.open.163.com/'], - }, + radar: [ + { + source: ['vip.open.163.com/'], + }, + ], name: '精品课程', maintainers: ['hoilc'], handler, diff --git a/lib/routes/163/renjian.ts b/lib/routes/163/renjian.ts index 9c4d822a1..c7bcaa17a 100644 --- a/lib/routes/163/renjian.ts +++ b/lib/routes/163/renjian.ts @@ -27,9 +27,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['renjian.163.com/:category', 'renjian.163.com/'], - }, + radar: [ + { + source: ['renjian.163.com/:category', 'renjian.163.com/'], + }, + ], name: '人间', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/163/today.ts b/lib/routes/163/today.ts index fc4c0443f..acf5dff1c 100644 --- a/lib/routes/163/today.ts +++ b/lib/routes/163/today.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['wp.m.163.com/163/html/newsapp/todayFocus/index.html', 'wp.m.163.com/'], - target: '/today', - }, + radar: [ + { + source: ['wp.m.163.com/163/html/newsapp/todayFocus/index.html', 'wp.m.163.com/'], + target: '/today', + }, + ], name: '今日关注', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/18comic/album.ts b/lib/routes/18comic/album.ts index 149dcb7a9..c0217927d 100644 --- a/lib/routes/18comic/album.ts +++ b/lib/routes/18comic/album.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['jmcomic.group/'], - }, + radar: [ + { + source: ['jmcomic.group/'], + }, + ], name: '专辑', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/18comic/blogs.ts b/lib/routes/18comic/blogs.ts index 0a28b4909..7d2814d72 100644 --- a/lib/routes/18comic/blogs.ts +++ b/lib/routes/18comic/blogs.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['jmcomic.group/'], - }, + radar: [ + { + source: ['jmcomic.group/'], + }, + ], name: '文庫', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/18comic/index.ts b/lib/routes/18comic/index.ts index 054145fe4..404038b8e 100644 --- a/lib/routes/18comic/index.ts +++ b/lib/routes/18comic/index.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['jmcomic.group/'], - }, + radar: [ + { + source: ['jmcomic.group/'], + }, + ], name: '成人 A 漫', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/18comic/search.ts b/lib/routes/18comic/search.ts index 535324ed9..a8aa8a09d 100644 --- a/lib/routes/18comic/search.ts +++ b/lib/routes/18comic/search.ts @@ -20,10 +20,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['jmcomic.group/'], - target: '/:category?/:time?/:order?/:keyword?', - }, + radar: [ + { + source: ['jmcomic.group/'], + target: '/:category?/:time?/:order?/:keyword?', + }, + ], name: '搜索', maintainers: [], handler, diff --git a/lib/routes/1lou/index.ts b/lib/routes/1lou/index.ts index ce3509710..976956776 100644 --- a/lib/routes/1lou/index.ts +++ b/lib/routes/1lou/index.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['1lou.me/:path'], - target: '/:path', - }, + radar: [ + { + source: ['1lou.me/:path'], + target: '/:path', + }, + ], name: '搜索', maintainers: ['falling'], handler, diff --git a/lib/routes/1point3acres/blog.ts b/lib/routes/1point3acres/blog.ts index f2f88a3b3..705473222 100644 --- a/lib/routes/1point3acres/blog.ts +++ b/lib/routes/1point3acres/blog.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['blog.1point3acres.com/:category'], - }, + radar: [ + { + source: ['blog.1point3acres.com/:category'], + }, + ], name: '博客', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/1point3acres/category.ts b/lib/routes/1point3acres/category.ts index 280070d16..93c401ec3 100644 --- a/lib/routes/1point3acres/category.ts +++ b/lib/routes/1point3acres/category.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['instant.1point3acres.com/section/:id', 'instant.1point3acres.com/'], - }, + radar: [ + { + source: ['instant.1point3acres.com/section/:id', 'instant.1point3acres.com/'], + }, + ], name: '标签', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/1point3acres/offer.ts b/lib/routes/1point3acres/offer.ts index 201b52c93..82fd86a03 100644 --- a/lib/routes/1point3acres/offer.ts +++ b/lib/routes/1point3acres/offer.ts @@ -20,10 +20,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['offer.1point3acres.com/'], - target: '/offer', - }, + radar: [ + { + source: ['offer.1point3acres.com/'], + target: '/offer', + }, + ], name: '录取结果', maintainers: ['EthanWng97'], handler, diff --git a/lib/routes/1point3acres/section.ts b/lib/routes/1point3acres/section.ts index 6d2fde55e..3b0651376 100644 --- a/lib/routes/1point3acres/section.ts +++ b/lib/routes/1point3acres/section.ts @@ -26,9 +26,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['instant.1point3acres.com/section/:id', 'instant.1point3acres.com/'], - }, + radar: [ + { + source: ['instant.1point3acres.com/section/:id', 'instant.1point3acres.com/'], + }, + ], name: '分区', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/1point3acres/user/post.ts b/lib/routes/1point3acres/user/post.ts index 430e12ce1..d80cc9da4 100644 --- a/lib/routes/1point3acres/user/post.ts +++ b/lib/routes/1point3acres/user/post.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['instant.1point3acres.com/profile/:id', 'instant.1point3acres.com/'], - }, + radar: [ + { + source: ['instant.1point3acres.com/profile/:id', 'instant.1point3acres.com/'], + }, + ], name: '用户回帖', maintainers: ['Maecenas'], handler, diff --git a/lib/routes/1point3acres/user/thread.ts b/lib/routes/1point3acres/user/thread.ts index 4cf94ae2e..ecbaa83b5 100644 --- a/lib/routes/1point3acres/user/thread.ts +++ b/lib/routes/1point3acres/user/thread.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['instant.1point3acres.com/profile/:id', 'instant.1point3acres.com/'], - }, + radar: [ + { + source: ['instant.1point3acres.com/profile/:id', 'instant.1point3acres.com/'], + }, + ], name: '用户主题帖', maintainers: ['Maecenas'], handler, diff --git a/lib/routes/36kr/hot-list.ts b/lib/routes/36kr/hot-list.ts index 377fba21d..640cdd74f 100644 --- a/lib/routes/36kr/hot-list.ts +++ b/lib/routes/36kr/hot-list.ts @@ -37,10 +37,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['36kr.com/hot-list/:category', '36kr.com/'], - target: '/hot-list/:category', - }, + radar: [ + { + source: ['36kr.com/hot-list/:category', '36kr.com/'], + target: '/hot-list/:category', + }, + ], name: '资讯热榜', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/3dmgame/game.ts b/lib/routes/3dmgame/game.ts index e03e37b06..506f778ee 100644 --- a/lib/routes/3dmgame/game.ts +++ b/lib/routes/3dmgame/game.ts @@ -7,9 +7,11 @@ import { parseArticle } from './utils'; export const route: Route = { path: '/:name/:type?', - radar: { - source: ['3dmgame.com/games/:name/:type'], - }, + radar: [ + { + source: ['3dmgame.com/games/:name/:type'], + }, + ], name: 'Unknown', maintainers: ['sinchang', 'jacky2001114', 'HenryQW'], handler, diff --git a/lib/routes/3dmgame/news-center.ts b/lib/routes/3dmgame/news-center.ts index c3d95387e..a2d9f4396 100644 --- a/lib/routes/3dmgame/news-center.ts +++ b/lib/routes/3dmgame/news-center.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['3dmgame.com/news/:category?', '3dmgame.com/news'], - }, + radar: [ + { + source: ['3dmgame.com/news/:category?', '3dmgame.com/news'], + }, + ], name: '新闻中心', maintainers: ['zhboner'], handler, diff --git a/lib/routes/4gamers/category.ts b/lib/routes/4gamers/category.ts index cfb2b0b6e..91b46000b 100644 --- a/lib/routes/4gamers/category.ts +++ b/lib/routes/4gamers/category.ts @@ -5,15 +5,16 @@ import { parseList, parseItem, getCategories } from './utils'; export const route: Route = { path: ['/', '/category/:category'], - radar: { - source: ['www.4gamers.com.tw/news', 'www.4gamers.com.tw/'], - target: '', - }, + radar: [ + { + source: ['www.4gamers.com.tw/news', 'www.4gamers.com.tw/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['TonyRL'], handler, url: 'www.4gamers.com.tw/news', - url: 'www.4gamers.com.tw/news', }; async function handler(ctx) { diff --git a/lib/routes/4gamers/tag.ts b/lib/routes/4gamers/tag.ts index 6973130ad..5c5345cdc 100644 --- a/lib/routes/4gamers/tag.ts +++ b/lib/routes/4gamers/tag.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.4gamers.com.tw/news/tag/:tag'], - }, + radar: [ + { + source: ['www.4gamers.com.tw/news/tag/:tag'], + }, + ], name: '标签', maintainers: ['hoilc'], handler, diff --git a/lib/routes/4gamers/topic.ts b/lib/routes/4gamers/topic.ts index e03861aa3..07440a99d 100644 --- a/lib/routes/4gamers/topic.ts +++ b/lib/routes/4gamers/topic.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.4gamers.com.tw/news/option-cfg/:topic'], - }, + radar: [ + { + source: ['www.4gamers.com.tw/news/option-cfg/:topic'], + }, + ], name: '主題', maintainers: ['bestpika'], handler, diff --git a/lib/routes/500px/user.ts b/lib/routes/500px/user.ts index 2a778f21f..c1b526fa7 100644 --- a/lib/routes/500px/user.ts +++ b/lib/routes/500px/user.ts @@ -21,9 +21,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['500px.com.cn/:id', '500px.com.cn/community/user-details/:id', '500px.com.cn/community/user-details/:id/*'], - }, + radar: [ + { + source: ['500px.com.cn/:id', '500px.com.cn/community/user-details/:id', '500px.com.cn/community/user-details/:id/*'], + }, + ], name: '摄影师作品', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/50forum/zhuanjia.ts b/lib/routes/50forum/zhuanjia.ts index aa9cc313c..20c04abfe 100644 --- a/lib/routes/50forum/zhuanjia.ts +++ b/lib/routes/50forum/zhuanjia.ts @@ -7,10 +7,12 @@ import timezone from '@/utils/timezone'; export const route: Route = { path: '/', - radar: { - source: ['50forum.org.cn/home/article/index/category/zhuanjia.html', '50forum.org.cn/'], - target: '', - }, + radar: [ + { + source: ['50forum.org.cn/home/article/index/category/zhuanjia.html', '50forum.org.cn/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['sddiky'], handler, diff --git a/lib/routes/52hrtt/symposium.ts b/lib/routes/52hrtt/symposium.ts index a4c3fbaa8..d4d6489ad 100644 --- a/lib/routes/52hrtt/symposium.ts +++ b/lib/routes/52hrtt/symposium.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['52hrtt.com/global/n/w/symposium/:id'], - target: '/symposium/:id', - }, + radar: [ + { + source: ['52hrtt.com/global/n/w/symposium/:id'], + target: '/symposium/:id', + }, + ], name: '专题', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/5eplay/index.ts b/lib/routes/5eplay/index.ts index 39c3921ac..60e15b737 100644 --- a/lib/routes/5eplay/index.ts +++ b/lib/routes/5eplay/index.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['csgo.5eplay.com/', 'csgo.5eplay.com/article'], - }, + radar: [ + { + source: ['csgo.5eplay.com/', 'csgo.5eplay.com/article'], + }, + ], name: '新闻列表', maintainers: ['Dlouxgit'], handler, diff --git a/lib/routes/6park/index.ts b/lib/routes/6park/index.ts index 8a63fd9e0..c7c6bfb99 100644 --- a/lib/routes/6park/index.ts +++ b/lib/routes/6park/index.ts @@ -7,10 +7,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/:id?/:type?/:keyword?', - radar: { - source: ['club.6parkbbs.com/:id/index.php', 'club.6parkbbs.com/'], - target: '/:id?', - }, + radar: [ + { + source: ['club.6parkbbs.com/:id/index.php', 'club.6parkbbs.com/'], + target: '/:id?', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/6park/news.ts b/lib/routes/6park/news.ts index 0523b2667..ae6c0ea1c 100644 --- a/lib/routes/6park/news.ts +++ b/lib/routes/6park/news.ts @@ -7,10 +7,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/news/:site?/:id?/:keyword?', - radar: { - source: ['club.6parkbbs.com/:id/index.php', 'club.6parkbbs.com/'], - target: '/:id?', - }, + radar: [ + { + source: ['club.6parkbbs.com/:id/index.php', 'club.6parkbbs.com/'], + target: '/:id?', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/6v123/latest-movies.ts b/lib/routes/6v123/latest-movies.ts index fcb815028..25de6cfb3 100644 --- a/lib/routes/6v123/latest-movies.ts +++ b/lib/routes/6v123/latest-movies.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['hao6v.com/', 'hao6v.com/gvod/zx.html'], - }, + radar: [ + { + source: ['hao6v.com/', 'hao6v.com/gvod/zx.html'], + }, + ], name: '最新电影', maintainers: ['tc9011'], handler, diff --git a/lib/routes/6v123/latest-tvseries.ts b/lib/routes/6v123/latest-tvseries.ts index c530b91b0..b9f1dd64d 100644 --- a/lib/routes/6v123/latest-tvseries.ts +++ b/lib/routes/6v123/latest-tvseries.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['hao6v.com/', 'hao6v.com/gvod/dsj.html'], - }, + radar: [ + { + source: ['hao6v.com/', 'hao6v.com/gvod/dsj.html'], + }, + ], name: '最新电视剧', maintainers: ['tc9011'], handler, diff --git a/lib/routes/8kcos/cat.ts b/lib/routes/8kcos/cat.ts index 60fb478b1..d28f1ef67 100644 --- a/lib/routes/8kcos/cat.ts +++ b/lib/routes/8kcos/cat.ts @@ -6,10 +6,12 @@ import { SUB_NAME_PREFIX, SUB_URL } from './const'; import loadArticle from './article'; export const route: Route = { path: '/cat/:cat{.+}?', - radar: { - source: ['8kcosplay.com/'], - target: '', - }, + radar: [ + { + source: ['8kcosplay.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/8kcos/latest.ts b/lib/routes/8kcos/latest.ts index e5043e389..9c1c90891 100644 --- a/lib/routes/8kcos/latest.ts +++ b/lib/routes/8kcos/latest.ts @@ -19,10 +19,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['8kcosplay.com/'], - target: '', - }, + radar: [ + { + source: ['8kcosplay.com/'], + target: '', + }, + ], name: '最新', maintainers: ['KotoriK'], handler, diff --git a/lib/routes/8kcos/tag.ts b/lib/routes/8kcos/tag.ts index 0750c882d..56f356a0b 100644 --- a/lib/routes/8kcos/tag.ts +++ b/lib/routes/8kcos/tag.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['8kcosplay.com/tag/:tag'], - }, + radar: [ + { + source: ['8kcosplay.com/tag/:tag'], + }, + ], name: '标签', maintainers: ['KotoriK'], handler, diff --git a/lib/routes/91porn/author.ts b/lib/routes/91porn/author.ts index 9a4efdb59..1f3d5c489 100644 --- a/lib/routes/91porn/author.ts +++ b/lib/routes/91porn/author.ts @@ -23,10 +23,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['91porn.com/index.php'], - target: '', - }, + radar: [ + { + source: ['91porn.com/index.php'], + target: '', + }, + ], name: 'Author', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/91porn/index.ts b/lib/routes/91porn/index.ts index 4dbe9e9a2..b0f6a2d01 100644 --- a/lib/routes/91porn/index.ts +++ b/lib/routes/91porn/index.ts @@ -23,10 +23,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['91porn.com/index.php'], - target: '', - }, + radar: [ + { + source: ['91porn.com/index.php'], + target: '', + }, + ], name: 'Hot Video Today', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/95mm/category.ts b/lib/routes/95mm/category.ts index a77f41ee2..13e57d6e7 100644 --- a/lib/routes/95mm/category.ts +++ b/lib/routes/95mm/category.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['95mm.org/'], - }, + radar: [ + { + source: ['95mm.org/'], + }, + ], name: '集合', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/95mm/tab.ts b/lib/routes/95mm/tab.ts index c0286d4c3..e5bdb711b 100644 --- a/lib/routes/95mm/tab.ts +++ b/lib/routes/95mm/tab.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['95mm.org/'], - }, + radar: [ + { + source: ['95mm.org/'], + }, + ], name: '分类', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/95mm/tag.ts b/lib/routes/95mm/tag.ts index 93c34523a..c519bbd62 100644 --- a/lib/routes/95mm/tag.ts +++ b/lib/routes/95mm/tag.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['95mm.org/'], - }, + radar: [ + { + source: ['95mm.org/'], + }, + ], name: '标签', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/a9vg/a9vg.ts b/lib/routes/a9vg/a9vg.ts index 72e2b3e65..b86c783bb 100644 --- a/lib/routes/a9vg/a9vg.ts +++ b/lib/routes/a9vg/a9vg.ts @@ -6,10 +6,12 @@ import timezone from '@/utils/timezone'; export const route: Route = { path: '/', - radar: { - source: ['a9vg.com/list/news', 'a9vg.com/'], - target: '', - }, + radar: [ + { + source: ['a9vg.com/list/news', 'a9vg.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['monnerHenster'], handler, diff --git a/lib/routes/aamacau/index.ts b/lib/routes/aamacau/index.ts index 000cc2869..75230a434 100644 --- a/lib/routes/aamacau/index.ts +++ b/lib/routes/aamacau/index.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['aamacau.com/'], - }, + radar: [ + { + source: ['aamacau.com/'], + }, + ], name: '话题', maintainers: [], handler, diff --git a/lib/routes/abc/index.ts b/lib/routes/abc/index.ts index 5389a8b0a..220d9fa82 100644 --- a/lib/routes/abc/index.ts +++ b/lib/routes/abc/index.ts @@ -11,10 +11,12 @@ import * as path from 'node:path'; export const route: Route = { path: '/:category{.+}?', - radar: { - source: ['abc.net.au/:category*'], - target: '/:category', - }, + radar: [ + { + source: ['abc.net.au/:category*'], + target: '/:category', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/abmedia/category.ts b/lib/routes/abmedia/category.ts index eadf8525a..e76552934 100644 --- a/lib/routes/abmedia/category.ts +++ b/lib/routes/abmedia/category.ts @@ -21,10 +21,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.abmedia.io/category/:catehory'], - target: '/:category', - }, + radar: [ + { + source: ['www.abmedia.io/category/:catehory'], + target: '/:category', + }, + ], name: '类别', maintainers: [], handler, diff --git a/lib/routes/abmedia/index.ts b/lib/routes/abmedia/index.ts index 031adf34e..727014476 100644 --- a/lib/routes/abmedia/index.ts +++ b/lib/routes/abmedia/index.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.abmedia.io/'], - }, + radar: [ + { + source: ['www.abmedia.io/'], + }, + ], name: '首页最新新闻', maintainers: [], handler, diff --git a/lib/routes/abskoop/index.ts b/lib/routes/abskoop/index.ts index 127275006..a3804d83b 100644 --- a/lib/routes/abskoop/index.ts +++ b/lib/routes/abskoop/index.ts @@ -6,10 +6,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/', - radar: { - source: ['ahhhhfs.com/'], - target: '', - }, + radar: [ + { + source: ['ahhhhfs.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['zhenhappy'], handler, diff --git a/lib/routes/abskoop/nsfw.ts b/lib/routes/abskoop/nsfw.ts index 3067558d0..42fe93bab 100644 --- a/lib/routes/abskoop/nsfw.ts +++ b/lib/routes/abskoop/nsfw.ts @@ -4,10 +4,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/nsfw', - radar: { - source: ['ahhhhfs.com/'], - target: '', - }, + radar: [ + { + source: ['ahhhhfs.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/acfun/video.ts b/lib/routes/acfun/video.ts index 4edb1a353..de51e7d60 100644 --- a/lib/routes/acfun/video.ts +++ b/lib/routes/acfun/video.ts @@ -5,10 +5,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/user/video/:uid', - radar: { - source: ['www.acfun.cn/u/:id'], - target: '/user/video/:id', - }, + radar: [ + { + source: ['www.acfun.cn/u/:id'], + target: '/user/video/:id', + }, + ], name: 'Unknown', maintainers: ['wdssmq'], handler, diff --git a/lib/routes/acg17/post.ts b/lib/routes/acg17/post.ts index 1485b6f2c..ff9243de4 100644 --- a/lib/routes/acg17/post.ts +++ b/lib/routes/acg17/post.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['acg17.com/post'], - }, + radar: [ + { + source: ['acg17.com/post'], + }, + ], name: '全部文章', maintainers: ['SunBK201'], handler, diff --git a/lib/routes/acs/journal.ts b/lib/routes/acs/journal.ts index e52f06cc5..142cd1024 100644 --- a/lib/routes/acs/journal.ts +++ b/lib/routes/acs/journal.ts @@ -12,9 +12,11 @@ import puppeteer from '@/utils/puppeteer'; export const route: Route = { path: '/journal/:id', - radar: { - source: ['pubs.acs.org/journal/:id', 'pubs.acs.org/'], - }, + radar: [ + { + source: ['pubs.acs.org/journal/:id', 'pubs.acs.org/'], + }, + ], name: 'Unknown', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/aeaweb/index.ts b/lib/routes/aeaweb/index.ts index 8c2f3ad60..1ae4d7835 100644 --- a/lib/routes/aeaweb/index.ts +++ b/lib/routes/aeaweb/index.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: false, supportScihub: true, }, - radar: { - source: ['aeaweb.org/journals/:id', 'aeaweb.org/'], - }, + radar: [ + { + source: ['aeaweb.org/journals/:id', 'aeaweb.org/'], + }, + ], name: 'Journal', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/aeon/category.ts b/lib/routes/aeon/category.ts index d2b147c52..95938ea10 100644 --- a/lib/routes/aeon/category.ts +++ b/lib/routes/aeon/category.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['aeon.aeon.co/:category'], - }, + radar: [ + { + source: ['aeon.aeon.co/:category'], + }, + ], name: 'Categories', maintainers: ['emdoe'], handler, diff --git a/lib/routes/aeon/type.ts b/lib/routes/aeon/type.ts index 41c671db4..56321d4b3 100644 --- a/lib/routes/aeon/type.ts +++ b/lib/routes/aeon/type.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['aeon.aeon.co/:type'], - }, + radar: [ + { + source: ['aeon.aeon.co/:type'], + }, + ], name: 'Types', maintainers: ['emdoe'], handler, diff --git a/lib/routes/agefans/detail.ts b/lib/routes/agefans/detail.ts index 5af964dde..f43fbcb59 100644 --- a/lib/routes/agefans/detail.ts +++ b/lib/routes/agefans/detail.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['agemys.org/detail/:id'], - }, + radar: [ + { + source: ['agemys.org/detail/:id'], + }, + ], name: '番剧详情', maintainers: ['s2marine'], handler, diff --git a/lib/routes/agefans/update.ts b/lib/routes/agefans/update.ts index 18bdf6c9c..94423cc52 100644 --- a/lib/routes/agefans/update.ts +++ b/lib/routes/agefans/update.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['agemys.org/update', 'agemys.org/'], - }, + radar: [ + { + source: ['agemys.org/update', 'agemys.org/'], + }, + ], name: '最近更新', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/agirls/index.ts b/lib/routes/agirls/index.ts index 45369f0d4..1d6f0a810 100644 --- a/lib/routes/agirls/index.ts +++ b/lib/routes/agirls/index.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['agirls.aotter.net/posts/:category'], - target: '/:category', - }, + radar: [ + { + source: ['agirls.aotter.net/posts/:category'], + target: '/:category', + }, + ], name: '分类', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/agirls/topic-list.ts b/lib/routes/agirls/topic-list.ts index 9da39fa12..ceaecbc35 100644 --- a/lib/routes/agirls/topic-list.ts +++ b/lib/routes/agirls/topic-list.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['agirls.aotter.net/', 'agirls.aotter.net/topic'], - }, + radar: [ + { + source: ['agirls.aotter.net/', 'agirls.aotter.net/topic'], + }, + ], name: '当前精选主题列表', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/agirls/topic.ts b/lib/routes/agirls/topic.ts index 9f62d4c49..ee288eacb 100644 --- a/lib/routes/agirls/topic.ts +++ b/lib/routes/agirls/topic.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['agirls.aotter.net/topic/:topic'], - }, + radar: [ + { + source: ['agirls.aotter.net/topic/:topic'], + }, + ], name: '精选主题', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/agora0/index.ts b/lib/routes/agora0/index.ts index 1f0b7168e..63b81e780 100644 --- a/lib/routes/agora0/index.ts +++ b/lib/routes/agora0/index.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['agora0.gitlab.io/blog/:category', 'agora0.gitlab.io/'], - target: '/:category', - }, + radar: [ + { + source: ['agora0.gitlab.io/blog/:category', 'agora0.gitlab.io/'], + target: '/:category', + }, + ], name: '零博客', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/agora0/pen0.ts b/lib/routes/agora0/pen0.ts index 4e6cb2ada..629e340f9 100644 --- a/lib/routes/agora0/pen0.ts +++ b/lib/routes/agora0/pen0.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['agorahub.github.io/pen0'], - }, + radar: [ + { + source: ['agorahub.github.io/pen0'], + }, + ], name: '共和報', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/ahjzu/news.ts b/lib/routes/ahjzu/news.ts index 18b3ea4e9..c21390235 100644 --- a/lib/routes/ahjzu/news.ts +++ b/lib/routes/ahjzu/news.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['news.ahjzu.edu.cn/20/list.htm'], - }, + radar: [ + { + source: ['news.ahjzu.edu.cn/20/list.htm'], + }, + ], name: '通知公告', maintainers: ['Yuk-0v0'], handler, diff --git a/lib/routes/ainvest/article.ts b/lib/routes/ainvest/article.ts index 2853f79f1..e58f6e4fa 100644 --- a/lib/routes/ainvest/article.ts +++ b/lib/routes/ainvest/article.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ainvest.com/news'], - }, + radar: [ + { + source: ['ainvest.com/news'], + }, + ], name: 'Latest Article', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/ainvest/news.ts b/lib/routes/ainvest/news.ts index 1cf829e33..cc23dc3b9 100644 --- a/lib/routes/ainvest/news.ts +++ b/lib/routes/ainvest/news.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ainvest.com/news'], - }, + radar: [ + { + source: ['ainvest.com/news'], + }, + ], name: 'Latest News', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/aip/journal.ts b/lib/routes/aip/journal.ts index 591754ab2..a5e829000 100644 --- a/lib/routes/aip/journal.ts +++ b/lib/routes/aip/journal.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: true, }, - radar: { - source: ['pubs.aip.org/:pub/:jrn'], - }, + radar: [ + { + source: ['pubs.aip.org/:pub/:jrn'], + }, + ], name: 'Journal', maintainers: ['Derekmini', 'auto-bot-ty'], handler, diff --git a/lib/routes/airchina/index.ts b/lib/routes/airchina/index.ts index 825551502..7d5383395 100644 --- a/lib/routes/airchina/index.ts +++ b/lib/routes/airchina/index.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.airchina.com.cn/'], - }, + radar: [ + { + source: ['www.airchina.com.cn/'], + }, + ], name: '服务公告', maintainers: ['LandonLi'], handler, diff --git a/lib/routes/aliresearch/information.ts b/lib/routes/aliresearch/information.ts index 46b103e5c..2ee2597b0 100644 --- a/lib/routes/aliresearch/information.ts +++ b/lib/routes/aliresearch/information.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['aliresearch.com/cn/information', 'aliresearch.com/'], - target: '/information', - }, + radar: [ + { + source: ['aliresearch.com/cn/information', 'aliresearch.com/'], + target: '/information', + }, + ], name: '资讯', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/alistapart/index.ts b/lib/routes/alistapart/index.ts index 6c1f3d935..b91a9e48f 100644 --- a/lib/routes/alistapart/index.ts +++ b/lib/routes/alistapart/index.ts @@ -3,10 +3,12 @@ import { getData, getList } from './utils'; export const route: Route = { path: '/', - radar: { - source: ['alistapart.com/articles/'], - target: '', - }, + radar: [ + { + source: ['alistapart.com/articles/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['Rjnishant530'], handler, diff --git a/lib/routes/alistapart/topic.ts b/lib/routes/alistapart/topic.ts index 0d29986ae..c5c24d74e 100644 --- a/lib/routes/alistapart/topic.ts +++ b/lib/routes/alistapart/topic.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['alistapart.com/blog/topic/:topic'], - }, + radar: [ + { + source: ['alistapart.com/blog/topic/:topic'], + }, + ], name: 'Topics', maintainers: ['Rjnishant530'], handler, diff --git a/lib/routes/aliyun/database-month.ts b/lib/routes/aliyun/database-month.ts index 71c5aa76d..735b5446b 100644 --- a/lib/routes/aliyun/database-month.ts +++ b/lib/routes/aliyun/database-month.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['mysql.taobao.org/monthly', 'mysql.taobao.org/'], - }, + radar: [ + { + source: ['mysql.taobao.org/monthly', 'mysql.taobao.org/'], + }, + ], name: '数据库内核月报', maintainers: ['junbaor'], handler, diff --git a/lib/routes/aliyun/developer/group.ts b/lib/routes/aliyun/developer/group.ts index 878f0b59b..23d86f52d 100644 --- a/lib/routes/aliyun/developer/group.ts +++ b/lib/routes/aliyun/developer/group.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['developer.aliyun.com/group/:type'], - }, + radar: [ + { + source: ['developer.aliyun.com/group/:type'], + }, + ], name: '开发者社区 - 主题', maintainers: ['umm233'], handler, diff --git a/lib/routes/ally/rail.ts b/lib/routes/ally/rail.ts index 964238eb7..dcba0072c 100644 --- a/lib/routes/ally/rail.ts +++ b/lib/routes/ally/rail.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['rail.ally.net.cn/', 'rail.ally.net.cn/html/:category?/:topic?'], - }, + radar: [ + { + source: ['rail.ally.net.cn/', 'rail.ally.net.cn/html/:category?/:topic?'], + }, + ], name: '世界轨道交通资讯网', maintainers: ['Rongronggg9'], handler, diff --git a/lib/routes/alternativeto/platform.ts b/lib/routes/alternativeto/platform.ts index 6636af5c6..1369c3d92 100644 --- a/lib/routes/alternativeto/platform.ts +++ b/lib/routes/alternativeto/platform.ts @@ -16,10 +16,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.alternativeto.net/platform/:name'], - target: '/platform/:name', - }, + radar: [ + { + source: ['www.alternativeto.net/platform/:name'], + target: '/platform/:name', + }, + ], name: 'Platform Software', maintainers: ['JimenezLi'], handler, diff --git a/lib/routes/alternativeto/software.ts b/lib/routes/alternativeto/software.ts index b7c96b61e..8df4515eb 100644 --- a/lib/routes/alternativeto/software.ts +++ b/lib/routes/alternativeto/software.ts @@ -16,10 +16,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.alternativeto.net/software/:name'], - target: '/software/:name', - }, + radar: [ + { + source: ['www.alternativeto.net/software/:name'], + target: '/software/:name', + }, + ], name: 'Software Alternatives', maintainers: ['JimenezLi'], handler, diff --git a/lib/routes/android/platform-tools-releases.ts b/lib/routes/android/platform-tools-releases.ts index be8f88c1f..cd50bd812 100644 --- a/lib/routes/android/platform-tools-releases.ts +++ b/lib/routes/android/platform-tools-releases.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['developer.android.com/studio/releases/platform-tools', 'developer.android.com/'], - }, + radar: [ + { + source: ['developer.android.com/studio/releases/platform-tools', 'developer.android.com/'], + }, + ], name: 'SDK Platform Tools release notes', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/annualreviews/index.ts b/lib/routes/annualreviews/index.ts index 43d67fd0b..bf8810948 100644 --- a/lib/routes/annualreviews/index.ts +++ b/lib/routes/annualreviews/index.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: true, }, - radar: { - source: ['annualreviews.org/journal/:id', 'annualreviews.org/'], - }, + radar: [ + { + source: ['annualreviews.org/journal/:id', 'annualreviews.org/'], + }, + ], name: 'Journal', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/apnews/topics.ts b/lib/routes/apnews/topics.ts index 0bba50f79..ee90f90a1 100644 --- a/lib/routes/apnews/topics.ts +++ b/lib/routes/apnews/topics.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['apnews.com/hub/:topic'], - target: '/topics/:topic', - }, + radar: [ + { + source: ['apnews.com/hub/:topic'], + target: '/topics/:topic', + }, + ], name: 'Topics', maintainers: ['zoenglinghou', 'mjysci', 'TonyRL'], handler, diff --git a/lib/routes/app-center/release.ts b/lib/routes/app-center/release.ts index 2862758cf..ca5655078 100644 --- a/lib/routes/app-center/release.ts +++ b/lib/routes/app-center/release.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['install.appcenter.ms/users/:user/apps/:app/distribution_groups/:distribution_group', 'install.appcenter.ms/orgs/:user/apps/:app/distribution_groups/:distribution_group'], - }, + radar: [ + { + source: ['install.appcenter.ms/users/:user/apps/:app/distribution_groups/:distribution_group', 'install.appcenter.ms/orgs/:user/apps/:app/distribution_groups/:distribution_group'], + }, + ], name: 'Release', maintainers: ['Rongronggg9'], handler, diff --git a/lib/routes/apple/apps.ts b/lib/routes/apple/apps.ts index ff07ca6a1..425c50e68 100644 --- a/lib/routes/apple/apps.ts +++ b/lib/routes/apple/apps.ts @@ -28,10 +28,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['apps.apple.com/:country/app/:appSlug/:id', 'apps.apple.com/:country/app/:id'], - target: '/apps/update/:country/:id', - }, + radar: [ + { + source: ['apps.apple.com/:country/app/:appSlug/:id', 'apps.apple.com/:country/app/:id'], + target: '/apps/update/:country/:id', + }, + ], name: 'App Update', maintainers: ['EkkoG', 'nczitzk'], handler, diff --git a/lib/routes/apple/exchange-repair.ts b/lib/routes/apple/exchange-repair.ts index 7c47aec50..8eb491833 100644 --- a/lib/routes/apple/exchange-repair.ts +++ b/lib/routes/apple/exchange-repair.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['support.apple.com/:country/service-programs'], - target: '/exchange_repair/:country', - }, + radar: [ + { + source: ['support.apple.com/:country/service-programs'], + target: '/exchange_repair/:country', + }, + ], name: 'Exchange and Repair Extension Programs', maintainers: ['metowolf', 'HenryQW', 'kt286'], handler, diff --git a/lib/routes/appleinsider/index.ts b/lib/routes/appleinsider/index.ts index 8164f1d07..e61c774cd 100644 --- a/lib/routes/appleinsider/index.ts +++ b/lib/routes/appleinsider/index.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['appleinsider.com/:category', 'appleinsider.com/'], - target: '/:category', - }, + radar: [ + { + source: ['appleinsider.com/:category', 'appleinsider.com/'], + target: '/:category', + }, + ], name: 'Category', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/appstore/price.ts b/lib/routes/appstore/price.ts index eec0d4441..f18fc5be0 100644 --- a/lib/routes/appstore/price.ts +++ b/lib/routes/appstore/price.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['apps.apple.com/'], - }, + radar: [ + { + source: ['apps.apple.com/'], + }, + ], name: 'Price Drop', maintainers: ['HenryQW'], handler, diff --git a/lib/routes/appstore/xianmian.ts b/lib/routes/appstore/xianmian.ts index 82dc8efe4..11954d042 100644 --- a/lib/routes/appstore/xianmian.ts +++ b/lib/routes/appstore/xianmian.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['app.so/xianmian'], - }, + radar: [ + { + source: ['app.so/xianmian'], + }, + ], name: '每日精品限免 / 促销应用(鲜面连线 by AppSo)', maintainers: ['Andiedie'], handler, diff --git a/lib/routes/arcteryx/new-arrivals.ts b/lib/routes/arcteryx/new-arrivals.ts index fe7c0d1c1..c9b82feaa 100644 --- a/lib/routes/arcteryx/new-arrivals.ts +++ b/lib/routes/arcteryx/new-arrivals.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['arcteryx.com/:country/en/c/:gender/new-arrivals'], - }, + radar: [ + { + source: ['arcteryx.com/:country/en/c/:gender/new-arrivals'], + }, + ], name: 'New Arrivals', maintainers: ['EthanWng97'], handler, diff --git a/lib/routes/arcteryx/outlet.ts b/lib/routes/arcteryx/outlet.ts index c58bb3ddc..f448b7a96 100644 --- a/lib/routes/arcteryx/outlet.ts +++ b/lib/routes/arcteryx/outlet.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['outlet.arcteryx.com/:country/en/c/:gender'], - }, + radar: [ + { + source: ['outlet.arcteryx.com/:country/en/c/:gender'], + }, + ], name: 'Outlet', maintainers: ['EthanWng97'], handler, diff --git a/lib/routes/arcteryx/regear-new-arrivals.ts b/lib/routes/arcteryx/regear-new-arrivals.ts index 09c1bca29..44446bf8b 100644 --- a/lib/routes/arcteryx/regear-new-arrivals.ts +++ b/lib/routes/arcteryx/regear-new-arrivals.ts @@ -24,9 +24,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['regear.arcteryx.com/shop/new-arrivals', 'regear.arcteryx.com/'], - }, + radar: [ + { + source: ['regear.arcteryx.com/shop/new-arrivals', 'regear.arcteryx.com/'], + }, + ], name: 'Regear New Arrivals', maintainers: ['EthanWng97'], handler, diff --git a/lib/routes/arknights/japan.ts b/lib/routes/arknights/japan.ts index a83fe94d0..3e966b0b4 100644 --- a/lib/routes/arknights/japan.ts +++ b/lib/routes/arknights/japan.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ak.arknights.jp/news', 'ak.arknights.jp/'], - }, + radar: [ + { + source: ['ak.arknights.jp/news', 'ak.arknights.jp/'], + }, + ], name: 'アークナイツ (日服新闻)', maintainers: ['ofyark'], handler, diff --git a/lib/routes/arknights/news.ts b/lib/routes/arknights/news.ts index 5a1204258..7fa268b17 100644 --- a/lib/routes/arknights/news.ts +++ b/lib/routes/arknights/news.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ak-conf.hypergryph.com/*'], - }, + radar: [ + { + source: ['ak-conf.hypergryph.com/*'], + }, + ], name: '游戏公告与新闻', maintainers: ['Astrian'], handler, diff --git a/lib/routes/artstation/user.ts b/lib/routes/artstation/user.ts index 197814005..d638bfab0 100644 --- a/lib/routes/artstation/user.ts +++ b/lib/routes/artstation/user.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.artstation.com/:handle'], - }, + radar: [ + { + source: ['www.artstation.com/:handle'], + }, + ], name: 'Artist Profolio', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/asiantolick/index.ts b/lib/routes/asiantolick/index.ts index 0bb4262ed..cb35d486b 100644 --- a/lib/routes/asiantolick/index.ts +++ b/lib/routes/asiantolick/index.ts @@ -11,10 +11,12 @@ import * as path from 'node:path'; export const route: Route = { path: '/:category{.+}?', - radar: { - source: ['asiantolick.com/'], - target: '', - }, + radar: [ + { + source: ['asiantolick.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/asus/bios.ts b/lib/routes/asus/bios.ts index be60b63fc..b7f498461 100644 --- a/lib/routes/asus/bios.ts +++ b/lib/routes/asus/bios.ts @@ -30,9 +30,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['asus.com.cn/'], - }, + radar: [ + { + source: ['asus.com.cn/'], + }, + ], name: 'BIOS', maintainers: ['Fatpandac'], handler, diff --git a/lib/routes/asus/gpu-tweak.ts b/lib/routes/asus/gpu-tweak.ts index 3c0d593c0..54ea508f4 100644 --- a/lib/routes/asus/gpu-tweak.ts +++ b/lib/routes/asus/gpu-tweak.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['asus.com/campaign/GPU-Tweak-III/*', 'asus.com/'], - }, + radar: [ + { + source: ['asus.com/campaign/GPU-Tweak-III/*', 'asus.com/'], + }, + ], name: 'GPU Tweak', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/baai/comments.ts b/lib/routes/baai/comments.ts index b44421e3e..fa6d673c9 100644 --- a/lib/routes/baai/comments.ts +++ b/lib/routes/baai/comments.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['hub.baai.ac.cn/comments', 'hub.baai.ac.cn/'], - }, + radar: [ + { + source: ['hub.baai.ac.cn/comments', 'hub.baai.ac.cn/'], + }, + ], name: '智源社区 - 评论', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/baai/events.ts b/lib/routes/baai/events.ts index 47dd12d65..ce5ff063a 100644 --- a/lib/routes/baai/events.ts +++ b/lib/routes/baai/events.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['hub.baai.ac.cn/events', 'hub.baai.ac.cn/'], - }, + radar: [ + { + source: ['hub.baai.ac.cn/events', 'hub.baai.ac.cn/'], + }, + ], name: '智源社区 - 活动', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/backlinko/blog.ts b/lib/routes/backlinko/blog.ts index 8540dfb56..b87325cf9 100644 --- a/lib/routes/backlinko/blog.ts +++ b/lib/routes/backlinko/blog.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['backlinko.com/blog', 'backlinko.com/'], - }, + radar: [ + { + source: ['backlinko.com/blog', 'backlinko.com/'], + }, + ], name: 'Blog', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/baidu/gushitong/index.ts b/lib/routes/baidu/gushitong/index.ts index a2d3e5b3a..3b64b1dc2 100644 --- a/lib/routes/baidu/gushitong/index.ts +++ b/lib/routes/baidu/gushitong/index.ts @@ -24,9 +24,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gushitong.baidu.com/'], - }, + radar: [ + { + source: ['gushitong.baidu.com/'], + }, + ], name: '首页指数', maintainers: ['CaoMeiYouRen'], handler, diff --git a/lib/routes/baidu/tieba/post.ts b/lib/routes/baidu/tieba/post.ts index 4debbdedf..7edadb8b7 100644 --- a/lib/routes/baidu/tieba/post.ts +++ b/lib/routes/baidu/tieba/post.ts @@ -45,9 +45,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['tieba.baidu.com/p/:id'], - }, + radar: [ + { + source: ['tieba.baidu.com/p/:id'], + }, + ], name: '帖子动态', maintainers: ['u3u'], handler, diff --git a/lib/routes/bandcamp/live.ts b/lib/routes/bandcamp/live.ts index ebdca5e84..845d02156 100644 --- a/lib/routes/bandcamp/live.ts +++ b/lib/routes/bandcamp/live.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bandcamp.com/live_schedule'], - }, + radar: [ + { + source: ['bandcamp.com/live_schedule'], + }, + ], name: 'Upcoming Live Streams', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/bandcamp/tag.ts b/lib/routes/bandcamp/tag.ts index 1a86e1d77..b75e1232c 100644 --- a/lib/routes/bandcamp/tag.ts +++ b/lib/routes/bandcamp/tag.ts @@ -16,10 +16,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bandcamp.com/tag/:tag'], - target: '/tag/:tag', - }, + radar: [ + { + source: ['bandcamp.com/tag/:tag'], + target: '/tag/:tag', + }, + ], name: 'Tag', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/bandcamp/weekly.ts b/lib/routes/bandcamp/weekly.ts index a170d456e..9ac9df89c 100644 --- a/lib/routes/bandcamp/weekly.ts +++ b/lib/routes/bandcamp/weekly.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bandcamp.com/'], - }, + radar: [ + { + source: ['bandcamp.com/'], + }, + ], name: 'Weekly', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/bangumi/moe/index.ts b/lib/routes/bangumi/moe/index.ts index 52abfd215..1dea1500b 100644 --- a/lib/routes/bangumi/moe/index.ts +++ b/lib/routes/bangumi/moe/index.ts @@ -6,10 +6,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/moe/*', - radar: { - source: ['bangumi.moe/'], - target: '/moe', - }, + radar: [ + { + source: ['bangumi.moe/'], + target: '/moe', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/bangumi/online/online.ts b/lib/routes/bangumi/online/online.ts index b50f2edca..5cb6d6d86 100644 --- a/lib/routes/bangumi/online/online.ts +++ b/lib/routes/bangumi/online/online.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bangumi.online/'], - }, + radar: [ + { + source: ['bangumi.online/'], + }, + ], name: 'Unknown', maintainers: ['devinmugen'], handler, diff --git a/lib/routes/bangumi/tv/calendar/today.ts b/lib/routes/bangumi/tv/calendar/today.ts index 5d00e1d64..569058dd1 100644 --- a/lib/routes/bangumi/tv/calendar/today.ts +++ b/lib/routes/bangumi/tv/calendar/today.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bgm.tv/calendar'], - }, + radar: [ + { + source: ['bgm.tv/calendar'], + }, + ], name: '放送列表', maintainers: ['magic-akari'], handler, diff --git a/lib/routes/bangumi/tv/group/reply.ts b/lib/routes/bangumi/tv/group/reply.ts index 1e9a484d3..6e4cd264f 100644 --- a/lib/routes/bangumi/tv/group/reply.ts +++ b/lib/routes/bangumi/tv/group/reply.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bgm.tv/group/topic/:id'], - }, + radar: [ + { + source: ['bgm.tv/group/topic/:id'], + }, + ], name: '小组话题的新回复', maintainers: ['ylc395'], handler, diff --git a/lib/routes/bangumi/tv/group/topic.ts b/lib/routes/bangumi/tv/group/topic.ts index 32243f49f..95f9b37aa 100644 --- a/lib/routes/bangumi/tv/group/topic.ts +++ b/lib/routes/bangumi/tv/group/topic.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bgm.tv/group/:id'], - }, + radar: [ + { + source: ['bgm.tv/group/:id'], + }, + ], name: '小组话题', maintainers: ['SettingDust'], handler, diff --git a/lib/routes/bangumi/tv/other/followrank.ts b/lib/routes/bangumi/tv/other/followrank.ts index dd03938a6..5175ca995 100644 --- a/lib/routes/bangumi/tv/other/followrank.ts +++ b/lib/routes/bangumi/tv/other/followrank.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bgm.tv/anime'], - }, + radar: [ + { + source: ['bgm.tv/anime'], + }, + ], name: '成员关注动画榜', maintainers: ['honue'], handler, diff --git a/lib/routes/bangumi/tv/person/index.ts b/lib/routes/bangumi/tv/person/index.ts index 6355959d8..58cc88fef 100644 --- a/lib/routes/bangumi/tv/person/index.ts +++ b/lib/routes/bangumi/tv/person/index.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bgm.tv/person/:id'], - }, + radar: [ + { + source: ['bgm.tv/person/:id'], + }, + ], name: '现实人物的新作品', maintainers: ['ylc395'], handler, diff --git a/lib/routes/bangumi/tv/subject/index.ts b/lib/routes/bangumi/tv/subject/index.ts index 2fd88b9ee..0e3144194 100644 --- a/lib/routes/bangumi/tv/subject/index.ts +++ b/lib/routes/bangumi/tv/subject/index.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bgm.tv/subject/:id'], - target: '/tv/subject/:id', - }, + radar: [ + { + source: ['bgm.tv/subject/:id'], + target: '/tv/subject/:id', + }, + ], name: '条目的通用路由格式', maintainers: ['JimenezLi'], handler, diff --git a/lib/routes/bangumi/tv/user/blog.ts b/lib/routes/bangumi/tv/user/blog.ts index 369b5e4de..b005291e1 100644 --- a/lib/routes/bangumi/tv/user/blog.ts +++ b/lib/routes/bangumi/tv/user/blog.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bgm.tv/user/:id'], - }, + radar: [ + { + source: ['bgm.tv/user/:id'], + }, + ], name: '用户日志', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/bangumi/tv/user/wish.ts b/lib/routes/bangumi/tv/user/wish.ts index cc378b8b7..355f017d6 100644 --- a/lib/routes/bangumi/tv/user/wish.ts +++ b/lib/routes/bangumi/tv/user/wish.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bgm.tv/anime/list/:id/wish'], - }, + radar: [ + { + source: ['bgm.tv/anime/list/:id/wish'], + }, + ], name: '用户想看', maintainers: ['honue'], handler, diff --git a/lib/routes/baozimh/index.ts b/lib/routes/baozimh/index.ts index 50d34f327..6875279eb 100644 --- a/lib/routes/baozimh/index.ts +++ b/lib/routes/baozimh/index.ts @@ -23,9 +23,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.baozimh.com/comic/:name'], - }, + radar: [ + { + source: ['www.baozimh.com/comic/:name'], + }, + ], name: '订阅漫画', maintainers: ['Fatpandac'], handler, diff --git a/lib/routes/barronschina/index.ts b/lib/routes/barronschina/index.ts index 87d551508..3050a00a9 100644 --- a/lib/routes/barronschina/index.ts +++ b/lib/routes/barronschina/index.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['barronschina.com.cn/'], - target: '/:category?', - }, + radar: [ + { + source: ['barronschina.com.cn/'], + target: '/:category?', + }, + ], name: '栏目', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/bbcnewslabs/news.ts b/lib/routes/bbcnewslabs/news.ts index 8acef2e57..cc300de2a 100644 --- a/lib/routes/bbcnewslabs/news.ts +++ b/lib/routes/bbcnewslabs/news.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bbcnewslabs.co.uk/'], - }, + radar: [ + { + source: ['bbcnewslabs.co.uk/'], + }, + ], name: 'News', maintainers: ['elxy'], handler, diff --git a/lib/routes/bellroy/new-releases.ts b/lib/routes/bellroy/new-releases.ts index dd16f3d2f..c8c25522c 100644 --- a/lib/routes/bellroy/new-releases.ts +++ b/lib/routes/bellroy/new-releases.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bellroy.com/collection/new-releases', 'bellroy.com/'], - }, + radar: [ + { + source: ['bellroy.com/collection/new-releases', 'bellroy.com/'], + }, + ], name: 'New Releases', maintainers: ['EthanWng97'], handler, diff --git a/lib/routes/bendibao/news.ts b/lib/routes/bendibao/news.ts index 7a20683f9..59969ba09 100644 --- a/lib/routes/bendibao/news.ts +++ b/lib/routes/bendibao/news.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bendibao.com/'], - }, + radar: [ + { + source: ['bendibao.com/'], + }, + ], name: '焦点资讯', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/bigquant/collections.ts b/lib/routes/bigquant/collections.ts index 64b2b7c93..2dc716dec 100644 --- a/lib/routes/bigquant/collections.ts +++ b/lib/routes/bigquant/collections.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bigquant.com/'], - }, + radar: [ + { + source: ['bigquant.com/'], + }, + ], name: '专题报告', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/bilibili/article.ts b/lib/routes/bilibili/article.ts index 2f88b8d45..6bed24998 100644 --- a/lib/routes/bilibili/article.ts +++ b/lib/routes/bilibili/article.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['space.bilibili.com/:uid'], - }, + radar: [ + { + source: ['space.bilibili.com/:uid'], + }, + ], name: 'UP 主专栏', maintainers: ['lengthmin', 'Qixingchen'], handler, diff --git a/lib/routes/bilibili/coin.ts b/lib/routes/bilibili/coin.ts index d8a1bf58d..1c4c77a9b 100644 --- a/lib/routes/bilibili/coin.ts +++ b/lib/routes/bilibili/coin.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['space.bilibili.com/:uid'], - target: '/user/coin/:uid', - }, + radar: [ + { + source: ['space.bilibili.com/:uid'], + target: '/user/coin/:uid', + }, + ], name: 'UP 主投币视频', maintainers: ['DIYgod'], handler, diff --git a/lib/routes/bilibili/dynamic.ts b/lib/routes/bilibili/dynamic.ts index 46456c456..949ba45ee 100644 --- a/lib/routes/bilibili/dynamic.ts +++ b/lib/routes/bilibili/dynamic.ts @@ -81,10 +81,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['space.bilibili.com/:uid'], - target: '/user/dynamic/:uid', - }, + radar: [ + { + source: ['space.bilibili.com/:uid'], + target: '/user/dynamic/:uid', + }, + ], name: 'UP 主动态', maintainers: ['DIYgod', 'zytomorrow', 'CaoMeiYouRen', 'JimenezLi'], handler, diff --git a/lib/routes/bilibili/followers.ts b/lib/routes/bilibili/followers.ts index 22c6ba678..36cbd342c 100644 --- a/lib/routes/bilibili/followers.ts +++ b/lib/routes/bilibili/followers.ts @@ -25,10 +25,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['space.bilibili.com/:uid'], - target: '/user/followers/:uid', - }, + radar: [ + { + source: ['space.bilibili.com/:uid'], + target: '/user/followers/:uid', + }, + ], name: 'UP 主粉丝', maintainers: ['Qixingchen'], handler, diff --git a/lib/routes/bilibili/followings.ts b/lib/routes/bilibili/followings.ts index b9d8b6b24..4f1443896 100644 --- a/lib/routes/bilibili/followings.ts +++ b/lib/routes/bilibili/followings.ts @@ -25,10 +25,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['space.bilibili.com/:uid'], - target: '/user/followings/:uid', - }, + radar: [ + { + source: ['space.bilibili.com/:uid'], + target: '/user/followings/:uid', + }, + ], name: 'UP 主关注用户', maintainers: ['Qixingchen'], handler, diff --git a/lib/routes/bilibili/hot-search.ts b/lib/routes/bilibili/hot-search.ts index 3080329d2..305ecd254 100644 --- a/lib/routes/bilibili/hot-search.ts +++ b/lib/routes/bilibili/hot-search.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.bilibili.com/'], - }, + radar: [ + { + source: ['www.bilibili.com/'], + }, + ], name: '热搜', maintainers: ['CaoMeiYouRen'], handler, diff --git a/lib/routes/bilibili/like.ts b/lib/routes/bilibili/like.ts index 3f4b6d785..4ad27daaa 100644 --- a/lib/routes/bilibili/like.ts +++ b/lib/routes/bilibili/like.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['space.bilibili.com/:uid'], - target: '/user/like/:uid', - }, + radar: [ + { + source: ['space.bilibili.com/:uid'], + target: '/user/like/:uid', + }, + ], name: 'UP 主点赞视频', maintainers: ['ygguorun'], handler, diff --git a/lib/routes/bilibili/live-room.ts b/lib/routes/bilibili/live-room.ts index 1ade19f96..35a50c5f1 100644 --- a/lib/routes/bilibili/live-room.ts +++ b/lib/routes/bilibili/live-room.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['live.bilibili.com/:roomID'], - }, + radar: [ + { + source: ['live.bilibili.com/:roomID'], + }, + ], name: '直播开播', maintainers: ['Qixingchen'], handler, diff --git a/lib/routes/bilibili/manga-update.ts b/lib/routes/bilibili/manga-update.ts index cfb032f0c..2b100dcea 100644 --- a/lib/routes/bilibili/manga-update.ts +++ b/lib/routes/bilibili/manga-update.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['manga.bilibili.com/detail/:comicid'], - }, + radar: [ + { + source: ['manga.bilibili.com/detail/:comicid'], + }, + ], name: '漫画更新', maintainers: ['hoilc'], handler, diff --git a/lib/routes/bilibili/platform.ts b/lib/routes/bilibili/platform.ts index 5fc4e522b..c7cbd590c 100644 --- a/lib/routes/bilibili/platform.ts +++ b/lib/routes/bilibili/platform.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['show.bilibili.com/platform'], - }, + radar: [ + { + source: ['show.bilibili.com/platform'], + }, + ], name: '会员购票务', maintainers: ['nightmare-mio'], handler, diff --git a/lib/routes/bilibili/user-bangumi.ts b/lib/routes/bilibili/user-bangumi.ts index 676558b64..0e4f35545 100644 --- a/lib/routes/bilibili/user-bangumi.ts +++ b/lib/routes/bilibili/user-bangumi.ts @@ -15,10 +15,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['space.bilibili.com/:uid'], - target: '/user/bangumi/:uid', - }, + radar: [ + { + source: ['space.bilibili.com/:uid'], + target: '/user/bangumi/:uid', + }, + ], name: '用户追番列表', maintainers: ['wdssmq'], handler, diff --git a/lib/routes/bilibili/user-fav.ts b/lib/routes/bilibili/user-fav.ts index 9d4908127..88db0bb10 100644 --- a/lib/routes/bilibili/user-fav.ts +++ b/lib/routes/bilibili/user-fav.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['space.bilibili.com/:uid', 'space.bilibili.com/:uid/favlist'], - target: '/user/fav/:uid', - }, + radar: [ + { + source: ['space.bilibili.com/:uid', 'space.bilibili.com/:uid/favlist'], + target: '/user/fav/:uid', + }, + ], name: 'UP 主默认收藏夹', maintainers: ['DIYgod'], handler, diff --git a/lib/routes/bilibili/video.ts b/lib/routes/bilibili/video.ts index ef4be3874..188a2cd5d 100644 --- a/lib/routes/bilibili/video.ts +++ b/lib/routes/bilibili/video.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['space.bilibili.com/:uid'], - target: '/user/video/:uid', - }, + radar: [ + { + source: ['space.bilibili.com/:uid'], + target: '/user/video/:uid', + }, + ], name: 'UP 主投稿', maintainers: ['DIYgod'], handler, diff --git a/lib/routes/bing/daily-wallpaper.ts b/lib/routes/bing/daily-wallpaper.ts index 29a5a8795..a949e2ee1 100644 --- a/lib/routes/bing/daily-wallpaper.ts +++ b/lib/routes/bing/daily-wallpaper.ts @@ -3,10 +3,12 @@ import got from '@/utils/got'; export const route: Route = { path: '/', - radar: { - source: ['cn.bing.com/'], - target: '', - }, + radar: [ + { + source: ['cn.bing.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['FHYunCai'], handler, diff --git a/lib/routes/bing/search.ts b/lib/routes/bing/search.ts index 14b9ef6c1..fb15bace8 100644 --- a/lib/routes/bing/search.ts +++ b/lib/routes/bing/search.ts @@ -19,10 +19,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['cn.bing.com/'], - target: '', - }, + radar: [ + { + source: ['cn.bing.com/'], + target: '', + }, + ], name: '搜索', maintainers: ['CaoMeiYouRen'], handler, diff --git a/lib/routes/biodiscover/index.ts b/lib/routes/biodiscover/index.ts index f1593cb6a..afd6e69cf 100644 --- a/lib/routes/biodiscover/index.ts +++ b/lib/routes/biodiscover/index.ts @@ -6,10 +6,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/:channel?', - radar: { - source: ['www.biodiscover.com/:channel'], - target: '/:channel', - }, + radar: [ + { + source: ['www.biodiscover.com/:channel'], + target: '/:channel', + }, + ], name: 'Unknown', maintainers: ['aidistan'], handler, diff --git a/lib/routes/bioone/featured.ts b/lib/routes/bioone/featured.ts index aa89b3d8a..b954f1e4c 100644 --- a/lib/routes/bioone/featured.ts +++ b/lib/routes/bioone/featured.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bioone.org/'], - }, + radar: [ + { + source: ['bioone.org/'], + }, + ], name: 'Featured articles', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/bioone/journal.ts b/lib/routes/bioone/journal.ts index 1c5867c9d..b376f93bd 100644 --- a/lib/routes/bioone/journal.ts +++ b/lib/routes/bioone/journal.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bioone.org/journals/:journal', 'bioone.org/'], - target: '/journals/:journal', - }, + radar: [ + { + source: ['bioone.org/journals/:journal', 'bioone.org/'], + target: '/journals/:journal', + }, + ], name: 'Journals', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/bit/cs/cs.ts b/lib/routes/bit/cs/cs.ts index 80024ccd8..078e9d43c 100644 --- a/lib/routes/bit/cs/cs.ts +++ b/lib/routes/bit/cs/cs.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['cs.bit.edu.cn/tzgg', 'cs.bit.edu.cn/'], - }, + radar: [ + { + source: ['cs.bit.edu.cn/tzgg', 'cs.bit.edu.cn/'], + }, + ], name: '计院通知', maintainers: ['sinofp'], handler, diff --git a/lib/routes/bit/jwc/jwc.ts b/lib/routes/bit/jwc/jwc.ts index 2c9dc5f88..f7748715b 100644 --- a/lib/routes/bit/jwc/jwc.ts +++ b/lib/routes/bit/jwc/jwc.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['jwc.bit.edu.cn/tzgg', 'jwc.bit.edu.cn/'], - }, + radar: [ + { + source: ['jwc.bit.edu.cn/tzgg', 'jwc.bit.edu.cn/'], + }, + ], name: '教务处通知', maintainers: ['sinofp'], handler, diff --git a/lib/routes/bit/rszhaopin.ts b/lib/routes/bit/rszhaopin.ts index 18c4b2bc5..8e330f519 100644 --- a/lib/routes/bit/rszhaopin.ts +++ b/lib/routes/bit/rszhaopin.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['rszhaopin.bit.edu.cn/'], - }, + radar: [ + { + source: ['rszhaopin.bit.edu.cn/'], + }, + ], name: '人才招聘', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/bit/yjs.ts b/lib/routes/bit/yjs.ts index aab8426c3..d1dafe44d 100644 --- a/lib/routes/bit/yjs.ts +++ b/lib/routes/bit/yjs.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['grd.bit.edu.cn/zsgz/zsxx/index.htm', 'grd.bit.edu.cn/'], - }, + radar: [ + { + source: ['grd.bit.edu.cn/zsgz/zsxx/index.htm', 'grd.bit.edu.cn/'], + }, + ], name: '研究生院招生信息', maintainers: ['shengmaosu'], handler, diff --git a/lib/routes/bitbucket/commits.ts b/lib/routes/bitbucket/commits.ts index 5db526360..f60fbd4c4 100644 --- a/lib/routes/bitbucket/commits.ts +++ b/lib/routes/bitbucket/commits.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bitbucket.com/commits/:workspace/:repo_slug'], - }, + radar: [ + { + source: ['bitbucket.com/commits/:workspace/:repo_slug'], + }, + ], name: 'Commits', maintainers: ['AuroraDysis'], handler, diff --git a/lib/routes/bitmovin/blog.ts b/lib/routes/bitmovin/blog.ts index 321e39d55..e5ac7f607 100644 --- a/lib/routes/bitmovin/blog.ts +++ b/lib/routes/bitmovin/blog.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bitmovin.com/blog', 'bitmovin.com/'], - }, + radar: [ + { + source: ['bitmovin.com/blog', 'bitmovin.com/'], + }, + ], name: 'Blog', maintainers: ['elxy'], handler, diff --git a/lib/routes/bjfu/grs.ts b/lib/routes/bjfu/grs.ts index cc936d2c1..4907b0f9e 100644 --- a/lib/routes/bjfu/grs.ts +++ b/lib/routes/bjfu/grs.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['graduate.bjfu.edu.cn/'], - }, + radar: [ + { + source: ['graduate.bjfu.edu.cn/'], + }, + ], name: '研究生院培养动态', maintainers: ['markmingjie'], handler, diff --git a/lib/routes/bjfu/it/index.ts b/lib/routes/bjfu/it/index.ts index 9d1cb3441..619540d97 100644 --- a/lib/routes/bjfu/it/index.ts +++ b/lib/routes/bjfu/it/index.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['it.bjfu.edu.cn/:type/index.html'], - }, + radar: [ + { + source: ['it.bjfu.edu.cn/:type/index.html'], + }, + ], name: '信息学院通知', maintainers: ['wzc-blog'], handler, diff --git a/lib/routes/bjfu/jwc/index.ts b/lib/routes/bjfu/jwc/index.ts index 3ffd398d7..14f010204 100644 --- a/lib/routes/bjfu/jwc/index.ts +++ b/lib/routes/bjfu/jwc/index.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['jwc.bjfu.edu.cn/:type/index.html'], - }, + radar: [ + { + source: ['jwc.bjfu.edu.cn/:type/index.html'], + }, + ], name: '教务处通知公告', maintainers: ['markmingjie'], handler, diff --git a/lib/routes/bjfu/kjc.ts b/lib/routes/bjfu/kjc.ts index 029093e4a..de90da988 100644 --- a/lib/routes/bjfu/kjc.ts +++ b/lib/routes/bjfu/kjc.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['kyc.bjfu.edu.cn/'], - }, + radar: [ + { + source: ['kyc.bjfu.edu.cn/'], + }, + ], name: '科技处通知公告', maintainers: ['markmingjie'], handler, diff --git a/lib/routes/bjfu/news/index.ts b/lib/routes/bjfu/news/index.ts index 8388e7155..588743899 100644 --- a/lib/routes/bjfu/news/index.ts +++ b/lib/routes/bjfu/news/index.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['news.bjfu.edu.cn/:type/index.html'], - }, + radar: [ + { + source: ['news.bjfu.edu.cn/:type/index.html'], + }, + ], name: '绿色新闻网', maintainers: ['markmingjie'], handler, diff --git a/lib/routes/bjp/apod.ts b/lib/routes/bjp/apod.ts index bffda6650..b883fabc6 100644 --- a/lib/routes/bjp/apod.ts +++ b/lib/routes/bjp/apod.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bjp.org.cn/APOD/today.shtml', 'bjp.org.cn/APOD/list.shtml', 'bjp.org.cn/'], - }, + radar: [ + { + source: ['bjp.org.cn/APOD/today.shtml', 'bjp.org.cn/APOD/list.shtml', 'bjp.org.cn/'], + }, + ], name: '每日一图', maintainers: ['HenryQW'], handler, diff --git a/lib/routes/bjsk/keti.ts b/lib/routes/bjsk/keti.ts index 04f5f4346..8139ae535 100644 --- a/lib/routes/bjsk/keti.ts +++ b/lib/routes/bjsk/keti.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['keti.bjsk.org.cn/indexAction!to_index.action', 'keti.bjsk.org.cn/'], - target: '/keti/:id', - }, + radar: [ + { + source: ['keti.bjsk.org.cn/indexAction!to_index.action', 'keti.bjsk.org.cn/'], + target: '/keti/:id', + }, + ], name: '基金项目管理平台', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/bjx/huanbao.ts b/lib/routes/bjx/huanbao.ts index 7e963bcef..5d53114e1 100644 --- a/lib/routes/bjx/huanbao.ts +++ b/lib/routes/bjx/huanbao.ts @@ -27,9 +27,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['huanbao.bjx.com.cn/yw', 'huanbao.bjx.com.cn/'], - }, + radar: [ + { + source: ['huanbao.bjx.com.cn/yw', 'huanbao.bjx.com.cn/'], + }, + ], name: '环保要闻', maintainers: ['zsimple'], handler, diff --git a/lib/routes/bloomberg/authors.ts b/lib/routes/bloomberg/authors.ts index 81db4815e..154f9e02e 100644 --- a/lib/routes/bloomberg/authors.ts +++ b/lib/routes/bloomberg/authors.ts @@ -41,10 +41,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.bloomberg.com/*/authors/:id/:slug', 'www.bloomberg.com/authors/:id/:slug'], - target: '/authors/:id/:slug', - }, + radar: [ + { + source: ['www.bloomberg.com/*/authors/:id/:slug', 'www.bloomberg.com/authors/:id/:slug'], + target: '/authors/:id/:slug', + }, + ], name: 'Authors', maintainers: ['josh'], handler, diff --git a/lib/routes/bluestacks/release.ts b/lib/routes/bluestacks/release.ts index 626d7ae69..5b3ddeec1 100644 --- a/lib/routes/bluestacks/release.ts +++ b/lib/routes/bluestacks/release.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bluestacks.com/hc/en-us/articles/360056960211-Release-Notes-BlueStacks-5', 'bluestacks.com/'], - }, + radar: [ + { + source: ['bluestacks.com/hc/en-us/articles/360056960211-Release-Notes-BlueStacks-5', 'bluestacks.com/'], + }, + ], name: 'BlueStacks 5 Release Notes', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/bmkg/earthquake.ts b/lib/routes/bmkg/earthquake.ts index 187a99319..4467954f0 100644 --- a/lib/routes/bmkg/earthquake.ts +++ b/lib/routes/bmkg/earthquake.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bmkg.go.id/', 'bmkg.go.id/gempabumi-terkini.html'], - }, + radar: [ + { + source: ['bmkg.go.id/', 'bmkg.go.id/gempabumi-terkini.html'], + }, + ], name: 'Recent Earthquakes', maintainers: ['Shinanory'], handler, diff --git a/lib/routes/bmkg/news.ts b/lib/routes/bmkg/news.ts index 87c0032c5..d9bc9c9e2 100644 --- a/lib/routes/bmkg/news.ts +++ b/lib/routes/bmkg/news.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bmkg.go.id/', 'bmkg.go.id/berita'], - }, + radar: [ + { + source: ['bmkg.go.id/', 'bmkg.go.id/berita'], + }, + ], name: 'News', maintainers: ['Shinanory'], handler, diff --git a/lib/routes/bnu/bs.ts b/lib/routes/bnu/bs.ts index 8ba86d14b..1a21e0254 100644 --- a/lib/routes/bnu/bs.ts +++ b/lib/routes/bnu/bs.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bs.bnu.edu.cn/:category/index.html'], - target: '/bs/:category', - }, + radar: [ + { + source: ['bs.bnu.edu.cn/:category/index.html'], + target: '/bs/:category', + }, + ], name: '经济与工商管理学院', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/bnu/dwxgb.ts b/lib/routes/bnu/dwxgb.ts index ef89958b5..cbe7b9efd 100644 --- a/lib/routes/bnu/dwxgb.ts +++ b/lib/routes/bnu/dwxgb.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['dwxgb.bnu.edu.cn/:category/:type/index.html'], - }, + radar: [ + { + source: ['dwxgb.bnu.edu.cn/:category/:type/index.html'], + }, + ], name: '党委学生工作部', maintainers: ['Fatpandac'], handler, diff --git a/lib/routes/bnu/lib.ts b/lib/routes/bnu/lib.ts index 1c47e2a7d..2598d6d39 100644 --- a/lib/routes/bnu/lib.ts +++ b/lib/routes/bnu/lib.ts @@ -6,10 +6,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/lib/:category?', - radar: { - source: ['www.lib.bnu.edu.cn/:category/index.htm'], - target: '/lib/:category', - }, + radar: [ + { + source: ['www.lib.bnu.edu.cn/:category/index.htm'], + target: '/lib/:category', + }, + ], name: 'Unknown', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/boc/whpj.ts b/lib/routes/boc/whpj.ts index 30bd4e443..8e79b1e54 100644 --- a/lib/routes/boc/whpj.ts +++ b/lib/routes/boc/whpj.ts @@ -15,10 +15,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['boc.cn/sourcedb/whpj', 'boc.cn/'], - target: '/whpj', - }, + radar: [ + { + source: ['boc.cn/sourcedb/whpj', 'boc.cn/'], + target: '/whpj', + }, + ], name: '外汇牌价', maintainers: ['LogicJake', 'HenryQW'], handler, diff --git a/lib/routes/brave/latest.ts b/lib/routes/brave/latest.ts index f2c953184..d623ad315 100644 --- a/lib/routes/brave/latest.ts +++ b/lib/routes/brave/latest.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['brave.com/latest', 'brave.com/'], - }, + radar: [ + { + source: ['brave.com/latest', 'brave.com/'], + }, + ], name: 'Release Notes', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/bse/index.ts b/lib/routes/bse/index.ts index af8b58924..ea7befb77 100644 --- a/lib/routes/bse/index.ts +++ b/lib/routes/bse/index.ts @@ -133,9 +133,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bse.cn/'], - }, + radar: [ + { + source: ['bse.cn/'], + }, + ], name: '栏目', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/bsky/posts.ts b/lib/routes/bsky/posts.ts index 551143211..7a424176b 100644 --- a/lib/routes/bsky/posts.ts +++ b/lib/routes/bsky/posts.ts @@ -21,9 +21,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bsky.app/profile/:handle'], - }, + radar: [ + { + source: ['bsky.app/profile/:handle'], + }, + ], name: 'Post', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/btzj/index.ts b/lib/routes/btzj/index.ts index 50b7731da..f597a3a89 100644 --- a/lib/routes/btzj/index.ts +++ b/lib/routes/btzj/index.ts @@ -25,9 +25,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['btbtt20.com/'], - }, + radar: [ + { + source: ['btbtt20.com/'], + }, + ], name: '分类', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/bulianglin/bulianglin.ts b/lib/routes/bulianglin/bulianglin.ts index f4f24c6a5..c52fea390 100644 --- a/lib/routes/bulianglin/bulianglin.ts +++ b/lib/routes/bulianglin/bulianglin.ts @@ -5,10 +5,12 @@ import { load } from 'cheerio'; export const route: Route = { path: '/', - radar: { - source: ['bulianglin.com/'], - target: '', - }, + radar: [ + { + source: ['bulianglin.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['cnkmmk'], handler, diff --git a/lib/routes/bupt/rczp.ts b/lib/routes/bupt/rczp.ts index 8fe926b50..e43f008e9 100644 --- a/lib/routes/bupt/rczp.ts +++ b/lib/routes/bupt/rczp.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bupt.edu.cn/'], - }, + radar: [ + { + source: ['bupt.edu.cn/'], + }, + ], name: '人才招聘', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/byteclicks/index.ts b/lib/routes/byteclicks/index.ts index 52f6d5dc8..16fcb0585 100644 --- a/lib/routes/byteclicks/index.ts +++ b/lib/routes/byteclicks/index.ts @@ -5,10 +5,12 @@ const baseUrl = 'https://byteclicks.com'; export const route: Route = { path: '/', - radar: { - source: ['byteclicks.com/'], - target: '', - }, + radar: [ + { + source: ['byteclicks.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/byteclicks/tag.ts b/lib/routes/byteclicks/tag.ts index a72166e51..8ca6ba2d0 100644 --- a/lib/routes/byteclicks/tag.ts +++ b/lib/routes/byteclicks/tag.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['byteclicks.com/tag/:tag'], - }, + radar: [ + { + source: ['byteclicks.com/tag/:tag'], + }, + ], name: '标签', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/bytes/bytes.ts b/lib/routes/bytes/bytes.ts index 7fb2ad72c..c7b2b24a6 100644 --- a/lib/routes/bytes/bytes.ts +++ b/lib/routes/bytes/bytes.ts @@ -6,10 +6,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/', - radar: { - source: ['bytes.dev/archives', 'bytes.dev/'], - target: '', - }, + radar: [ + { + source: ['bytes.dev/archives', 'bytes.dev/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['meixger'], handler, diff --git a/lib/routes/c114/roll.ts b/lib/routes/c114/roll.ts index 0710a4499..ae22d3c79 100644 --- a/lib/routes/c114/roll.ts +++ b/lib/routes/c114/roll.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['c114.com.cn/news/roll.asp', 'c114.com.cn/'], - }, + radar: [ + { + source: ['c114.com.cn/news/roll.asp', 'c114.com.cn/'], + }, + ], name: '滚动新闻', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/caareviews/book.ts b/lib/routes/caareviews/book.ts index 937f4f985..38cbcafd9 100644 --- a/lib/routes/caareviews/book.ts +++ b/lib/routes/caareviews/book.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['caareviews.org/reviews/book'], - }, + radar: [ + { + source: ['caareviews.org/reviews/book'], + }, + ], name: 'Book Reviews', maintainers: ['Fatpandac'], handler, diff --git a/lib/routes/caareviews/essay.ts b/lib/routes/caareviews/essay.ts index 09c7f4d36..4c99eee9d 100644 --- a/lib/routes/caareviews/essay.ts +++ b/lib/routes/caareviews/essay.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['caareviews.org/reviews/essay'], - }, + radar: [ + { + source: ['caareviews.org/reviews/essay'], + }, + ], name: 'Essays', maintainers: ['Fatpandac'], handler, diff --git a/lib/routes/caareviews/exhibition.ts b/lib/routes/caareviews/exhibition.ts index addcfa0cc..a6fd9d97d 100644 --- a/lib/routes/caareviews/exhibition.ts +++ b/lib/routes/caareviews/exhibition.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['caareviews.org/reviews/exhibition'], - }, + radar: [ + { + source: ['caareviews.org/reviews/exhibition'], + }, + ], name: 'Exhibition Reviews', maintainers: ['Fatpandac'], handler, diff --git a/lib/routes/cahkms/index.ts b/lib/routes/cahkms/index.ts index 3f3290442..02d8ddb48 100644 --- a/lib/routes/cahkms/index.ts +++ b/lib/routes/cahkms/index.ts @@ -36,9 +36,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['cahkms.org/'], - }, + radar: [ + { + source: ['cahkms.org/'], + }, + ], name: '分类', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/caijing/roll.ts b/lib/routes/caijing/roll.ts index 9f7222d15..bdcf72e67 100644 --- a/lib/routes/caijing/roll.ts +++ b/lib/routes/caijing/roll.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['roll.caijing.com.cn/index1.html', 'roll.caijing.com.cn/'], - }, + radar: [ + { + source: ['roll.caijing.com.cn/index1.html', 'roll.caijing.com.cn/'], + }, + ], name: '滚动新闻', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/caixin/article.ts b/lib/routes/caixin/article.ts index 082924732..9ab71ea06 100644 --- a/lib/routes/caixin/article.ts +++ b/lib/routes/caixin/article.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: true, supportScihub: false, }, - radar: { - source: ['caixin.com/'], - }, + radar: [ + { + source: ['caixin.com/'], + }, + ], name: '首页新闻', maintainers: ['EsuRt'], handler, diff --git a/lib/routes/caixin/database.ts b/lib/routes/caixin/database.ts index a653f98de..a9f01993b 100644 --- a/lib/routes/caixin/database.ts +++ b/lib/routes/caixin/database.ts @@ -23,9 +23,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['k.caixin.com/web', 'k.caixin.com/'], - }, + radar: [ + { + source: ['k.caixin.com/web', 'k.caixin.com/'], + }, + ], name: '财新数据通', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/caixin/latest.ts b/lib/routes/caixin/latest.ts index df7930d60..a6ee03b5c 100644 --- a/lib/routes/caixin/latest.ts +++ b/lib/routes/caixin/latest.ts @@ -21,9 +21,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['caixin.com/'], - }, + radar: [ + { + source: ['caixin.com/'], + }, + ], name: '最新文章', maintainers: ['tpnonthealps'], handler, diff --git a/lib/routes/caixin/weekly.ts b/lib/routes/caixin/weekly.ts index 2b2f149f9..453519dd8 100644 --- a/lib/routes/caixin/weekly.ts +++ b/lib/routes/caixin/weekly.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['weekly.caixin.com/', 'weekly.caixin.com/*'], - }, + radar: [ + { + source: ['weekly.caixin.com/', 'weekly.caixin.com/*'], + }, + ], name: '财新周刊', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/caixinglobal/latest.ts b/lib/routes/caixinglobal/latest.ts index d9c55f18b..598e3a5f9 100644 --- a/lib/routes/caixinglobal/latest.ts +++ b/lib/routes/caixinglobal/latest.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['caixinglobal.com/news', 'caixinglobal.com/'], - }, + radar: [ + { + source: ['caixinglobal.com/news', 'caixinglobal.com/'], + }, + ], name: 'Latest News', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/camchina/index.ts b/lib/routes/camchina/index.ts index 55e8a7189..ebe8624f9 100644 --- a/lib/routes/camchina/index.ts +++ b/lib/routes/camchina/index.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['cste.org.cn/categories/:id', 'cste.org.cn/'], - }, + radar: [ + { + source: ['cste.org.cn/categories/:id', 'cste.org.cn/'], + }, + ], name: '栏目', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/cartoonmad/comic.ts b/lib/routes/cartoonmad/comic.ts index 28edfea76..fe2c4cb2f 100644 --- a/lib/routes/cartoonmad/comic.ts +++ b/lib/routes/cartoonmad/comic.ts @@ -47,9 +47,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['cartoonmad.com/comic/:id'], - }, + radar: [ + { + source: ['cartoonmad.com/comic/:id'], + }, + ], name: '漫画更新', maintainers: ['KellyHwong'], handler, diff --git a/lib/routes/cas/cg/index.ts b/lib/routes/cas/cg/index.ts index 361f7cab0..be466bad1 100644 --- a/lib/routes/cas/cg/index.ts +++ b/lib/routes/cas/cg/index.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.cas.cn/cg/:caty?'], - }, + radar: [ + { + source: ['www.cas.cn/cg/:caty?'], + }, + ], name: '成果转化', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/cas/ia/yjs.ts b/lib/routes/cas/ia/yjs.ts index 08dfc0612..536334dc6 100644 --- a/lib/routes/cas/ia/yjs.ts +++ b/lib/routes/cas/ia/yjs.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.ia.cas.cn/yjsjy/zs/sszs', 'www.ia.cas.cn/'], - }, + radar: [ + { + source: ['www.ia.cas.cn/yjsjy/zs/sszs', 'www.ia.cas.cn/'], + }, + ], name: '自动化所', maintainers: ['shengmaosu'], handler, diff --git a/lib/routes/cas/iee/kydt.ts b/lib/routes/cas/iee/kydt.ts index cb92f6338..e52b38d43 100644 --- a/lib/routes/cas/iee/kydt.ts +++ b/lib/routes/cas/iee/kydt.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.iee.cas.cn/xwzx/kydt', 'www.iee.cas.cn/'], - }, + radar: [ + { + source: ['www.iee.cas.cn/xwzx/kydt', 'www.iee.cas.cn/'], + }, + ], name: '电工研究所 科研动态', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/cas/mesalab/kb.ts b/lib/routes/cas/mesalab/kb.ts index e8b9e5fb4..9cf63ca5d 100644 --- a/lib/routes/cas/mesalab/kb.ts +++ b/lib/routes/cas/mesalab/kb.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.mesalab.cn/f/article/articleList', 'www.mesalab.cn/'], - }, + radar: [ + { + source: ['www.mesalab.cn/f/article/articleList', 'www.mesalab.cn/'], + }, + ], name: '信息工程研究所 第二研究室 处理架构组 知识库', maintainers: ['renzhexigua'], handler, diff --git a/lib/routes/cas/sim/kyjz.ts b/lib/routes/cas/sim/kyjz.ts index 238294771..1be7fd41e 100644 --- a/lib/routes/cas/sim/kyjz.ts +++ b/lib/routes/cas/sim/kyjz.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.sim.cas.cn/xwzx2016/kyjz', 'www.sim.cas.cn/'], - }, + radar: [ + { + source: ['www.sim.cas.cn/xwzx2016/kyjz', 'www.sim.cas.cn/'], + }, + ], name: '上海微系统与信息技术研究所 科技进展', maintainers: ['HenryQW'], handler, diff --git a/lib/routes/cast/index.ts b/lib/routes/cast/index.ts index a95ee2618..264dda56e 100644 --- a/lib/routes/cast/index.ts +++ b/lib/routes/cast/index.ts @@ -51,10 +51,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['cast.org.cn/:column/:subColumn/:category/index.html', 'cast.org.cn/:column/:subColumn/index.html'], - target: '/cast/:column/:subColumn/:category?', - }, + radar: [ + { + source: ['cast.org.cn/:column/:subColumn/:category/index.html', 'cast.org.cn/:column/:subColumn/index.html'], + target: '/:column/:subColumn/:category?', + }, + ], name: '通用', maintainers: ['KarasuShin', 'TonyRL'], handler, diff --git a/lib/routes/cau/ele.ts b/lib/routes/cau/ele.ts index e4cb59fca..e7810da2d 100644 --- a/lib/routes/cau/ele.ts +++ b/lib/routes/cau/ele.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ciee.cau.edu.cn/col/col26712/index.html', 'ciee.cau.edu.cn/'], - }, + radar: [ + { + source: ['ciee.cau.edu.cn/col/col26712/index.html', 'ciee.cau.edu.cn/'], + }, + ], name: '研招网通知公告', maintainers: ['shengmaosu'], handler, diff --git a/lib/routes/cau/yjs.ts b/lib/routes/cau/yjs.ts index 0f735216b..bea9f0b00 100644 --- a/lib/routes/cau/yjs.ts +++ b/lib/routes/cau/yjs.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yz.cau.edu.cn/col/col41740/index.html', 'yz.cau.edu.cn/'], - }, + radar: [ + { + source: ['yz.cau.edu.cn/col/col41740/index.html', 'yz.cau.edu.cn/'], + }, + ], name: 'Unknown', maintainers: ['shengmaosu'], handler, diff --git a/lib/routes/cbc/topics.ts b/lib/routes/cbc/topics.ts index a1573f795..95aa18303 100644 --- a/lib/routes/cbc/topics.ts +++ b/lib/routes/cbc/topics.ts @@ -16,10 +16,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['cbc.ca/news'], - target: '/topics', - }, + radar: [ + { + source: ['cbc.ca/news'], + target: '/topics', + }, + ], name: 'News', maintainers: ['wb14123'], handler, diff --git a/lib/routes/cbirc/index.ts b/lib/routes/cbirc/index.ts index 58a18116d..e4e5fb69e 100644 --- a/lib/routes/cbirc/index.ts +++ b/lib/routes/cbirc/index.ts @@ -81,9 +81,11 @@ async function getContent(item) { export const route: Route = { path: '/:category?', - radar: { - source: ['cbirc.gov.cn/:category', 'cbirc.gov.cn/'], - }, + radar: [ + { + source: ['cbirc.gov.cn/:category', 'cbirc.gov.cn/'], + }, + ], name: 'Unknown', maintainers: ['JkCheung'], handler, diff --git a/lib/routes/cbnweek/index.ts b/lib/routes/cbnweek/index.ts index bed85c5a8..aa3ad620d 100644 --- a/lib/routes/cbnweek/index.ts +++ b/lib/routes/cbnweek/index.ts @@ -5,10 +5,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/', - radar: { - source: ['cbnweek.com/'], - target: '', - }, + radar: [ + { + source: ['cbnweek.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/ccf/news.ts b/lib/routes/ccf/news.ts index 715d99693..1fca4505a 100644 --- a/lib/routes/ccf/news.ts +++ b/lib/routes/ccf/news.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ccf.org.cn/:category', 'ccf.org.cn/'], - target: '/news/:category', - }, + radar: [ + { + source: ['ccf.org.cn/:category', 'ccf.org.cn/'], + target: '/news/:category', + }, + ], name: '新闻', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/ccf/tfbd/index.ts b/lib/routes/ccf/tfbd/index.ts index 01595881d..557698989 100644 --- a/lib/routes/ccf/tfbd/index.ts +++ b/lib/routes/ccf/tfbd/index.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['tfbd.ccf.org.cn/tfbd/:caty/:id', 'tfbd.ccf.org.cn/'], - }, + radar: [ + { + source: ['tfbd.ccf.org.cn/tfbd/:caty/:id', 'tfbd.ccf.org.cn/'], + }, + ], name: '大数据专家委员会', maintainers: ['tudou027'], handler, diff --git a/lib/routes/ccnu/career.ts b/lib/routes/ccnu/career.ts index f65fa5187..171e1cc8f 100644 --- a/lib/routes/ccnu/career.ts +++ b/lib/routes/ccnu/career.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ccnu.91wllm.com/news/index/tag/tzgg', 'ccnu.91wllm.com/'], - }, + radar: [ + { + source: ['ccnu.91wllm.com/news/index/tag/tzgg', 'ccnu.91wllm.com/'], + }, + ], name: '就业信息', maintainers: ['jackyu1996'], handler, diff --git a/lib/routes/ccnu/cs.ts b/lib/routes/ccnu/cs.ts index 82c840a11..c463ca940 100644 --- a/lib/routes/ccnu/cs.ts +++ b/lib/routes/ccnu/cs.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['cs.ccnu.edu.cn/xwzx/tzgg.htm', 'cs.ccnu.edu.cn/'], - }, + radar: [ + { + source: ['cs.ccnu.edu.cn/xwzx/tzgg.htm', 'cs.ccnu.edu.cn/'], + }, + ], name: '计算机学院', maintainers: ['shengmaosu'], handler, diff --git a/lib/routes/ccnu/wu.ts b/lib/routes/ccnu/wu.ts index dc0bc98ec..68a537d7c 100644 --- a/lib/routes/ccnu/wu.ts +++ b/lib/routes/ccnu/wu.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['uowji.ccnu.edu.cn/xwzx/tzgg.htm', 'uowji.ccnu.edu.cn/'], - }, + radar: [ + { + source: ['uowji.ccnu.edu.cn/xwzx/tzgg.htm', 'uowji.ccnu.edu.cn/'], + }, + ], name: '伍论贡学院', maintainers: ['shengmaosu'], handler, diff --git a/lib/routes/ccnu/yjs.ts b/lib/routes/ccnu/yjs.ts index 7d2a4b93f..7f838f99b 100644 --- a/lib/routes/ccnu/yjs.ts +++ b/lib/routes/ccnu/yjs.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gs.ccnu.edu.cn/zsgz/ssyjs.htm', 'gs.ccnu.edu.cn/'], - }, + radar: [ + { + source: ['gs.ccnu.edu.cn/zsgz/ssyjs.htm', 'gs.ccnu.edu.cn/'], + }, + ], name: '研究生通知公告', maintainers: ['shengmaosu'], handler, diff --git a/lib/routes/ccreports/index.ts b/lib/routes/ccreports/index.ts index 2879befac..3b79c2323 100644 --- a/lib/routes/ccreports/index.ts +++ b/lib/routes/ccreports/index.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.ccreports.com.cn/'], - }, + radar: [ + { + source: ['www.ccreports.com.cn/'], + }, + ], name: '要闻', maintainers: ['EsuRt', 'Fatpandac'], handler, diff --git a/lib/routes/cctv/category.ts b/lib/routes/cctv/category.ts index 6b43207b9..8c416634f 100644 --- a/lib/routes/cctv/category.ts +++ b/lib/routes/cctv/category.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['news.cctv.com/:category'], - }, + radar: [ + { + source: ['news.cctv.com/:category'], + }, + ], name: '专题', maintainers: ['idealclover', 'xyqfer'], handler, diff --git a/lib/routes/cctv/jx.ts b/lib/routes/cctv/jx.ts index a384a98f5..dc3806853 100644 --- a/lib/routes/cctv/jx.ts +++ b/lib/routes/cctv/jx.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['photo.cctv.com/jx', 'photo.cctv.com/'], - }, + radar: [ + { + source: ['photo.cctv.com/jx', 'photo.cctv.com/'], + }, + ], name: '央视网图片《镜象》', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/cctv/lm.ts b/lib/routes/cctv/lm.ts index 346b8b08b..5809f3424 100644 --- a/lib/routes/cctv/lm.ts +++ b/lib/routes/cctv/lm.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['news.cctv.com/:category'], - target: '/:category', - }, + radar: [ + { + source: ['news.cctv.com/:category'], + target: '/:category', + }, + ], name: '栏目', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/cctv/xwlb.ts b/lib/routes/cctv/xwlb.ts index 33a9afe19..d0218dbf3 100644 --- a/lib/routes/cctv/xwlb.ts +++ b/lib/routes/cctv/xwlb.ts @@ -21,9 +21,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['tv.cctv.com/lm/xwlb', 'tv.cctv.com/'], - }, + radar: [ + { + source: ['tv.cctv.com/lm/xwlb', 'tv.cctv.com/'], + }, + ], name: '新闻联播', maintainers: ['zengxs'], handler, diff --git a/lib/routes/cdzjryb/project-list.ts b/lib/routes/cdzjryb/project-list.ts index 2d5a805f9..2e2772bc4 100644 --- a/lib/routes/cdzjryb/project-list.ts +++ b/lib/routes/cdzjryb/project-list.ts @@ -23,9 +23,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['zw.cdzjryb.com/lottery/accept/projectList', 'zw.cdzjryb.com/'], - }, + radar: [ + { + source: ['zw.cdzjryb.com/lottery/accept/projectList', 'zw.cdzjryb.com/'], + }, + ], name: '商品住房购房登记', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/cebbank/all.ts b/lib/routes/cebbank/all.ts index d3f5338d0..a0be100d0 100644 --- a/lib/routes/cebbank/all.ts +++ b/lib/routes/cebbank/all.ts @@ -23,9 +23,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['cebbank.com/site/ygzx/whpj/index.html', 'cebbank.com/eportal/ui', 'cebbank.com/'], - }, + radar: [ + { + source: ['cebbank.com/site/ygzx/whpj/index.html', 'cebbank.com/eportal/ui', 'cebbank.com/'], + }, + ], name: 'Unknown', maintainers: ['linbuxiao'], handler, diff --git a/lib/routes/cfachina/analygarden.ts b/lib/routes/cfachina/analygarden.ts index fa6ed9e1d..c10f220c4 100644 --- a/lib/routes/cfachina/analygarden.ts +++ b/lib/routes/cfachina/analygarden.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['cfachina.org/servicesupport/analygarden/:program?', 'cfachina.org/'], - }, + radar: [ + { + source: ['cfachina.org/servicesupport/analygarden/:program?', 'cfachina.org/'], + }, + ], name: '分析师园地', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/cgtn/podcast.ts b/lib/routes/cgtn/podcast.ts index e44ef9b13..dcda53ae9 100644 --- a/lib/routes/cgtn/podcast.ts +++ b/lib/routes/cgtn/podcast.ts @@ -27,9 +27,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['cgtn.com/podcast/column/:category/*/:id'], - }, + radar: [ + { + source: ['cgtn.com/podcast/column/:category/*/:id'], + }, + ], name: '播客', maintainers: ['5upernova-heng'], handler, diff --git a/lib/routes/chaincatcher/home.ts b/lib/routes/chaincatcher/home.ts index bc8f45e9d..c1ade0a55 100644 --- a/lib/routes/chaincatcher/home.ts +++ b/lib/routes/chaincatcher/home.ts @@ -13,10 +13,12 @@ const rootUrl = 'https://www.chaincatcher.com'; export const route: Route = { path: '/', - radar: { - source: ['chaincatcher.com/'], - target: '', - }, + radar: [ + { + source: ['chaincatcher.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/chaincatcher/news.ts b/lib/routes/chaincatcher/news.ts index 70ab67ad8..e0119edf9 100644 --- a/lib/routes/chaincatcher/news.ts +++ b/lib/routes/chaincatcher/news.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['chaincatcher.com/news', 'chaincatcher.com/'], - }, + radar: [ + { + source: ['chaincatcher.com/news', 'chaincatcher.com/'], + }, + ], name: '快讯', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/changba/user.ts b/lib/routes/changba/user.ts index 2aae8b48a..2609ddef0 100644 --- a/lib/routes/changba/user.ts +++ b/lib/routes/changba/user.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: true, supportScihub: false, }, - radar: { - source: ['changba.com/s/:userid'], - }, + radar: [ + { + source: ['changba.com/s/:userid'], + }, + ], name: '用户', maintainers: [], handler, diff --git a/lib/routes/chaping/banner.ts b/lib/routes/chaping/banner.ts index 121b726d5..359f30701 100644 --- a/lib/routes/chaping/banner.ts +++ b/lib/routes/chaping/banner.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['chaping.cn/'], - }, + radar: [ + { + source: ['chaping.cn/'], + }, + ], name: '图片墙', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/chaping/newsflash.ts b/lib/routes/chaping/newsflash.ts index f359936e5..91868481e 100644 --- a/lib/routes/chaping/newsflash.ts +++ b/lib/routes/chaping/newsflash.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['chaping.cn/newsflash'], - }, + radar: [ + { + source: ['chaping.cn/newsflash'], + }, + ], name: '快讯', maintainers: ['Fatpandac'], handler, diff --git a/lib/routes/china/finance/finance.ts b/lib/routes/china/finance/finance.ts index dfda745c6..6ccf25903 100644 --- a/lib/routes/china/finance/finance.ts +++ b/lib/routes/china/finance/finance.ts @@ -29,9 +29,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['finance.china.com/:category'], - }, + radar: [ + { + source: ['finance.china.com/:category'], + }, + ], name: 'Finance News 财经 - 财经新闻', maintainers: ['KingJem'], handler, diff --git a/lib/routes/china/news/highlights/news.ts b/lib/routes/china/news/highlights/news.ts index ee1f0a6f3..54a8349fe 100644 --- a/lib/routes/china/news/highlights/news.ts +++ b/lib/routes/china/news/highlights/news.ts @@ -23,9 +23,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['news.china.com/:category'], - }, + radar: [ + { + source: ['news.china.com/:category'], + }, + ], name: 'News and current affairs 时事新闻', maintainers: ['jiaaoMario'], handler, diff --git a/lib/routes/china/news/military/news.ts b/lib/routes/china/news/military/news.ts index 9f0aef9d5..eb0bd75e3 100644 --- a/lib/routes/china/news/military/news.ts +++ b/lib/routes/china/news/military/news.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['military.china.com/news'], - }, + radar: [ + { + source: ['military.china.com/news'], + }, + ], name: 'Military - Military News 军事 - 军事新闻', maintainers: ['jiaaoMario'], handler, diff --git a/lib/routes/chinafactcheck/index.ts b/lib/routes/chinafactcheck/index.ts index 5e7e2894a..69b19df15 100644 --- a/lib/routes/chinafactcheck/index.ts +++ b/lib/routes/chinafactcheck/index.ts @@ -6,10 +6,12 @@ import got from '@/utils/got'; export const route: Route = { path: '/', - radar: { - source: ['chinafactcheck.com/'], - target: '', - }, + radar: [ + { + source: ['chinafactcheck.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['kdanfly'], handler, diff --git a/lib/routes/chinanews/index.ts b/lib/routes/chinanews/index.ts index 3261e6bd0..c9f2e470b 100644 --- a/lib/routes/chinanews/index.ts +++ b/lib/routes/chinanews/index.ts @@ -9,10 +9,12 @@ const rootUrl = 'https://www.chinanews.com.cn'; export const route: Route = { path: '/', - radar: { - source: ['chinanews.com.cn/'], - target: '', - }, + radar: [ + { + source: ['chinanews.com.cn/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['yuxinliu-alex'], handler, diff --git a/lib/routes/chinaventure/index.ts b/lib/routes/chinaventure/index.ts index 8b048fe06..fa99ff0e4 100644 --- a/lib/routes/chinaventure/index.ts +++ b/lib/routes/chinaventure/index.ts @@ -32,10 +32,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['chinaventure.com.cn/'], - target: '', - }, + radar: [ + { + source: ['chinaventure.com.cn/'], + target: '', + }, + ], name: '分类', maintainers: ['yuxinliu-alex'], handler, diff --git a/lib/routes/chsi/hotnews.ts b/lib/routes/chsi/hotnews.ts index ad7cae884..d41290c10 100644 --- a/lib/routes/chsi/hotnews.ts +++ b/lib/routes/chsi/hotnews.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yz.chsi.com.cn/'], - }, + radar: [ + { + source: ['yz.chsi.com.cn/'], + }, + ], name: '考研热点新闻', maintainers: ['yanbot-team'], handler, diff --git a/lib/routes/chsi/kydt.ts b/lib/routes/chsi/kydt.ts index ddfdd51fb..faf9b25d7 100644 --- a/lib/routes/chsi/kydt.ts +++ b/lib/routes/chsi/kydt.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yz.chsi.com.cn/kyzx/kydt'], - }, + radar: [ + { + source: ['yz.chsi.com.cn/kyzx/kydt'], + }, + ], name: '考研动态', maintainers: ['SunBK201'], handler, diff --git a/lib/routes/chsi/kyzx.ts b/lib/routes/chsi/kyzx.ts index e3d714e61..393a61f15 100644 --- a/lib/routes/chsi/kyzx.ts +++ b/lib/routes/chsi/kyzx.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yz.chsi.com.cn/kyzx/:type'], - }, + radar: [ + { + source: ['yz.chsi.com.cn/kyzx/:type'], + }, + ], name: '考研资讯', maintainers: ['yanbot-team'], handler, diff --git a/lib/routes/chuanliu/nice.ts b/lib/routes/chuanliu/nice.ts index ce112198e..5e28e7a67 100644 --- a/lib/routes/chuanliu/nice.ts +++ b/lib/routes/chuanliu/nice.ts @@ -25,9 +25,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['chuanliu.org/nice'], - }, + radar: [ + { + source: ['chuanliu.org/nice'], + }, + ], name: '严选', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/cib/whpj.ts b/lib/routes/cib/whpj.ts index 39c2b2d53..b8dbca0b6 100644 --- a/lib/routes/cib/whpj.ts +++ b/lib/routes/cib/whpj.ts @@ -20,10 +20,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['cib.com.cn/'], - target: '/whpj', - }, + radar: [ + { + source: ['cib.com.cn/'], + target: '/whpj', + }, + ], name: '外汇牌价', maintainers: ['Qixingchen'], handler, diff --git a/lib/routes/civitai/discussions.ts b/lib/routes/civitai/discussions.ts index 1846899f1..5c1ced8ed 100644 --- a/lib/routes/civitai/discussions.ts +++ b/lib/routes/civitai/discussions.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['civitai.com/models/:modelId'], - }, + radar: [ + { + source: ['civitai.com/models/:modelId'], + }, + ], name: 'Model discussions', maintainers: ['DIYgod'], handler, diff --git a/lib/routes/civitai/models.ts b/lib/routes/civitai/models.ts index 3231e8ebf..86325ac77 100644 --- a/lib/routes/civitai/models.ts +++ b/lib/routes/civitai/models.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['civitai.com/'], - }, + radar: [ + { + source: ['civitai.com/'], + }, + ], name: 'Latest models', maintainers: ['DIYgod'], handler, diff --git a/lib/routes/ciweimao/chapter.ts b/lib/routes/ciweimao/chapter.ts index 6730920d0..eea880e02 100644 --- a/lib/routes/ciweimao/chapter.ts +++ b/lib/routes/ciweimao/chapter.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['wap.ciweimao.com/book/:id'], - }, + radar: [ + { + source: ['wap.ciweimao.com/book/:id'], + }, + ], name: '章节', maintainers: ['keocheung'], handler, diff --git a/lib/routes/cls/hot.ts b/lib/routes/cls/hot.ts index 47d268249..d31471cbe 100644 --- a/lib/routes/cls/hot.ts +++ b/lib/routes/cls/hot.ts @@ -24,9 +24,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['cls.cn/'], - }, + radar: [ + { + source: ['cls.cn/'], + }, + ], name: '热门文章排行榜', maintainers: ['5upernova-heng', 'nczitzk'], handler, diff --git a/lib/routes/cls/telegraph.ts b/lib/routes/cls/telegraph.ts index 3d8988ac5..75b96e319 100644 --- a/lib/routes/cls/telegraph.ts +++ b/lib/routes/cls/telegraph.ts @@ -33,10 +33,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['cls.cn/telegraph', 'cls.cn/'], - target: '/telegraph', - }, + radar: [ + { + source: ['cls.cn/telegraph', 'cls.cn/'], + target: '/telegraph', + }, + ], name: '电报', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/cmpxchg8b/articles.ts b/lib/routes/cmpxchg8b/articles.ts index 79cede468..e8330ff3d 100644 --- a/lib/routes/cmpxchg8b/articles.ts +++ b/lib/routes/cmpxchg8b/articles.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['lock.cmpxchg8b.com/articles'], - }, + radar: [ + { + source: ['lock.cmpxchg8b.com/articles'], + }, + ], name: 'Articles', maintainers: ['yuguorui'], handler, diff --git a/lib/routes/cn-healthcare/index.ts b/lib/routes/cn-healthcare/index.ts index 828396d38..a624b006d 100644 --- a/lib/routes/cn-healthcare/index.ts +++ b/lib/routes/cn-healthcare/index.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['cn-healthcare.com/'], - }, + radar: [ + { + source: ['cn-healthcare.com/'], + }, + ], name: '首页', maintainers: ['qnloft'], handler, diff --git a/lib/routes/cnbc/rss.ts b/lib/routes/cnbc/rss.ts index 943ca4c4c..5e81b99d0 100644 --- a/lib/routes/cnbc/rss.ts +++ b/lib/routes/cnbc/rss.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.cnbc.com/id/:id/device/rss/rss.html'], - target: '/rss/:id', - }, + radar: [ + { + source: ['www.cnbc.com/id/:id/device/rss/rss.html'], + target: '/rss/:id', + }, + ], name: 'Full article RSS', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/cnbeta/type.ts b/lib/routes/cnbeta/type.ts index a4314dab3..ea3b5383c 100644 --- a/lib/routes/cnbeta/type.ts +++ b/lib/routes/cnbeta/type.ts @@ -9,10 +9,12 @@ import { rootUrl, ProcessItems } from './utils'; export const route: Route = { path: ['/:type/:id', '/'], - radar: { - source: ['cnbeta.com.tw/'], - target: '', - }, + radar: [ + { + source: ['cnbeta.com.tw/'], + target: '', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/cnblogs/common.ts b/lib/routes/cnblogs/common.ts index 96ace0eb6..9277ab20c 100644 --- a/lib/routes/cnblogs/common.ts +++ b/lib/routes/cnblogs/common.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.cnblogs.com/aggsite/topdiggs'], - }, + radar: [ + { + source: ['www.cnblogs.com/aggsite/topdiggs'], + }, + ], name: '10 天推荐排行榜', maintainers: ['hujingnb'], handler, diff --git a/lib/routes/cncf/reports.ts b/lib/routes/cncf/reports.ts index 621a61a8f..de8b69224 100644 --- a/lib/routes/cncf/reports.ts +++ b/lib/routes/cncf/reports.ts @@ -8,9 +8,11 @@ const rootURL = 'https://www.cncf.io'; export const route: Route = { path: '/reports', - radar: { - source: ['cncf.io/reports'], - }, + radar: [ + { + source: ['cncf.io/reports'], + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/cneb/yjxw.ts b/lib/routes/cneb/yjxw.ts index b3ca91e1b..d49082427 100644 --- a/lib/routes/cneb/yjxw.ts +++ b/lib/routes/cneb/yjxw.ts @@ -23,9 +23,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['cneb.gov.cn/yjxw/:category?', 'cneb.gov.cn/'], - }, + radar: [ + { + source: ['cneb.gov.cn/yjxw/:category?', 'cneb.gov.cn/'], + }, + ], name: '应急新闻', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/cneb/yjxx.ts b/lib/routes/cneb/yjxx.ts index ae265831b..da1f585dd 100644 --- a/lib/routes/cneb/yjxx.ts +++ b/lib/routes/cneb/yjxx.ts @@ -6,10 +6,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/yjxx/*', - radar: { - source: ['cneb.gov.cn/yjxx', 'cneb.gov.cn/'], - target: '/yjxx', - }, + radar: [ + { + source: ['cneb.gov.cn/yjxx', 'cneb.gov.cn/'], + target: '/yjxx', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/cngal/entry.ts b/lib/routes/cngal/entry.ts index c89e041c7..9b758a546 100644 --- a/lib/routes/cngal/entry.ts +++ b/lib/routes/cngal/entry.ts @@ -21,9 +21,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.cngal.org/entries/index/:id'], - }, + radar: [ + { + source: ['www.cngal.org/entries/index/:id'], + }, + ], name: '制作者 / 游戏新闻', maintainers: ['chengyuhui'], handler, diff --git a/lib/routes/cngal/weekly.ts b/lib/routes/cngal/weekly.ts index aad37a2ae..20b86b89f 100644 --- a/lib/routes/cngal/weekly.ts +++ b/lib/routes/cngal/weekly.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.cngal.org/', 'www.cngal.org/weeklynews'], - }, + radar: [ + { + source: ['www.cngal.org/', 'www.cngal.org/weeklynews'], + }, + ], name: '每周速报', maintainers: ['chengyuhui'], handler, diff --git a/lib/routes/cnki/debut.ts b/lib/routes/cnki/debut.ts index cd3f82827..60f57fe64 100644 --- a/lib/routes/cnki/debut.ts +++ b/lib/routes/cnki/debut.ts @@ -24,9 +24,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['navi.cnki.net/knavi/journals/:name/detail'], - }, + radar: [ + { + source: ['navi.cnki.net/knavi/journals/:name/detail'], + }, + ], name: '网络首发', maintainers: ['Fatpandac'], handler, diff --git a/lib/routes/cnki/journals.ts b/lib/routes/cnki/journals.ts index 922310d88..844baaa4a 100644 --- a/lib/routes/cnki/journals.ts +++ b/lib/routes/cnki/journals.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['navi.cnki.net/knavi/journals/:name/detail'], - }, + radar: [ + { + source: ['navi.cnki.net/knavi/journals/:name/detail'], + }, + ], name: '期刊', maintainers: ['Fatpandac', 'Derekmini'], handler, diff --git a/lib/routes/cntv/column.ts b/lib/routes/cntv/column.ts index 09f56ba33..1d5befa73 100644 --- a/lib/routes/cntv/column.ts +++ b/lib/routes/cntv/column.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['navi.cctv.com/'], - }, + radar: [ + { + source: ['navi.cctv.com/'], + }, + ], name: '栏目', maintainers: ['WhoIsSure', 'Fatpandac'], handler, diff --git a/lib/routes/codeforces/contests.ts b/lib/routes/codeforces/contests.ts index 9805d0f6c..d126751c2 100644 --- a/lib/routes/codeforces/contests.ts +++ b/lib/routes/codeforces/contests.ts @@ -34,9 +34,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.codeforces.com/contests'], - }, + radar: [ + { + source: ['www.codeforces.com/contests'], + }, + ], name: 'Latest contests', maintainers: ['Fatpandac'], handler, diff --git a/lib/routes/codeforces/recent-actions.ts b/lib/routes/codeforces/recent-actions.ts index 3872ebddc..11d5434a1 100644 --- a/lib/routes/codeforces/recent-actions.ts +++ b/lib/routes/codeforces/recent-actions.ts @@ -15,10 +15,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['codeforces.com/recent-actions'], - target: '/recent-actions', - }, + radar: [ + { + source: ['codeforces.com/recent-actions'], + target: '/recent-actions', + }, + ], name: 'Recent actions', maintainers: [], handler, diff --git a/lib/routes/coindesk/index.ts b/lib/routes/coindesk/index.ts index 01ee1e4fe..014e99ca5 100644 --- a/lib/routes/coindesk/index.ts +++ b/lib/routes/coindesk/index.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['coindesk.com/'], - }, + radar: [ + { + source: ['coindesk.com/'], + }, + ], name: '新闻周刊', maintainers: ['jameshih'], handler, diff --git a/lib/routes/comicskingdom/index.ts b/lib/routes/comicskingdom/index.ts index 4e1c8b4f6..a4c578131 100644 --- a/lib/routes/comicskingdom/index.ts +++ b/lib/routes/comicskingdom/index.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['comicskingdom.com/:name/*', 'comicskingdom.com/:name'], - }, + radar: [ + { + source: ['comicskingdom.com/:name/*', 'comicskingdom.com/:name'], + }, + ], name: 'Archive', maintainers: ['stjohnjohnson'], handler, diff --git a/lib/routes/consumer/index.ts b/lib/routes/consumer/index.ts index c8df5cef3..edc7e1be1 100644 --- a/lib/routes/consumer/index.ts +++ b/lib/routes/consumer/index.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['consumer.org.hk/'], - }, + radar: [ + { + source: ['consumer.org.hk/'], + }, + ], name: '文章', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/cool18/index.ts b/lib/routes/cool18/index.ts index 675fcd838..aee781d1f 100644 --- a/lib/routes/cool18/index.ts +++ b/lib/routes/cool18/index.ts @@ -6,9 +6,11 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/:id?/:type?/:keyword?', - radar: { - source: ['cool18.com/'], - }, + radar: [ + { + source: ['cool18.com/'], + }, + ], name: 'Unknown', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/coomer/artist.ts b/lib/routes/coomer/artist.ts index 50146f061..a16dab6fa 100644 --- a/lib/routes/coomer/artist.ts +++ b/lib/routes/coomer/artist.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['coomer.party/onlyfans/user/:id', 'coomer.party/'], - }, + radar: [ + { + source: ['coomer.party/onlyfans/user/:id', 'coomer.party/'], + }, + ], name: 'Artist', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/coomer/posts.ts b/lib/routes/coomer/posts.ts index 5fc9d5797..85a6d067e 100644 --- a/lib/routes/coomer/posts.ts +++ b/lib/routes/coomer/posts.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['coomer.party/posts', 'coomer.party/'], - }, + radar: [ + { + source: ['coomer.party/posts', 'coomer.party/'], + }, + ], name: 'Recent Posts', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/cpuid/news.ts b/lib/routes/cpuid/news.ts index c7a50dcb9..ed815da00 100644 --- a/lib/routes/cpuid/news.ts +++ b/lib/routes/cpuid/news.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['cpuid.com/news.html', 'cpuid.com/'], - }, + radar: [ + { + source: ['cpuid.com/news.html', 'cpuid.com/'], + }, + ], name: 'News', maintainers: [], handler, diff --git a/lib/routes/cqgas/tqtz.ts b/lib/routes/cqgas/tqtz.ts index 135e76421..281690acc 100644 --- a/lib/routes/cqgas/tqtz.ts +++ b/lib/routes/cqgas/tqtz.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['cqgas.cn/'], - }, + radar: [ + { + source: ['cqgas.cn/'], + }, + ], name: '停气检修通知', maintainers: ['Mai19930513'], handler, diff --git a/lib/routes/creative-comic/book.ts b/lib/routes/creative-comic/book.ts index 693aceda7..516ae8b59 100644 --- a/lib/routes/creative-comic/book.ts +++ b/lib/routes/creative-comic/book.ts @@ -21,10 +21,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['creative-comic.tw/book/:id/*'], - target: '/:id', - }, + radar: [ + { + source: ['creative-comic.tw/book/:id/*'], + target: '/:id', + }, + ], name: '漫畫', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/crossbell/notes/character.ts b/lib/routes/crossbell/notes/character.ts index d110fbf8f..c9075b405 100644 --- a/lib/routes/crossbell/notes/character.ts +++ b/lib/routes/crossbell/notes/character.ts @@ -15,10 +15,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['crossbell.io/*'], - target: '/notes', - }, + radar: [ + { + source: ['crossbell.io/*'], + target: '/notes', + }, + ], name: 'Notes of character', maintainers: ['DIYgod'], handler, diff --git a/lib/routes/crossbell/notes/index.ts b/lib/routes/crossbell/notes/index.ts index ef362b14c..f59ae3063 100644 --- a/lib/routes/crossbell/notes/index.ts +++ b/lib/routes/crossbell/notes/index.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['crossbell.io/*'], - }, + radar: [ + { + source: ['crossbell.io/*'], + }, + ], name: 'Notes', maintainers: ['DIYgod'], handler, diff --git a/lib/routes/crossbell/notes/source.ts b/lib/routes/crossbell/notes/source.ts index aaf087555..31a20e614 100644 --- a/lib/routes/crossbell/notes/source.ts +++ b/lib/routes/crossbell/notes/source.ts @@ -15,10 +15,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['crossbell.io/*'], - target: '/notes', - }, + radar: [ + { + source: ['crossbell.io/*'], + target: '/notes', + }, + ], name: 'Notes of source', maintainers: ['DIYgod'], handler, diff --git a/lib/routes/csdn/blog.ts b/lib/routes/csdn/blog.ts index 96f583d05..4b1997e75 100644 --- a/lib/routes/csdn/blog.ts +++ b/lib/routes/csdn/blog.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['blog.csdn.net/:user'], - }, + radar: [ + { + source: ['blog.csdn.net/:user'], + }, + ], name: 'User Feed', maintainers: [], handler, diff --git a/lib/routes/csu/career.ts b/lib/routes/csu/career.ts index 67759af46..2157d2dd4 100644 --- a/lib/routes/csu/career.ts +++ b/lib/routes/csu/career.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['career.csu.edu.cn/campus/index/category/1', 'career.csu.edu.cn/campus', 'career.csu.edu.cn/'], - }, + radar: [ + { + source: ['career.csu.edu.cn/campus/index/category/1', 'career.csu.edu.cn/campus', 'career.csu.edu.cn/'], + }, + ], name: '就业信息网招聘信息', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/cts/news.ts b/lib/routes/cts/news.ts index 727e3f69e..55101873c 100644 --- a/lib/routes/cts/news.ts +++ b/lib/routes/cts/news.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['news.cts.com.tw/:category/index.html'], - }, + radar: [ + { + source: ['news.cts.com.tw/:category/index.html'], + }, + ], name: '新聞', maintainers: ['miles170'], handler, diff --git a/lib/routes/cuc/yz.ts b/lib/routes/cuc/yz.ts index e06a6276b..eec7f8c93 100644 --- a/lib/routes/cuc/yz.ts +++ b/lib/routes/cuc/yz.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yz.cuc.edu.cn/8549/list.htm', 'yz.cuc.edu.cn/'], - }, + radar: [ + { + source: ['yz.cuc.edu.cn/8549/list.htm', 'yz.cuc.edu.cn/'], + }, + ], name: '研究生招生网', maintainers: ['niuyi1017'], handler, diff --git a/lib/routes/curiouscat/user.ts b/lib/routes/curiouscat/user.ts index 76d84eaff..9a372b393 100644 --- a/lib/routes/curiouscat/user.ts +++ b/lib/routes/curiouscat/user.ts @@ -9,9 +9,11 @@ const fetchAPIByUser = async (user) => { export const route: Route = { path: '/user/:id', - radar: { - source: ['curiouscat.live/:id'], - }, + radar: [ + { + source: ['curiouscat.live/:id'], + }, + ], name: 'Unknown', maintainers: ['lucasew'], handler, diff --git a/lib/routes/curius/links.ts b/lib/routes/curius/links.ts index 04a7d99cf..c4efe0df0 100644 --- a/lib/routes/curius/links.ts +++ b/lib/routes/curius/links.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['curius.app/:name'], - }, + radar: [ + { + source: ['curius.app/:name'], + }, + ], name: 'User', maintainers: ['Ovler-Young'], handler, diff --git a/lib/routes/cw/author.ts b/lib/routes/cw/author.ts index b0781b0df..d24a1777f 100644 --- a/lib/routes/cw/author.ts +++ b/lib/routes/cw/author.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['cw.com.tw/author/:channel'], - }, + radar: [ + { + source: ['cw.com.tw/author/:channel'], + }, + ], name: '作者', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/cw/today.ts b/lib/routes/cw/today.ts index ddf4b1e18..f4cd8e1fb 100644 --- a/lib/routes/cw/today.ts +++ b/lib/routes/cw/today.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['cw.com.tw/today', 'cw.com.tw/'], - }, + radar: [ + { + source: ['cw.com.tw/today', 'cw.com.tw/'], + }, + ], name: '最新上線', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/cyzone/author.ts b/lib/routes/cyzone/author.ts index b0901e9c5..1c75e31bf 100644 --- a/lib/routes/cyzone/author.ts +++ b/lib/routes/cyzone/author.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['cyzone.cn/author/:id', 'cyzone.cn/'], - }, + radar: [ + { + source: ['cyzone.cn/author/:id', 'cyzone.cn/'], + }, + ], name: '作者', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/cyzone/index.ts b/lib/routes/cyzone/index.ts index 50e077d7c..11cf7f8bc 100644 --- a/lib/routes/cyzone/index.ts +++ b/lib/routes/cyzone/index.ts @@ -4,10 +4,12 @@ import { rootUrl, apiRootUrl, processItems, getInfo } from './util'; export const route: Route = { path: ['/channel/:id?', '/:id?'], - radar: { - source: ['cyzone.cn/channel/:id', 'cyzone.cn/'], - target: '/:id', - }, + radar: [ + { + source: ['cyzone.cn/channel/:id', 'cyzone.cn/'], + target: '/:id', + }, + ], name: 'Unknown', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/cyzone/label.ts b/lib/routes/cyzone/label.ts index 374a83ac3..9defe810e 100644 --- a/lib/routes/cyzone/label.ts +++ b/lib/routes/cyzone/label.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['cyzone.cn/label/:name', 'cyzone.cn/'], - }, + radar: [ + { + source: ['cyzone.cn/label/:name', 'cyzone.cn/'], + }, + ], name: '标签', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/cztv/daily.ts b/lib/routes/cztv/daily.ts index 4761f6084..824f813c7 100644 --- a/lib/routes/cztv/daily.ts +++ b/lib/routes/cztv/daily.ts @@ -24,9 +24,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['cztv.com/videos/zjxwlb', 'cztv.com/'], - }, + radar: [ + { + source: ['cztv.com/videos/zjxwlb', 'cztv.com/'], + }, + ], name: '浙江新闻联播 - 每日合集', maintainers: ['yhkang'], handler, diff --git a/lib/routes/cztv/zjxwlb.ts b/lib/routes/cztv/zjxwlb.ts index 3493eb30d..0f270db4e 100644 --- a/lib/routes/cztv/zjxwlb.ts +++ b/lib/routes/cztv/zjxwlb.ts @@ -24,9 +24,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['cztv.com/videos/zjxwlb', 'cztv.com/'], - }, + radar: [ + { + source: ['cztv.com/videos/zjxwlb', 'cztv.com/'], + }, + ], name: '浙江新闻联播', maintainers: ['yhkang'], handler, diff --git a/lib/routes/daily/discussed.ts b/lib/routes/daily/discussed.ts index de466f049..66ce51037 100644 --- a/lib/routes/daily/discussed.ts +++ b/lib/routes/daily/discussed.ts @@ -70,10 +70,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['daily.dev/popular'], - target: '', - }, + radar: [ + { + source: ['daily.dev/popular'], + target: '', + }, + ], name: 'Most Discussed', maintainers: ['Rjnishant530'], handler, diff --git a/lib/routes/daily/index.ts b/lib/routes/daily/index.ts index 7b4165754..b10418e91 100644 --- a/lib/routes/daily/index.ts +++ b/lib/routes/daily/index.ts @@ -69,10 +69,12 @@ const graphqlQuery = { export const route: Route = { path: '/', - radar: { - source: ['daily.dev/popular'], - target: '', - }, + radar: [ + { + source: ['daily.dev/popular'], + target: '', + }, + ], name: 'Unknown', maintainers: ['Rjnishant530'], handler, diff --git a/lib/routes/daily/upvoted.ts b/lib/routes/daily/upvoted.ts index f6b634694..1b2c2ab97 100644 --- a/lib/routes/daily/upvoted.ts +++ b/lib/routes/daily/upvoted.ts @@ -74,10 +74,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['daily.dev/popular'], - target: '', - }, + radar: [ + { + source: ['daily.dev/popular'], + target: '', + }, + ], name: 'Most upvoted', maintainers: ['Rjnishant530'], handler, diff --git a/lib/routes/darwinawards/index.ts b/lib/routes/darwinawards/index.ts index 7dca8a3a6..3e8b5d813 100644 --- a/lib/routes/darwinawards/index.ts +++ b/lib/routes/darwinawards/index.ts @@ -5,10 +5,12 @@ import { load } from 'cheerio'; export const route: Route = { path: ['/all', '/'], - radar: { - source: ['darwinawards.com/darwin', 'darwinawards.com/'], - target: '', - }, + radar: [ + { + source: ['darwinawards.com/darwin', 'darwinawards.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['zoenglinghou', 'nczitzk'], handler, diff --git a/lib/routes/dayanzai/index.ts b/lib/routes/dayanzai/index.ts index 28a402d1a..7bf7d675f 100644 --- a/lib/routes/dayanzai/index.ts +++ b/lib/routes/dayanzai/index.ts @@ -20,10 +20,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['dayanzai.me/:category', 'dayanzai.me/:category/*'], - target: '/:category', - }, + radar: [ + { + source: ['dayanzai.me/:category', 'dayanzai.me/:category/*'], + target: '/:category', + }, + ], name: '分类', maintainers: [], handler, diff --git a/lib/routes/dblp/publication.ts b/lib/routes/dblp/publication.ts index 92e1a33f9..90b1f99e0 100644 --- a/lib/routes/dblp/publication.ts +++ b/lib/routes/dblp/publication.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['dblp.org/:field'], - }, + radar: [ + { + source: ['dblp.org/:field'], + }, + ], name: 'Keyword Search', maintainers: ['ytno1'], handler, diff --git a/lib/routes/dcfever/reviews.ts b/lib/routes/dcfever/reviews.ts index 72f678cd3..83237a62f 100644 --- a/lib/routes/dcfever/reviews.ts +++ b/lib/routes/dcfever/reviews.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['dcfever.com/:type/reviews.php'], - target: '/reviews/:type', - }, + radar: [ + { + source: ['dcfever.com/:type/reviews.php'], + target: '/reviews/:type', + }, + ], name: '測試報告', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/ddosi/category.ts b/lib/routes/ddosi/category.ts index 9bab567f9..48ceb70bb 100644 --- a/lib/routes/ddosi/category.ts +++ b/lib/routes/ddosi/category.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ddosi.org/category/:category/'], - target: '/category/:category', - }, + radar: [ + { + source: ['ddosi.org/category/:category/'], + target: '/category/:category', + }, + ], name: '分类', maintainers: [], handler, diff --git a/lib/routes/ddosi/index.ts b/lib/routes/ddosi/index.ts index 2163deb41..a2dc3c169 100644 --- a/lib/routes/ddosi/index.ts +++ b/lib/routes/ddosi/index.ts @@ -6,10 +6,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/', - radar: { - source: ['ddosi.org/'], - target: '', - }, + radar: [ + { + source: ['ddosi.org/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['XinRoom'], handler, diff --git a/lib/routes/deadline/posts.ts b/lib/routes/deadline/posts.ts index bbd71f400..c840f30a1 100644 --- a/lib/routes/deadline/posts.ts +++ b/lib/routes/deadline/posts.ts @@ -10,10 +10,12 @@ import * as path from 'node:path'; export const route: Route = { path: '/', - radar: { - source: ['deadline.com/'], - target: '', - }, + radar: [ + { + source: ['deadline.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/dedao/knowledge.ts b/lib/routes/dedao/knowledge.ts index 0439f5aec..f80dbfcfa 100644 --- a/lib/routes/dedao/knowledge.ts +++ b/lib/routes/dedao/knowledge.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['dedao.cn/knowledge/topic/:topic', 'dedao.cn/knowledge', 'dedao.cn/'], - }, + radar: [ + { + source: ['dedao.cn/knowledge/topic/:topic', 'dedao.cn/knowledge', 'dedao.cn/'], + }, + ], name: '知识城邦', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/dedao/list.ts b/lib/routes/dedao/list.ts index dc353e39e..182608a90 100644 --- a/lib/routes/dedao/list.ts +++ b/lib/routes/dedao/list.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['igetget.com/'], - }, + radar: [ + { + source: ['igetget.com/'], + }, + ], name: '首页', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/deeplearning/thebatch.ts b/lib/routes/deeplearning/thebatch.ts index ad512e4f1..1264a03a0 100644 --- a/lib/routes/deeplearning/thebatch.ts +++ b/lib/routes/deeplearning/thebatch.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.deeplearning.ai/thebatch', 'www.deeplearning.ai/'], - }, + radar: [ + { + source: ['www.deeplearning.ai/thebatch', 'www.deeplearning.ai/'], + }, + ], name: 'TheBatch 周报', maintainers: ['nczitzk', 'juvenn'], handler, diff --git a/lib/routes/deepmind/blog.ts b/lib/routes/deepmind/blog.ts index 00f127cc1..3697e645e 100644 --- a/lib/routes/deepmind/blog.ts +++ b/lib/routes/deepmind/blog.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['deepmind.com/blog', 'deepmind.com/'], - }, + radar: [ + { + source: ['deepmind.com/blog', 'deepmind.com/'], + }, + ], name: 'Blog', maintainers: ['nczitzk', 'TonyRL'], handler, diff --git a/lib/routes/deltaio/blog.ts b/lib/routes/deltaio/blog.ts index d528d9e54..8554df6f8 100644 --- a/lib/routes/deltaio/blog.ts +++ b/lib/routes/deltaio/blog.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['delta.io/blog'], - }, + radar: [ + { + source: ['delta.io/blog'], + }, + ], name: 'Blogs', maintainers: ['RengarLee'], handler, diff --git a/lib/routes/devolverdigital/blog.ts b/lib/routes/devolverdigital/blog.ts index 6f9cfe539..fdcdae073 100644 --- a/lib/routes/devolverdigital/blog.ts +++ b/lib/routes/devolverdigital/blog.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['devolverdigital.com/blog'], - }, + radar: [ + { + source: ['devolverdigital.com/blog'], + }, + ], name: 'Official Blogs', maintainers: ['XXY233'], handler, diff --git a/lib/routes/dhu/news/xsxx.ts b/lib/routes/dhu/news/xsxx.ts index 2b5412ec1..31ad2eea8 100644 --- a/lib/routes/dhu/news/xsxx.ts +++ b/lib/routes/dhu/news/xsxx.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['news.dhu.edu.cn/6410'], - }, + radar: [ + { + source: ['news.dhu.edu.cn/6410'], + }, + ], name: '学术信息', maintainers: ['fox2049'], handler, diff --git a/lib/routes/diandong/news.ts b/lib/routes/diandong/news.ts index 8ceb413a7..8441c6815 100644 --- a/lib/routes/diandong/news.ts +++ b/lib/routes/diandong/news.ts @@ -30,10 +30,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['diandong.com/news'], - target: '/news/:cate', - }, + radar: [ + { + source: ['diandong.com/news'], + target: '/news/:cate', + }, + ], name: '资讯', maintainers: ['Fatpandac'], handler, diff --git a/lib/routes/diershoubing/news.ts b/lib/routes/diershoubing/news.ts index d66063d97..f63df581a 100644 --- a/lib/routes/diershoubing/news.ts +++ b/lib/routes/diershoubing/news.ts @@ -21,9 +21,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['diershoubing.com/'], - }, + radar: [ + { + source: ['diershoubing.com/'], + }, + ], name: '新闻', maintainers: ['wushijishan'], handler, diff --git a/lib/routes/discord/channel.ts b/lib/routes/discord/channel.ts index 87d468eb3..d3986c40f 100644 --- a/lib/routes/discord/channel.ts +++ b/lib/routes/discord/channel.ts @@ -27,9 +27,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['discord.com/channels/:guildId/:channelId/:messageID', 'discord.com/channels/:guildId/:channelId'], - }, + radar: [ + { + source: ['discord.com/channels/:guildId/:channelId/:messageID', 'discord.com/channels/:guildId/:channelId'], + }, + ], name: 'Channel Messages', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/disinfo/publications.ts b/lib/routes/disinfo/publications.ts index 77d9350d8..bc084c5aa 100644 --- a/lib/routes/disinfo/publications.ts +++ b/lib/routes/disinfo/publications.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['disinfo.eu/'], - }, + radar: [ + { + source: ['disinfo.eu/'], + }, + ], name: 'Publications', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/diskanalyzer/whats-new.ts b/lib/routes/diskanalyzer/whats-new.ts index f41828f2f..6c00fda58 100644 --- a/lib/routes/diskanalyzer/whats-new.ts +++ b/lib/routes/diskanalyzer/whats-new.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['diskanalyzer.com/whats-new', 'diskanalyzer.com/'], - }, + radar: [ + { + source: ['diskanalyzer.com/whats-new', 'diskanalyzer.com/'], + }, + ], name: "What's New", maintainers: ['nczitzk'], handler, diff --git a/lib/routes/distill/index.ts b/lib/routes/distill/index.ts index 7da044dcb..aea659c95 100644 --- a/lib/routes/distill/index.ts +++ b/lib/routes/distill/index.ts @@ -6,10 +6,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/', - radar: { - source: ['distill.pub/'], - target: '', - }, + radar: [ + { + source: ['distill.pub/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/dlnews/category.ts b/lib/routes/dlnews/category.ts index 993d0c111..39be45577 100644 --- a/lib/routes/dlnews/category.ts +++ b/lib/routes/dlnews/category.ts @@ -63,10 +63,12 @@ const extractArticle = (item) => export const route: Route = { path: '/:category?', - radar: { - source: ['dlnews.com/articles/:category'], - target: '/:category', - }, + radar: [ + { + source: ['dlnews.com/articles/:category'], + target: '/:category', + }, + ], name: 'Unknown', maintainers: ['Rjnishant530'], handler, diff --git a/lib/routes/dlsite/ci-en/article.ts b/lib/routes/dlsite/ci-en/article.ts index 0f09f182d..42332d901 100644 --- a/lib/routes/dlsite/ci-en/article.ts +++ b/lib/routes/dlsite/ci-en/article.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ci-en.dlsite.com/creator/:id/article/843558', 'ci-en.dlsite.com/'], - }, + radar: [ + { + source: ['ci-en.dlsite.com/creator/:id/article/843558', 'ci-en.dlsite.com/'], + }, + ], name: "Ci-en Creators' Article", maintainers: ['nczitzk'], handler, diff --git a/lib/routes/dmzj/news.ts b/lib/routes/dmzj/news.ts index defeff726..dc6bee568 100644 --- a/lib/routes/dmzj/news.ts +++ b/lib/routes/dmzj/news.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['news.dmzj.com/'], - target: '/news', - }, + radar: [ + { + source: ['news.dmzj.com/'], + target: '/news', + }, + ], name: '新闻站', maintainers: ['vzz64'], handler, diff --git a/lib/routes/dnaindia/category.ts b/lib/routes/dnaindia/category.ts index 33d8ddef2..c7f76612e 100644 --- a/lib/routes/dnaindia/category.ts +++ b/lib/routes/dnaindia/category.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['dnaindia.com/:category'], - }, + radar: [ + { + source: ['dnaindia.com/:category'], + }, + ], name: 'News', maintainers: ['Rjnishant530'], handler, diff --git a/lib/routes/domp4/detail.ts b/lib/routes/domp4/detail.ts index 1e8773bff..c81f4d63d 100644 --- a/lib/routes/domp4/detail.ts +++ b/lib/routes/domp4/detail.ts @@ -83,9 +83,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['domp4.cc/detail/:id'], - }, + radar: [ + { + source: ['domp4.cc/detail/:id'], + }, + ], name: '剧集订阅', maintainers: ['savokiss'], handler, diff --git a/lib/routes/domp4/latest.ts b/lib/routes/domp4/latest.ts index 30a1556cd..c2e6705c7 100644 --- a/lib/routes/domp4/latest.ts +++ b/lib/routes/domp4/latest.ts @@ -30,9 +30,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['domp4.cc/', 'domp4.cc/custom/update.html'], - }, + radar: [ + { + source: ['domp4.cc/', 'domp4.cc/custom/update.html'], + }, + ], name: '最近更新', maintainers: ['savokiss'], handler, diff --git a/lib/routes/dongqiudi/daily.ts b/lib/routes/dongqiudi/daily.ts index 0cf6a4bc2..6b2c596cb 100644 --- a/lib/routes/dongqiudi/daily.ts +++ b/lib/routes/dongqiudi/daily.ts @@ -12,9 +12,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.dongqiudi.com/special/48'], - }, + radar: [ + { + source: ['www.dongqiudi.com/special/48'], + }, + ], name: '早报', maintainers: ['HenryQW'], handler, diff --git a/lib/routes/dongqiudi/special.ts b/lib/routes/dongqiudi/special.ts index a1300167c..b04f207fb 100644 --- a/lib/routes/dongqiudi/special.ts +++ b/lib/routes/dongqiudi/special.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.dongqiudi.com/special/:id'], - }, + radar: [ + { + source: ['www.dongqiudi.com/special/:id'], + }, + ], name: '专题', maintainers: ['dxmpalb'], handler, diff --git a/lib/routes/dongqiudi/top-news.ts b/lib/routes/dongqiudi/top-news.ts index e4820215c..ff625baba 100644 --- a/lib/routes/dongqiudi/top-news.ts +++ b/lib/routes/dongqiudi/top-news.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['m.dongqiudi.com/home/:id'], - target: '/top_news/:id', - }, + radar: [ + { + source: ['m.dongqiudi.com/home/:id'], + target: '/top_news/:id', + }, + ], name: '新闻', maintainers: ['HendricksZheng'], handler, diff --git a/lib/routes/dorohedoro/news.ts b/lib/routes/dorohedoro/news.ts index 45c78316e..fb63712b7 100644 --- a/lib/routes/dorohedoro/news.ts +++ b/lib/routes/dorohedoro/news.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['dorohedoro.net/news', 'dorohedoro.net/'], - }, + radar: [ + { + source: ['dorohedoro.net/news', 'dorohedoro.net/'], + }, + ], name: 'News', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/douban/other/discussion.ts b/lib/routes/douban/other/discussion.ts index c55079dd7..741408abb 100644 --- a/lib/routes/douban/other/discussion.ts +++ b/lib/routes/douban/other/discussion.ts @@ -23,9 +23,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['book.douban.com/:id/discussion'], - }, + radar: [ + { + source: ['book.douban.com/:id/discussion'], + }, + ], name: '豆瓣读书论坛', maintainers: ['nightmare-mio'], handler, diff --git a/lib/routes/douban/other/group.ts b/lib/routes/douban/other/group.ts index bd212c89e..d71059951 100644 --- a/lib/routes/douban/other/group.ts +++ b/lib/routes/douban/other/group.ts @@ -16,10 +16,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.douban.com/group/:groupid'], - target: '/group/:groupid', - }, + radar: [ + { + source: ['www.douban.com/group/:groupid'], + target: '/group/:groupid', + }, + ], name: '豆瓣小组', maintainers: ['DIYgod'], handler, diff --git a/lib/routes/douban/other/list.ts b/lib/routes/douban/other/list.ts index 76f5ce92c..88fc8645f 100644 --- a/lib/routes/douban/other/list.ts +++ b/lib/routes/douban/other/list.ts @@ -20,10 +20,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.douban.com/subject_collection/:type'], - target: '/list/:type', - }, + radar: [ + { + source: ['www.douban.com/subject_collection/:type'], + target: '/list/:type', + }, + ], name: '豆瓣榜单与集合', maintainers: ['5upernova-heng', 'honue'], handler, diff --git a/lib/routes/douyin/hashtag.ts b/lib/routes/douyin/hashtag.ts index 25a74bec9..4cafd12d1 100644 --- a/lib/routes/douyin/hashtag.ts +++ b/lib/routes/douyin/hashtag.ts @@ -20,10 +20,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['douyin.com/hashtag/:cid'], - target: '/hashtag/:cid', - }, + radar: [ + { + source: ['douyin.com/hashtag/:cid'], + target: '/hashtag/:cid', + }, + ], name: '标签', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/douyin/live.ts b/lib/routes/douyin/live.ts index 901675e16..bf640a007 100644 --- a/lib/routes/douyin/live.ts +++ b/lib/routes/douyin/live.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['live.douyin.com/:rid'], - }, + radar: [ + { + source: ['live.douyin.com/:rid'], + }, + ], name: '直播间开播', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/douyin/user.ts b/lib/routes/douyin/user.ts index 568b361d6..72053101d 100644 --- a/lib/routes/douyin/user.ts +++ b/lib/routes/douyin/user.ts @@ -19,10 +19,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['douyin.com/user/:uid'], - target: '/user/:uid', - }, + radar: [ + { + source: ['douyin.com/user/:uid'], + target: '/user/:uid', + }, + ], name: '博主', maintainers: ['Max-Tortoise', 'Rongronggg9'], handler, diff --git a/lib/routes/douyu/group.ts b/lib/routes/douyu/group.ts index 7ea406c70..87b026083 100644 --- a/lib/routes/douyu/group.ts +++ b/lib/routes/douyu/group.ts @@ -21,10 +21,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yuba.douyu.com/group/:id', 'yuba.douyu.com/group/newself/:id', 'yuba.douyu.com/group/newall/:id', 'yuba.douyu.com/'], - target: '/group/:id', - }, + radar: [ + { + source: ['yuba.douyu.com/group/:id', 'yuba.douyu.com/group/newself/:id', 'yuba.douyu.com/group/newall/:id', 'yuba.douyu.com/'], + target: '/group/:id', + }, + ], name: '鱼吧帖子', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/douyu/post.ts b/lib/routes/douyu/post.ts index dd412a18d..b6276682e 100644 --- a/lib/routes/douyu/post.ts +++ b/lib/routes/douyu/post.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yuba.douyu.com/p/:id', 'yuba.douyu.com/'], - }, + radar: [ + { + source: ['yuba.douyu.com/p/:id', 'yuba.douyu.com/'], + }, + ], name: '鱼吧跟帖', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/douyu/room.ts b/lib/routes/douyu/room.ts index b8fd13164..7cad249a7 100644 --- a/lib/routes/douyu/room.ts +++ b/lib/routes/douyu/room.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.douyu.com/:id', 'www.douyu.com/'], - }, + radar: [ + { + source: ['www.douyu.com/:id', 'www.douyu.com/'], + }, + ], name: '直播间开播', maintainers: ['DIYgod'], handler, diff --git a/lib/routes/dribbble/popular.ts b/lib/routes/dribbble/popular.ts index 4d01e69a3..6fcfbe491 100644 --- a/lib/routes/dribbble/popular.ts +++ b/lib/routes/dribbble/popular.ts @@ -14,10 +14,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['dribbble.com/'], - target: '/popular', - }, + radar: [ + { + source: ['dribbble.com/'], + target: '/popular', + }, + ], name: 'Popular', maintainers: ['DIYgod', 'loganrockmore'], handler, diff --git a/lib/routes/dribbble/user.ts b/lib/routes/dribbble/user.ts index 9f2e1d5a5..2a665bdc1 100644 --- a/lib/routes/dribbble/user.ts +++ b/lib/routes/dribbble/user.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['dribbble.com/:name'], - }, + radar: [ + { + source: ['dribbble.com/:name'], + }, + ], name: 'User (or team)', maintainers: ['DIYgod', 'loganrockmore'], handler, diff --git a/lib/routes/dtcj/datainsight.ts b/lib/routes/dtcj/datainsight.ts index 66b80e968..903caba01 100644 --- a/lib/routes/dtcj/datainsight.ts +++ b/lib/routes/dtcj/datainsight.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['dtcj.com/insighttopic/:id'], - target: '/datainsight/:id', - }, + radar: [ + { + source: ['dtcj.com/insighttopic/:id'], + target: '/datainsight/:id', + }, + ], name: '数据洞察', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/duozhuayu/search.ts b/lib/routes/duozhuayu/search.ts index 207ad6ee7..564ecfcc8 100644 --- a/lib/routes/duozhuayu/search.ts +++ b/lib/routes/duozhuayu/search.ts @@ -21,9 +21,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['duozhuayu.com/search/book/:wd'], - }, + radar: [ + { + source: ['duozhuayu.com/search/book/:wd'], + }, + ], name: '搜索结果', maintainers: ['fengkx'], handler, diff --git a/lib/routes/dushu/fuzhou/index.ts b/lib/routes/dushu/fuzhou/index.ts index d6ec8ef0f..7de41150d 100644 --- a/lib/routes/dushu/fuzhou/index.ts +++ b/lib/routes/dushu/fuzhou/index.ts @@ -30,9 +30,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.dushu365.com*'], - }, + radar: [ + { + source: ['www.dushu365.com*'], + }, + ], name: '樊登福州运营中心', maintainers: ['Fatpandac'], handler, diff --git a/lib/routes/dxy/profile/thread.ts b/lib/routes/dxy/profile/thread.ts index 4e87c1173..df9b2adff 100644 --- a/lib/routes/dxy/profile/thread.ts +++ b/lib/routes/dxy/profile/thread.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['dxy.cn/bbs/newweb/pc/profile/:userId/threads', 'dxy.cn/bbs/newweb/pc/profile/:userId'], - }, + radar: [ + { + source: ['dxy.cn/bbs/newweb/pc/profile/:userId/threads', 'dxy.cn/bbs/newweb/pc/profile/:userId'], + }, + ], name: '个人帖子', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/eagle/blog.ts b/lib/routes/eagle/blog.ts index 89b0d19e3..4bf28bb30 100644 --- a/lib/routes/eagle/blog.ts +++ b/lib/routes/eagle/blog.ts @@ -19,10 +19,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['cn.eagle.cool/blog'], - target: '/blog', - }, + radar: [ + { + source: ['cn.eagle.cool/blog'], + target: '/blog', + }, + ], name: 'Blog', maintainers: ['Fatpandac'], handler, diff --git a/lib/routes/earthquake/ceic.ts b/lib/routes/earthquake/ceic.ts index eb37c1ddb..860db1853 100644 --- a/lib/routes/earthquake/ceic.ts +++ b/lib/routes/earthquake/ceic.ts @@ -16,10 +16,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.cea.gov.cn/cea/xwzx/zqsd/index.html', 'www.cea.gov.cn/'], - target: '', - }, + radar: [ + { + source: ['www.cea.gov.cn/cea/xwzx/zqsd/index.html', 'www.cea.gov.cn/'], + target: '', + }, + ], name: '中国地震台', maintainers: ['SettingDust'], handler, diff --git a/lib/routes/earthquake/index.ts b/lib/routes/earthquake/index.ts index 0871780b5..107e9f288 100644 --- a/lib/routes/earthquake/index.ts +++ b/lib/routes/earthquake/index.ts @@ -16,10 +16,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.cea.gov.cn/cea/xwzx/zqsd/index.html', 'www.cea.gov.cn/'], - target: '', - }, + radar: [ + { + source: ['www.cea.gov.cn/cea/xwzx/zqsd/index.html', 'www.cea.gov.cn/'], + target: '', + }, + ], name: '中国地震局', maintainers: ['LogicJake'], handler, diff --git a/lib/routes/eastday/24.ts b/lib/routes/eastday/24.ts index 0f3c62152..145a5e513 100644 --- a/lib/routes/eastday/24.ts +++ b/lib/routes/eastday/24.ts @@ -36,10 +36,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['mini.eastday.com/'], - target: '/24', - }, + radar: [ + { + source: ['mini.eastday.com/'], + target: '/24', + }, + ], name: '24 小时热闻', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/eastday/portrait.ts b/lib/routes/eastday/portrait.ts index 921330d9c..b9d1873f7 100644 --- a/lib/routes/eastday/portrait.ts +++ b/lib/routes/eastday/portrait.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.eastday.com/'], - }, + radar: [ + { + source: ['www.eastday.com/'], + }, + ], name: '原创', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/eastday/sh.ts b/lib/routes/eastday/sh.ts index fa2a4059c..e79f7a641 100644 --- a/lib/routes/eastday/sh.ts +++ b/lib/routes/eastday/sh.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['sh.eastday.com/'], - }, + radar: [ + { + source: ['sh.eastday.com/'], + }, + ], name: '上海新闻', maintainers: ['saury'], handler, diff --git a/lib/routes/eastmoney/report/index.ts b/lib/routes/eastmoney/report/index.ts index df4781a2a..7160b8e4a 100644 --- a/lib/routes/eastmoney/report/index.ts +++ b/lib/routes/eastmoney/report/index.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['data.eastmoney.com/report/:category'], - }, + radar: [ + { + source: ['data.eastmoney.com/report/:category'], + }, + ], name: '研究报告', maintainers: ['syzq'], handler, diff --git a/lib/routes/ecnu/contest.ts b/lib/routes/ecnu/contest.ts index 1d1d3b347..2d931ac4c 100644 --- a/lib/routes/ecnu/contest.ts +++ b/lib/routes/ecnu/contest.ts @@ -20,10 +20,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['acm.ecnu.edu.cn/contest/', 'acm.ecnu.edu.cn/'], - target: '/acm/contest/', - }, + radar: [ + { + source: ['acm.ecnu.edu.cn/contest/', 'acm.ecnu.edu.cn/'], + target: '/acm/contest/', + }, + ], name: 'ACM Online-Judge contests list', maintainers: ['a180285'], handler, diff --git a/lib/routes/ecnu/yjs.ts b/lib/routes/ecnu/yjs.ts index a1d6e5168..62078b7fe 100644 --- a/lib/routes/ecnu/yjs.ts +++ b/lib/routes/ecnu/yjs.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yz.kaoyan.com/ecnu/tiaoji', 'yz.kaoyan.com/'], - }, + radar: [ + { + source: ['yz.kaoyan.com/ecnu/tiaoji', 'yz.kaoyan.com/'], + }, + ], name: '研究生院', maintainers: ['shengmaosu'], handler, diff --git a/lib/routes/economist/espresso.ts b/lib/routes/economist/espresso.ts index 0db627664..2f8614cb4 100644 --- a/lib/routes/economist/espresso.ts +++ b/lib/routes/economist/espresso.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['economist.com/the-world-in-brief', 'economist.com/espresso'], - }, + radar: [ + { + source: ['economist.com/the-world-in-brief', 'economist.com/espresso'], + }, + ], name: 'Espresso', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/economist/full.ts b/lib/routes/economist/full.ts index 2dbc9f1fa..d42206723 100644 --- a/lib/routes/economist/full.ts +++ b/lib/routes/economist/full.ts @@ -32,9 +32,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['economist.com/:endpoint'], - }, + radar: [ + { + source: ['economist.com/:endpoint'], + }, + ], name: 'Category', maintainers: ['ImSingee'], handler, diff --git a/lib/routes/economist/global-business-review.ts b/lib/routes/economist/global-business-review.ts index 8d539d5be..dbb37f3df 100644 --- a/lib/routes/economist/global-business-review.ts +++ b/lib/routes/economist/global-business-review.ts @@ -79,10 +79,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['businessreview.global/'], - target: '/global-business-review', - }, + radar: [ + { + source: ['businessreview.global/'], + target: '/global-business-review', + }, + ], name: 'Global Business Review', maintainers: ['prnake'], handler, diff --git a/lib/routes/ecust/e/news.ts b/lib/routes/ecust/e/news.ts index 0c93d0d13..285ea71fb 100644 --- a/lib/routes/ecust/e/news.ts +++ b/lib/routes/ecust/e/news.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['e.ecust.edu.cn/engine2/m/38F638B77773ADD3', 'e.ecust.edu.cn/'], - }, + radar: [ + { + source: ['e.ecust.edu.cn/engine2/m/38F638B77773ADD3', 'e.ecust.edu.cn/'], + }, + ], name: '继续教育学院 - 学院公告', maintainers: ['jialinghui'], handler, diff --git a/lib/routes/ecust/gschool/yjs.ts b/lib/routes/ecust/gschool/yjs.ts index 80f3dfd03..a67525ba6 100644 --- a/lib/routes/ecust/gschool/yjs.ts +++ b/lib/routes/ecust/gschool/yjs.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gschool.ecust.edu.cn/12753/list.htm', 'gschool.ecust.edu.cn/'], - }, + radar: [ + { + source: ['gschool.ecust.edu.cn/12753/list.htm', 'gschool.ecust.edu.cn/'], + }, + ], name: '研究生院通知公告', maintainers: ['shengmaosu'], handler, diff --git a/lib/routes/egsea/flash.ts b/lib/routes/egsea/flash.ts index 4364883d8..363ccbae5 100644 --- a/lib/routes/egsea/flash.ts +++ b/lib/routes/egsea/flash.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['egsea.com/news/flash'], - }, + radar: [ + { + source: ['egsea.com/news/flash'], + }, + ], name: '快讯', maintainers: ['hillerliao'], handler, diff --git a/lib/routes/ekantipur/issue.ts b/lib/routes/ekantipur/issue.ts index 7f9c54de5..9cdb44fb5 100644 --- a/lib/routes/ekantipur/issue.ts +++ b/lib/routes/ekantipur/issue.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ekantipur.com/:channel'], - target: '/:channel', - }, + radar: [ + { + source: ['ekantipur.com/:channel'], + target: '/:channel', + }, + ], name: 'Full Article RSS', maintainers: ['maniche04'], handler, diff --git a/lib/routes/elasticsearch-cn/index.ts b/lib/routes/elasticsearch-cn/index.ts index 857ce9284..c95a33c65 100644 --- a/lib/routes/elasticsearch-cn/index.ts +++ b/lib/routes/elasticsearch-cn/index.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['elasticsearch.cn/:params', 'elasticsearch.cn/'], - target: '/:params', - }, + radar: [ + { + source: ['elasticsearch.cn/:params', 'elasticsearch.cn/'], + target: '/:params', + }, + ], name: '发现', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/eleduck/jobs.ts b/lib/routes/eleduck/jobs.ts index 6a1d8c553..f3188bd0f 100644 --- a/lib/routes/eleduck/jobs.ts +++ b/lib/routes/eleduck/jobs.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['eleduck.com/categories/5', 'eleduck.com/'], - }, + radar: [ + { + source: ['eleduck.com/categories/5', 'eleduck.com/'], + }, + ], name: '工作机会', maintainers: ['sfyumi'], handler, diff --git a/lib/routes/elsevier/issue.ts b/lib/routes/elsevier/issue.ts index 1f9a88315..4596cbd5e 100644 --- a/lib/routes/elsevier/issue.ts +++ b/lib/routes/elsevier/issue.ts @@ -13,10 +13,12 @@ const cookieJar = new CookieJar(); export const route: Route = { path: ['/:journal/vol/:issue', '/:journal/:issue'], - radar: { - source: ['www.sciencedirect.com/journal/:journal/*'], - target: '/:journal', - }, + radar: [ + { + source: ['www.sciencedirect.com/journal/:journal/*'], + target: '/:journal', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/elsevier/journal.ts b/lib/routes/elsevier/journal.ts index e5f8ddd5b..74896feb9 100644 --- a/lib/routes/elsevier/journal.ts +++ b/lib/routes/elsevier/journal.ts @@ -13,10 +13,12 @@ const cookieJar = new CookieJar(); export const route: Route = { path: ['/:journal/latest', '/:journal'], - radar: { - source: ['www.sciencedirect.com/journal/:journal/*'], - target: '/:journal', - }, + radar: [ + { + source: ['www.sciencedirect.com/journal/:journal/*'], + target: '/:journal', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/epicgames/index.ts b/lib/routes/epicgames/index.ts index 414bc80f6..5e54bf5a6 100644 --- a/lib/routes/epicgames/index.ts +++ b/lib/routes/epicgames/index.ts @@ -21,10 +21,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['store.epicgames.com/:locale/free-games'], - target: '/freegames/:locale', - }, + radar: [ + { + source: ['store.epicgames.com/:locale/free-games'], + target: '/freegames/:locale', + }, + ], name: 'Free games', maintainers: ['DIYgod', 'NeverBehave', 'Zyx-A', 'junfengP', 'nczitzk', 'KotaHv'], handler, diff --git a/lib/routes/eventernote/actors.ts b/lib/routes/eventernote/actors.ts index 571f1411f..993bd3dba 100644 --- a/lib/routes/eventernote/actors.ts +++ b/lib/routes/eventernote/actors.ts @@ -25,9 +25,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.eventernote.com/actors/:name/:id/events'], - }, + radar: [ + { + source: ['www.eventernote.com/actors/:name/:id/events'], + }, + ], name: '声优活动及演唱会', maintainers: ['KTachibanaM'], handler, diff --git a/lib/routes/f-droid/apprelease.ts b/lib/routes/f-droid/apprelease.ts index 2f69e1ee1..070e2f97a 100644 --- a/lib/routes/f-droid/apprelease.ts +++ b/lib/routes/f-droid/apprelease.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['f-droid.org/en/packages/:app/'], - }, + radar: [ + { + source: ['f-droid.org/en/packages/:app/'], + }, + ], name: 'App Update', maintainers: ['garywill'], handler, diff --git a/lib/routes/fansly/post.ts b/lib/routes/fansly/post.ts index 9fdffc556..26661e122 100644 --- a/lib/routes/fansly/post.ts +++ b/lib/routes/fansly/post.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['fansly.com/:username/posts', 'fansly.com/:username/media'], - }, + radar: [ + { + source: ['fansly.com/:username/posts', 'fansly.com/:username/media'], + }, + ], name: 'User Timeline', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/fansly/tag.ts b/lib/routes/fansly/tag.ts index 804cc7d7a..b2fcdf946 100644 --- a/lib/routes/fansly/tag.ts +++ b/lib/routes/fansly/tag.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['fansly.com/explore/tag/:tag'], - }, + radar: [ + { + source: ['fansly.com/explore/tag/:tag'], + }, + ], name: 'Hashtag', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/fantia/user.ts b/lib/routes/fantia/user.ts index 55ff06706..826feabe8 100644 --- a/lib/routes/fantia/user.ts +++ b/lib/routes/fantia/user.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['fantia.jp/fanclubs/:id'], - }, + radar: [ + { + source: ['fantia.jp/fanclubs/:id'], + }, + ], name: 'User Posts', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/farmatters/index.ts b/lib/routes/farmatters/index.ts index 7f66a9ad9..0c085fb1d 100644 --- a/lib/routes/farmatters/index.ts +++ b/lib/routes/farmatters/index.ts @@ -32,10 +32,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['farmatters.com/exclusive'], - target: '/exclusive', - }, + radar: [ + { + source: ['farmatters.com/exclusive'], + target: '/exclusive', + }, + ], name: 'Exclusive', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/fastbull/express-news.ts b/lib/routes/fastbull/express-news.ts index dfca27ea2..5c1753762 100644 --- a/lib/routes/fastbull/express-news.ts +++ b/lib/routes/fastbull/express-news.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['fastbull.cn/express-news', 'fastbull.cn/'], - }, + radar: [ + { + source: ['fastbull.cn/express-news', 'fastbull.cn/'], + }, + ], name: '快讯', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/fastbull/news.ts b/lib/routes/fastbull/news.ts index e2b4b2cfc..9251027f1 100644 --- a/lib/routes/fastbull/news.ts +++ b/lib/routes/fastbull/news.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['fastbull.cn/news', 'fastbull.cn/'], - }, + radar: [ + { + source: ['fastbull.cn/news', 'fastbull.cn/'], + }, + ], name: '新闻', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/fda/cdrh.ts b/lib/routes/fda/cdrh.ts index 18a2c6dcf..680af6173 100644 --- a/lib/routes/fda/cdrh.ts +++ b/lib/routes/fda/cdrh.ts @@ -6,10 +6,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/cdrh/:titleOnly?', - radar: { - source: ['fda.gov/medical-devices/news-events-medical-devices/cdrhnew-news-and-updates', 'fda.gov/'], - target: '/cdrh/:titleOnly', - }, + radar: [ + { + source: ['fda.gov/medical-devices/news-events-medical-devices/cdrhnew-news-and-updates', 'fda.gov/'], + target: '/cdrh/:titleOnly', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/feng/forum.ts b/lib/routes/feng/forum.ts index 5aa510fd0..be8af1c22 100644 --- a/lib/routes/feng/forum.ts +++ b/lib/routes/feng/forum.ts @@ -20,10 +20,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['feng.com/forum/photo/:id', 'feng.com/forum/:id'], - target: '/forum/:id', - }, + radar: [ + { + source: ['feng.com/forum/photo/:id', 'feng.com/forum/:id'], + target: '/forum/:id', + }, + ], name: '社区', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/ff14/ff14-zh.ts b/lib/routes/ff14/ff14-zh.ts index fa1c8a5cc..f4d85a751 100644 --- a/lib/routes/ff14/ff14-zh.ts +++ b/lib/routes/ff14/ff14-zh.ts @@ -21,10 +21,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ff.web.sdo.com/web8/index.html'], - target: '/zh', - }, + radar: [ + { + source: ['ff.web.sdo.com/web8/index.html'], + target: '/zh', + }, + ], name: '最终幻想 14 国服', maintainers: ['Kiotlin', 'ZeroClad', '15x15G'], handler, diff --git a/lib/routes/fffdm/manhua/manhua.ts b/lib/routes/fffdm/manhua/manhua.ts index 474c8ccff..98e37701e 100644 --- a/lib/routes/fffdm/manhua/manhua.ts +++ b/lib/routes/fffdm/manhua/manhua.ts @@ -34,10 +34,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.fffdm.com/manhua/:id', 'www.fffdm.com/:id'], - target: '/manhua/:id', - }, + radar: [ + { + source: ['www.fffdm.com/manhua/:id', 'www.fffdm.com/:id'], + target: '/manhua/:id', + }, + ], name: '在线漫画', maintainers: ['zytomorrow'], handler, diff --git a/lib/routes/finology/bullets.ts b/lib/routes/finology/bullets.ts index ba0ea7d05..3616aca5b 100644 --- a/lib/routes/finology/bullets.ts +++ b/lib/routes/finology/bullets.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['insider.finology.in/bullets'], - }, + radar: [ + { + source: ['insider.finology.in/bullets'], + }, + ], name: 'Bullets', maintainers: ['Rjnishant530'], handler, diff --git a/lib/routes/finology/most-viewed.ts b/lib/routes/finology/most-viewed.ts index 79c500a79..0d854bdc5 100644 --- a/lib/routes/finology/most-viewed.ts +++ b/lib/routes/finology/most-viewed.ts @@ -15,10 +15,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['insider.finology.in/:category'], - target: '/:category', - }, + radar: [ + { + source: ['insider.finology.in/:category'], + target: '/:category', + }, + ], name: 'Most Viewed', maintainers: ['Rjnishant530'], handler, diff --git a/lib/routes/finology/tag.ts b/lib/routes/finology/tag.ts index 8a7ff52cc..2bf356fa4 100644 --- a/lib/routes/finology/tag.ts +++ b/lib/routes/finology/tag.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['insider.finology.in/:category'], - }, + radar: [ + { + source: ['insider.finology.in/:category'], + }, + ], name: 'Category', maintainers: ['Rjnishant530'], handler, diff --git a/lib/routes/finviz/news.ts b/lib/routes/finviz/news.ts index 5417cfc8c..93d541b28 100644 --- a/lib/routes/finviz/news.ts +++ b/lib/routes/finviz/news.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['finviz.com/news.ashx', 'finviz.com/'], - }, + radar: [ + { + source: ['finviz.com/news.ashx', 'finviz.com/'], + }, + ], name: 'News', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/firefox/addons.ts b/lib/routes/firefox/addons.ts index 52eff881f..8f9bcc021 100644 --- a/lib/routes/firefox/addons.ts +++ b/lib/routes/firefox/addons.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['addons.mozilla.org/:lang/firefox/addon/:id/versions', 'addons.mozilla.org/:lang/firefox/addon/:id'], - }, + radar: [ + { + source: ['addons.mozilla.org/:lang/firefox/addon/:id/versions', 'addons.mozilla.org/:lang/firefox/addon/:id'], + }, + ], name: 'Add-ons Update', maintainers: ['DIYgod'], handler, diff --git a/lib/routes/firefox/breaches.ts b/lib/routes/firefox/breaches.ts index 653e56dc7..0a565cbbc 100644 --- a/lib/routes/firefox/breaches.ts +++ b/lib/routes/firefox/breaches.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['monitor.firefox.com/', 'monitor.firefox.com/breaches'], - }, + radar: [ + { + source: ['monitor.firefox.com/', 'monitor.firefox.com/breaches'], + }, + ], name: 'Firefox Monitor', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/fisher-spb/news.ts b/lib/routes/fisher-spb/news.ts index 712f830ea..7c58cd402 100644 --- a/lib/routes/fisher-spb/news.ts +++ b/lib/routes/fisher-spb/news.ts @@ -21,9 +21,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['fisher.spb.ru/news'], - }, + radar: [ + { + source: ['fisher.spb.ru/news'], + }, + ], name: 'News', maintainers: ['denis-ya'], handler, diff --git a/lib/routes/fishshell/index.ts b/lib/routes/fishshell/index.ts index 9afd23118..7d3ea368f 100644 --- a/lib/routes/fishshell/index.ts +++ b/lib/routes/fishshell/index.ts @@ -7,10 +7,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/', - radar: { - source: ['fishshell.com/'], - target: '', - }, + radar: [ + { + source: ['fishshell.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['x2cf'], handler, diff --git a/lib/routes/fjksbm/index.ts b/lib/routes/fjksbm/index.ts index 04a2e066a..97656ef74 100644 --- a/lib/routes/fjksbm/index.ts +++ b/lib/routes/fjksbm/index.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['fjksbm.com/portal/:category?', 'fjksbm.com/portal'], - }, + radar: [ + { + source: ['fjksbm.com/portal/:category?', 'fjksbm.com/portal'], + }, + ], name: '分类', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/flyert/creditcard.ts b/lib/routes/flyert/creditcard.ts index 214cbfa52..b558dcd23 100644 --- a/lib/routes/flyert/creditcard.ts +++ b/lib/routes/flyert/creditcard.ts @@ -21,9 +21,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['flyert.com/'], - }, + radar: [ + { + source: ['flyert.com/'], + }, + ], name: '信用卡', maintainers: ['nicolaszf'], handler, diff --git a/lib/routes/flyert/preferential.ts b/lib/routes/flyert/preferential.ts index 4aaa67991..b770970d2 100644 --- a/lib/routes/flyert/preferential.ts +++ b/lib/routes/flyert/preferential.ts @@ -23,9 +23,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['flyert.com/'], - }, + radar: [ + { + source: ['flyert.com/'], + }, + ], name: '优惠信息', maintainers: ['howel52'], handler, diff --git a/lib/routes/followin/kol.ts b/lib/routes/followin/kol.ts index d22013d61..5fc385511 100644 --- a/lib/routes/followin/kol.ts +++ b/lib/routes/followin/kol.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['followin.io/:lang/kol/:kolId', 'followin.io/kol/:kolId'], - }, + radar: [ + { + source: ['followin.io/:lang/kol/:kolId', 'followin.io/kol/:kolId'], + }, + ], name: 'KOL', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/followin/news.ts b/lib/routes/followin/news.ts index d1adec33c..76c89b35e 100644 --- a/lib/routes/followin/news.ts +++ b/lib/routes/followin/news.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['followin.io/:lang?/news', 'followin.io/news'], - }, + radar: [ + { + source: ['followin.io/:lang?/news', 'followin.io/news'], + }, + ], name: 'News', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/followin/tag.ts b/lib/routes/followin/tag.ts index 07c0f4a96..7840de2d5 100644 --- a/lib/routes/followin/tag.ts +++ b/lib/routes/followin/tag.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['followin.io/:lang/tag/:tagId', 'followin.io/tag/:tagId'], - }, + radar: [ + { + source: ['followin.io/:lang/tag/:tagId', 'followin.io/tag/:tagId'], + }, + ], name: 'Tag', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/followin/topic.ts b/lib/routes/followin/topic.ts index c3d7594fc..3c4960f0f 100644 --- a/lib/routes/followin/topic.ts +++ b/lib/routes/followin/topic.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['followin.io/:lang/topic/:topicId', 'followin.io/topic/:topicId'], - }, + radar: [ + { + source: ['followin.io/:lang/topic/:topicId', 'followin.io/topic/:topicId'], + }, + ], name: 'Topic', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/foresightnews/article.ts b/lib/routes/foresightnews/article.ts index ec83edfb4..d9798ab39 100644 --- a/lib/routes/foresightnews/article.ts +++ b/lib/routes/foresightnews/article.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['foresightnews.pro/'], - }, + radar: [ + { + source: ['foresightnews.pro/'], + }, + ], name: '文章', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/foresightnews/column.ts b/lib/routes/foresightnews/column.ts index 385ac74fe..04074ccfa 100644 --- a/lib/routes/foresightnews/column.ts +++ b/lib/routes/foresightnews/column.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['foresightnews.pro/column/detail/:id', 'foresightnews.pro/'], - }, + radar: [ + { + source: ['foresightnews.pro/column/detail/:id', 'foresightnews.pro/'], + }, + ], name: '专栏', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/foresightnews/index.ts b/lib/routes/foresightnews/index.ts index 7bf0b392e..e93dc0141 100644 --- a/lib/routes/foresightnews/index.ts +++ b/lib/routes/foresightnews/index.ts @@ -3,10 +3,12 @@ import { rootUrl, apiRootUrl, processItems, icon, image } from './util'; export const route: Route = { path: '/', - radar: { - source: ['foresightnews.pro/'], - target: '', - }, + radar: [ + { + source: ['foresightnews.pro/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/foresightnews/news.ts b/lib/routes/foresightnews/news.ts index b4d1877e0..e5587f032 100644 --- a/lib/routes/foresightnews/news.ts +++ b/lib/routes/foresightnews/news.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['foresightnews.pro/news', 'foresightnews.pro/'], - }, + radar: [ + { + source: ['foresightnews.pro/news', 'foresightnews.pro/'], + }, + ], name: '快讯', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/foreverblog/feeds.ts b/lib/routes/foreverblog/feeds.ts index 3fac46fd7..ba72cccfa 100644 --- a/lib/routes/foreverblog/feeds.ts +++ b/lib/routes/foreverblog/feeds.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.foreverblog.cn/feeds.html'], - }, + radar: [ + { + source: ['www.foreverblog.cn/feeds.html'], + }, + ], name: '专题展示 - 文章', maintainers: ['7Wate', 'a180285'], handler, diff --git a/lib/routes/fortunechina/index.ts b/lib/routes/fortunechina/index.ts index 68fb2de95..43540e4ef 100644 --- a/lib/routes/fortunechina/index.ts +++ b/lib/routes/fortunechina/index.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['fortunechina.com/:category', 'fortunechina.com/'], - }, + radar: [ + { + source: ['fortunechina.com/:category', 'fortunechina.com/'], + }, + ], name: '分类', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/free/rss.ts b/lib/routes/free/rss.ts index 4a0d56acd..67c1c5fd4 100644 --- a/lib/routes/free/rss.ts +++ b/lib/routes/free/rss.ts @@ -4,10 +4,12 @@ import got from '@/utils/got'; export const route: Route = { path: '/', - radar: { - source: ['free.com.tw/'], - target: '', - }, + radar: [ + { + source: ['free.com.tw/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['cnkmmk'], handler, diff --git a/lib/routes/freebuf/index.ts b/lib/routes/freebuf/index.ts index 1554c72d3..b092af41f 100644 --- a/lib/routes/freebuf/index.ts +++ b/lib/routes/freebuf/index.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['freebuf.com/articles/:type/*.html', 'freebuf.com/articles/:type'], - }, + radar: [ + { + source: ['freebuf.com/articles/:type/*.html', 'freebuf.com/articles/:type'], + }, + ], name: '文章', maintainers: ['trganda'], handler, diff --git a/lib/routes/freecomputerbooks/index.ts b/lib/routes/freecomputerbooks/index.ts index 525420382..193c18c2f 100644 --- a/lib/routes/freecomputerbooks/index.ts +++ b/lib/routes/freecomputerbooks/index.ts @@ -18,10 +18,12 @@ async function cheerioLoad(url) { export const route: Route = { path: '/:category?', - radar: { - source: ['freecomputerbooks.com/', 'freecomputerbooks.com/index.html'], - target: '', - }, + radar: [ + { + source: ['freecomputerbooks.com/', 'freecomputerbooks.com/index.html'], + target: '', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/freewechat/profile.ts b/lib/routes/freewechat/profile.ts index 32f29957b..8ad76ca42 100644 --- a/lib/routes/freewechat/profile.ts +++ b/lib/routes/freewechat/profile.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['freewechat.com/profile/:id'], - }, + radar: [ + { + source: ['freewechat.com/profile/:id'], + }, + ], name: 'Unknown', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/fuliba/latest.ts b/lib/routes/fuliba/latest.ts index f0b7164db..a5df4df6d 100644 --- a/lib/routes/fuliba/latest.ts +++ b/lib/routes/fuliba/latest.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['fuliba2023.net/'], - }, + radar: [ + { + source: ['fuliba2023.net/'], + }, + ], name: '最新', maintainers: ['shinemoon'], handler, diff --git a/lib/routes/furstar/archive.ts b/lib/routes/furstar/archive.ts index 9a600faab..ac342e967 100644 --- a/lib/routes/furstar/archive.ts +++ b/lib/routes/furstar/archive.ts @@ -16,10 +16,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['furstar.jp/:lang/archive.php', 'furstar.jp/archive.php'], - target: '/archive/:lang', - }, + radar: [ + { + source: ['furstar.jp/:lang/archive.php', 'furstar.jp/archive.php'], + target: '/archive/:lang', + }, + ], name: '已经出售的角色列表', maintainers: ['NeverBehave'], handler, diff --git a/lib/routes/furstar/artists.ts b/lib/routes/furstar/artists.ts index 116dd2066..39b67242a 100644 --- a/lib/routes/furstar/artists.ts +++ b/lib/routes/furstar/artists.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['furstar.jp/'], - target: '/artists', - }, + radar: [ + { + source: ['furstar.jp/'], + target: '/artists', + }, + ], name: '画师列表', maintainers: ['NeverBehave'], handler, diff --git a/lib/routes/furstar/index.ts b/lib/routes/furstar/index.ts index 06a73419b..c392e6110 100644 --- a/lib/routes/furstar/index.ts +++ b/lib/routes/furstar/index.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['furstar.jp/:lang', 'furstar.jp/'], - target: '/characters/:lang', - }, + radar: [ + { + source: ['furstar.jp/:lang', 'furstar.jp/'], + target: '/characters/:lang', + }, + ], name: '最新售卖角色列表', maintainers: ['NeverBehave'], handler, diff --git a/lib/routes/fx678/kx.ts b/lib/routes/fx678/kx.ts index 971d0dda5..55b9bda76 100644 --- a/lib/routes/fx678/kx.ts +++ b/lib/routes/fx678/kx.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['fx678.com/kx'], - }, + radar: [ + { + source: ['fx678.com/kx'], + }, + ], name: '7x24 小时快讯', maintainers: ['occupy5', 'dousha'], handler, diff --git a/lib/routes/gameapps/index.ts b/lib/routes/gameapps/index.ts index a1cc46a34..28938342c 100644 --- a/lib/routes/gameapps/index.ts +++ b/lib/routes/gameapps/index.ts @@ -12,10 +12,12 @@ import * as path from 'node:path'; export const route: Route = { path: '/', - radar: { - source: ['gameapps.hk/'], - target: '', - }, + radar: [ + { + source: ['gameapps.hk/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/gamegene/news.ts b/lib/routes/gamegene/news.ts index 2f9736f66..3949781d5 100644 --- a/lib/routes/gamegene/news.ts +++ b/lib/routes/gamegene/news.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['news.gamegene.cn/news'], - }, + radar: [ + { + source: ['news.gamegene.cn/news'], + }, + ], name: '资讯', maintainers: ['lone1y-51'], handler, diff --git a/lib/routes/gamer/ani/new-anime.ts b/lib/routes/gamer/ani/new-anime.ts index 177de6304..18e255215 100644 --- a/lib/routes/gamer/ani/new-anime.ts +++ b/lib/routes/gamer/ani/new-anime.ts @@ -16,10 +16,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ani.gamer.com.tw/'], - target: '/new_anime', - }, + radar: [ + { + source: ['ani.gamer.com.tw/'], + target: '/new_anime', + }, + ], name: '動畫瘋 - 最後更新', maintainers: [], handler, diff --git a/lib/routes/gamersecret/index.ts b/lib/routes/gamersecret/index.ts index 83fb21fd2..1e132ca85 100644 --- a/lib/routes/gamersecret/index.ts +++ b/lib/routes/gamersecret/index.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gamersecret.com/:type', 'gamersecret.com/:type/:category', 'gamersecret.com/'], - }, + radar: [ + { + source: ['gamersecret.com/:type', 'gamersecret.com/:type/:category', 'gamersecret.com/'], + }, + ], name: 'Category', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/gcores/category.ts b/lib/routes/gcores/category.ts index 486a46140..b02c4eb0b 100644 --- a/lib/routes/gcores/category.ts +++ b/lib/routes/gcores/category.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gcores.com/:category'], - }, + radar: [ + { + source: ['gcores.com/:category'], + }, + ], name: '分类', maintainers: ['MoguCloud', 'StevenRCE0'], handler, diff --git a/lib/routes/gcores/collection.ts b/lib/routes/gcores/collection.ts index c306f5a4f..ba2b1e122 100644 --- a/lib/routes/gcores/collection.ts +++ b/lib/routes/gcores/collection.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gcores.com/collections/:collection'], - }, + radar: [ + { + source: ['gcores.com/collections/:collection'], + }, + ], name: '专题文章', maintainers: ['kudryavka1013'], handler, diff --git a/lib/routes/gcores/radio.ts b/lib/routes/gcores/radio.ts index 77982a507..b31c6650b 100644 --- a/lib/routes/gcores/radio.ts +++ b/lib/routes/gcores/radio.ts @@ -22,10 +22,12 @@ export const route: Route = { supportPodcast: true, supportScihub: false, }, - radar: { - source: ['gcores.com/categories/:category'], - target: '/radios/:category', - }, + radar: [ + { + source: ['gcores.com/categories/:category'], + target: '/radios/:category', + }, + ], name: '播客', maintainers: ['eternasuno'], handler, diff --git a/lib/routes/gcores/tag.ts b/lib/routes/gcores/tag.ts index eae48be5e..c6490932e 100644 --- a/lib/routes/gcores/tag.ts +++ b/lib/routes/gcores/tag.ts @@ -16,10 +16,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gcores.com/categories/:tag', 'gcores.com/'], - target: '/tag/:tag', - }, + radar: [ + { + source: ['gcores.com/categories/:tag', 'gcores.com/'], + target: '/tag/:tag', + }, + ], name: '标签', maintainers: ['StevenRCE0'], handler, diff --git a/lib/routes/gdut/oa-news.ts b/lib/routes/gdut/oa-news.ts index 0df941348..84e10ef4a 100644 --- a/lib/routes/gdut/oa-news.ts +++ b/lib/routes/gdut/oa-news.ts @@ -74,10 +74,12 @@ function getArg(type) { export const route: Route = { path: '/oa_news/:type?', - radar: { - source: ['oas.gdut.edu.cn/seeyon'], - target: '/oa_news/', - }, + radar: [ + { + source: ['oas.gdut.edu.cn/seeyon'], + target: '/oa_news/', + }, + ], name: 'Unknown', maintainers: ['Jim Kirisame'], handler, diff --git a/lib/routes/gelonghui/hot-article.ts b/lib/routes/gelonghui/hot-article.ts index 73a9dca1f..a4c4802ad 100644 --- a/lib/routes/gelonghui/hot-article.ts +++ b/lib/routes/gelonghui/hot-article.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gelonghui.com/'], - target: '/hot-article', - }, + radar: [ + { + source: ['gelonghui.com/'], + target: '/hot-article', + }, + ], name: '最热文章', maintainers: [], handler, diff --git a/lib/routes/gelonghui/live.ts b/lib/routes/gelonghui/live.ts index 01f47c25e..fc3323a50 100644 --- a/lib/routes/gelonghui/live.ts +++ b/lib/routes/gelonghui/live.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gelonghui.com/live', 'gelonghui.com/'], - }, + radar: [ + { + source: ['gelonghui.com/live', 'gelonghui.com/'], + }, + ], name: '实时快讯', maintainers: [], handler, diff --git a/lib/routes/gelonghui/subject.ts b/lib/routes/gelonghui/subject.ts index a178c19ed..0e6cbb814 100644 --- a/lib/routes/gelonghui/subject.ts +++ b/lib/routes/gelonghui/subject.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gelonghui.com/subject/:id'], - }, + radar: [ + { + source: ['gelonghui.com/subject/:id'], + }, + ], name: '主题文章', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/gelonghui/user.ts b/lib/routes/gelonghui/user.ts index 4c2295388..9f1df5660 100644 --- a/lib/routes/gelonghui/user.ts +++ b/lib/routes/gelonghui/user.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gelonghui.com/user/:id'], - }, + radar: [ + { + source: ['gelonghui.com/user/:id'], + }, + ], name: '用户文章', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/geocaching/blogs.ts b/lib/routes/geocaching/blogs.ts index 74fe33797..d8d27457d 100644 --- a/lib/routes/geocaching/blogs.ts +++ b/lib/routes/geocaching/blogs.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['geocaching.com/blog/', 'geocaching.com/'], - }, + radar: [ + { + source: ['geocaching.com/blog/', 'geocaching.com/'], + }, + ], name: 'Official Blogs', maintainers: ['HankChow'], handler, diff --git a/lib/routes/getdr/index.ts b/lib/routes/getdr/index.ts index 2966b2111..baedf7b48 100644 --- a/lib/routes/getdr/index.ts +++ b/lib/routes/getdr/index.ts @@ -6,10 +6,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/', - radar: { - source: ['getdr.com/'], - target: '', - }, + radar: [ + { + source: ['getdr.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/gettr/user.ts b/lib/routes/gettr/user.ts index 25c8c3789..123b40bc6 100644 --- a/lib/routes/gettr/user.ts +++ b/lib/routes/gettr/user.ts @@ -26,9 +26,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gettr.com/user/:id'], - }, + radar: [ + { + source: ['gettr.com/user/:id'], + }, + ], name: 'User timeline', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/gf-cn/news.ts b/lib/routes/gf-cn/news.ts index bc0c89cc8..179077bf1 100644 --- a/lib/routes/gf-cn/news.ts +++ b/lib/routes/gf-cn/news.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['sunborngame.com/:category', 'sunborngame.com/'], - }, + radar: [ + { + source: ['sunborngame.com/:category', 'sunborngame.com/'], + }, + ], name: '情报局', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/gihyo/group.ts b/lib/routes/gihyo/group.ts index 03f38110c..c1dd181a6 100644 --- a/lib/routes/gihyo/group.ts +++ b/lib/routes/gihyo/group.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gihyo.jp/list/group/:id'], - }, + radar: [ + { + source: ['gihyo.jp/list/group/:id'], + }, + ], name: 'Series', maintainers: ['masakichi'], handler, diff --git a/lib/routes/gitee/repos/commits.ts b/lib/routes/gitee/repos/commits.ts index b3ccede1b..742d0dca5 100644 --- a/lib/routes/gitee/repos/commits.ts +++ b/lib/routes/gitee/repos/commits.ts @@ -21,9 +21,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gitee.com/:owner/:repo/commits'], - }, + radar: [ + { + source: ['gitee.com/:owner/:repo/commits'], + }, + ], name: '仓库提交', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/gitee/repos/events.ts b/lib/routes/gitee/repos/events.ts index bfd17715c..67f1fc7ba 100644 --- a/lib/routes/gitee/repos/events.ts +++ b/lib/routes/gitee/repos/events.ts @@ -21,9 +21,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gitee.com/:owner/:repo'], - }, + radar: [ + { + source: ['gitee.com/:owner/:repo'], + }, + ], name: '仓库动态', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/gitee/repos/releases.ts b/lib/routes/gitee/repos/releases.ts index 68b99cf2b..083cb442c 100644 --- a/lib/routes/gitee/repos/releases.ts +++ b/lib/routes/gitee/repos/releases.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gitee.com/:owner/:repo/releases'], - }, + radar: [ + { + source: ['gitee.com/:owner/:repo/releases'], + }, + ], name: '仓库 Releases', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/gitee/users/events.ts b/lib/routes/gitee/users/events.ts index 3ae1a55fc..e68a222a4 100644 --- a/lib/routes/gitee/users/events.ts +++ b/lib/routes/gitee/users/events.ts @@ -21,9 +21,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gitee.com/:username'], - }, + radar: [ + { + source: ['gitee.com/:username'], + }, + ], name: '用户公开动态', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/github/branches.ts b/lib/routes/github/branches.ts index 43446d74a..857809ff8 100644 --- a/lib/routes/github/branches.ts +++ b/lib/routes/github/branches.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['github.com/:user/:repo/branches', 'github.com/:user/:repo'], - }, + radar: [ + { + source: ['github.com/:user/:repo/branches', 'github.com/:user/:repo'], + }, + ], name: 'Repo Branches', maintainers: ['max-arnold'], handler, diff --git a/lib/routes/github/comments.ts b/lib/routes/github/comments.ts index 4c074ca4d..cb9b618be 100644 --- a/lib/routes/github/comments.ts +++ b/lib/routes/github/comments.ts @@ -21,13 +21,22 @@ const typeDict = { }; export const route: Route = { - path: ['/comments/:user/:repo/:type/:number', '/comments/:user/:repo/:number?'], - radar: { - source: ['github.com/:user/:repo/:type'], - target: '/comments/:user/:repo', + path: '/comments/:user/:repo/:number?', + categories: ['programming'], + example: '/github/comments/DIYgod/RSSHub/8116', + parameters: { + user: 'User / Org name', + repo: 'Repo name', + number: 'Issue or pull number (if omitted: all)', }, - name: 'Unknown', - maintainers: [], + radar: [ + { + source: ['github.com/:user/:repo/:type'], + target: '/comments/:user/:repo', + }, + ], + name: 'Issue / Pull Request comments', + maintainers: ['TonyRL', 'FliegendeWurst'], handler, }; @@ -46,7 +55,7 @@ async function handler(ctx) { Accept: 'application/vnd.github.v3+json', }; - await (isNaN(number) ? allIssues(ctx, user, repo, limit, headers) : singleIssue(ctx, user, repo, number, limit, headers)); + return await (isNaN(number) ? allIssues(ctx, user, repo, limit, headers) : singleIssue(ctx, user, repo, number, limit, headers)); } async function allIssues(ctx, user, repo, limit, headers) { @@ -85,18 +94,18 @@ async function allIssues(ctx, user, repo, limit, headers) { used: Number.parseInt(response.headers['x-ratelimit-used']), }; - return { - title: `${user}/${repo}: Issue & Pull request comments`, - link: `${rootUrl}/${user}/${repo}`, - item: items, - }; - ctx.set('json', { title: `${user}/${repo}: Issue & Pull request comments`, link: `${rootUrl}/${user}/${repo}`, item: items, rateLimit, }); + + return { + title: `${user}/${repo}: Issue & Pull request comments`, + link: `${rootUrl}/${user}/${repo}`, + item: items, + }; } async function singleIssue(ctx, user, repo, number, limit, headers) { @@ -177,12 +186,6 @@ async function singleIssue(ctx, user, repo, number, limit, headers) { } } - return { - title: `${user}/${repo}: ${typeDict[type].title} #${number} - ${issue.title}`, - link: issue.html_url, - item: items, - }; - ctx.set('json', { title: `${user}/${repo}: ${typeDict[type].title} #${number} - ${issue.title}`, link: issue.html_url, @@ -195,4 +198,10 @@ async function singleIssue(ctx, user, repo, number, limit, headers) { used: Number.parseInt(response.headers['x-ratelimit-used']), }, }); + + return { + title: `${user}/${repo}: ${typeDict[type].title} #${number} - ${issue.title}`, + link: issue.html_url, + item: items, + }; } diff --git a/lib/routes/github/contributors.ts b/lib/routes/github/contributors.ts index e890b26a8..6069bd1ea 100644 --- a/lib/routes/github/contributors.ts +++ b/lib/routes/github/contributors.ts @@ -15,10 +15,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['github.com/:user/:repo/graphs/contributors', 'github.com/:user/:repo'], - target: '/contributors/:user/:repo', - }, + radar: [ + { + source: ['github.com/:user/:repo/graphs/contributors', 'github.com/:user/:repo'], + target: '/contributors/:user/:repo', + }, + ], name: 'Repo Contributors', maintainers: ['zoenglinghou'], handler, diff --git a/lib/routes/github/file.ts b/lib/routes/github/file.ts index 101b683a3..f44113890 100644 --- a/lib/routes/github/file.ts +++ b/lib/routes/github/file.ts @@ -5,10 +5,12 @@ import queryString from 'query-string'; export const route: Route = { path: '/file/:user/:repo/:branch/:filepath{.+}', - radar: { - source: ['github.com/:user/:repo/blob/:branch/*filepath'], - target: '/file/:user/:repo/:branch/:filepath', - }, + radar: [ + { + source: ['github.com/:user/:repo/blob/:branch/*filepath'], + target: '/file/:user/:repo/:branch/:filepath', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/github/follower.ts b/lib/routes/github/follower.ts index 2abe78dd7..554de31f3 100644 --- a/lib/routes/github/follower.ts +++ b/lib/routes/github/follower.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['github.com/:user'], - }, + radar: [ + { + source: ['github.com/:user'], + }, + ], name: 'User Followers', maintainers: ['HenryQW'], handler, diff --git a/lib/routes/github/gist.ts b/lib/routes/github/gist.ts index 949357a44..15972bec8 100644 --- a/lib/routes/github/gist.ts +++ b/lib/routes/github/gist.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gist.github.com/:owner/:gistId/revisions', 'gist.github.com/:owner/:gistId/stargazers', 'gist.github.com/:owner/:gistId/forks', 'gist.github.com/:owner/:gistId'], - }, + radar: [ + { + source: ['gist.github.com/:owner/:gistId/revisions', 'gist.github.com/:owner/:gistId/stargazers', 'gist.github.com/:owner/:gistId/forks', 'gist.github.com/:owner/:gistId'], + }, + ], name: 'Gist Commits', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/github/issue.ts b/lib/routes/github/issue.ts index b91393506..6f39650c9 100644 --- a/lib/routes/github/issue.ts +++ b/lib/routes/github/issue.ts @@ -14,18 +14,12 @@ export const route: Route = { categories: ['programming'], example: '/github/issue/vuejs/core/all/wontfix', parameters: { user: 'GitHub username', repo: 'GitHub repo name', state: 'the state of the issues. Can be either `open`, `closed`, or `all`. Default: `open`.', labels: 'a list of comma separated label names' }, - features: { - requireConfig: false, - requirePuppeteer: false, - antiCrawler: false, - supportBT: false, - supportPodcast: false, - supportScihub: false, - }, - radar: { - source: ['github.com/:user/:repo/issues', 'github.com/:user/:repo/issues/:id', 'github.com/:user/:repo'], - target: '/issue/:user/:repo', - }, + radar: [ + { + source: ['github.com/:user/:repo/issues', 'github.com/:user/:repo/issues/:id', 'github.com/:user/:repo'], + target: '/issue/:user/:repo', + }, + ], name: 'Repo Issues', maintainers: ['HenryQW', 'AndreyMZ'], handler, diff --git a/lib/routes/github/notifications.ts b/lib/routes/github/notifications.ts index 5643499ab..c12ec85a7 100644 --- a/lib/routes/github/notifications.ts +++ b/lib/routes/github/notifications.ts @@ -23,9 +23,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['github.com/notifications'], - }, + radar: [ + { + source: ['github.com/notifications'], + }, + ], name: 'Notifications', maintainers: ['zhzy0077'], handler, diff --git a/lib/routes/github/pulls.ts b/lib/routes/github/pulls.ts index 86d0ce1b0..c07b27432 100644 --- a/lib/routes/github/pulls.ts +++ b/lib/routes/github/pulls.ts @@ -21,10 +21,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['github.com/:user/:repo/pulls', 'github.com/:user/:repo/pulls/:id', 'github.com/:user/:repo'], - target: '/pull/:user/:repo', - }, + radar: [ + { + source: ['github.com/:user/:repo/pulls', 'github.com/:user/:repo/pulls/:id', 'github.com/:user/:repo'], + target: '/pull/:user/:repo', + }, + ], name: 'Repo Pull Requests', maintainers: [], handler, diff --git a/lib/routes/github/pulse.ts b/lib/routes/github/pulse.ts index e58f64271..f48179726 100644 --- a/lib/routes/github/pulse.ts +++ b/lib/routes/github/pulse.ts @@ -26,9 +26,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['github.com/:user/:repo/pulse', 'github.com/:user/:repo/pulse/:period'], - }, + radar: [ + { + source: ['github.com/:user/:repo/pulse', 'github.com/:user/:repo/pulse/:period'], + }, + ], name: 'Repo Pulse', maintainers: ['jameschensmith'], handler, diff --git a/lib/routes/github/repos.ts b/lib/routes/github/repos.ts index 0da38ec35..57e02e3ec 100644 --- a/lib/routes/github/repos.ts +++ b/lib/routes/github/repos.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['github.com/:user'], - }, + radar: [ + { + source: ['github.com/:user'], + }, + ], name: 'User Repo', maintainers: ['DIYgod'], handler, diff --git a/lib/routes/github/star.ts b/lib/routes/github/star.ts index 90c475815..9e7b892c6 100644 --- a/lib/routes/github/star.ts +++ b/lib/routes/github/star.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['github.com/:user/:repo/stargazers', 'github.com/:user/:repo'], - }, + radar: [ + { + source: ['github.com/:user/:repo/stargazers', 'github.com/:user/:repo'], + }, + ], name: 'Repo Stars', maintainers: ['HenryQW'], handler, diff --git a/lib/routes/github/starred-repos.ts b/lib/routes/github/starred-repos.ts index f0923f7e7..9324f1bbe 100644 --- a/lib/routes/github/starred-repos.ts +++ b/lib/routes/github/starred-repos.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['github.com/:user'], - }, + radar: [ + { + source: ['github.com/:user'], + }, + ], name: 'User Starred Repositories', maintainers: ['LanceZhu'], handler, diff --git a/lib/routes/github/topic.ts b/lib/routes/github/topic.ts index 37a5b784e..f700684b9 100644 --- a/lib/routes/github/topic.ts +++ b/lib/routes/github/topic.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['github.com/topics'], - }, + radar: [ + { + source: ['github.com/topics'], + }, + ], name: 'Topics', maintainers: ['queensferryme'], handler, diff --git a/lib/routes/github/trending.ts b/lib/routes/github/trending.ts index 37622b0e4..a8872bfe3 100644 --- a/lib/routes/github/trending.ts +++ b/lib/routes/github/trending.ts @@ -30,10 +30,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['github.com/trending'], - target: '/trending/:since', - }, + radar: [ + { + source: ['github.com/trending'], + target: '/trending/:since', + }, + ], name: 'Trending', maintainers: ['DIYgod', 'jameschensmith'], handler, diff --git a/lib/routes/github/wiki.ts b/lib/routes/github/wiki.ts index 7c3e76437..07e1c4b9b 100644 --- a/lib/routes/github/wiki.ts +++ b/lib/routes/github/wiki.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['github.com/:user/:repo/wiki/:page/_history', 'github.com/:user/:repo/wiki/:page', 'github.com/:user/:repo/wiki/_history', 'github.com/:user/:repo/wiki'], - target: '/wiki/:user/:repo/:page', - }, + radar: [ + { + source: ['github.com/:user/:repo/wiki/:page/_history', 'github.com/:user/:repo/wiki/:page', 'github.com/:user/:repo/wiki/_history', 'github.com/:user/:repo/wiki'], + target: '/wiki/:user/:repo/:page', + }, + ], name: 'Wiki History', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/gitpod/blog.ts b/lib/routes/gitpod/blog.ts index 47bd71fb7..8ccfc59b6 100644 --- a/lib/routes/gitpod/blog.ts +++ b/lib/routes/gitpod/blog.ts @@ -23,9 +23,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gitpod.io/blog', 'gitpod.io/'], - }, + radar: [ + { + source: ['gitpod.io/blog', 'gitpod.io/'], + }, + ], name: 'Blog', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/gitpod/changelog.ts b/lib/routes/gitpod/changelog.ts index 4037aafaf..8837cb17b 100644 --- a/lib/routes/gitpod/changelog.ts +++ b/lib/routes/gitpod/changelog.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gitpod.io/changelog', 'gitpod.io/'], - }, + radar: [ + { + source: ['gitpod.io/changelog', 'gitpod.io/'], + }, + ], name: 'Changelog', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/globallawreview/index.ts b/lib/routes/globallawreview/index.ts index 24b62c80c..3710e73be 100644 --- a/lib/routes/globallawreview/index.ts +++ b/lib/routes/globallawreview/index.ts @@ -4,10 +4,12 @@ import { load } from 'cheerio'; export const route: Route = { path: '/', - radar: { - source: ['globallawreview.org/Magazine/GetIssueContentList', 'globallawreview.org/'], - target: '', - }, + radar: [ + { + source: ['globallawreview.org/Magazine/GetIssueContentList', 'globallawreview.org/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/gocn/jobs.ts b/lib/routes/gocn/jobs.ts index 9c4b856ca..09a676ef2 100644 --- a/lib/routes/gocn/jobs.ts +++ b/lib/routes/gocn/jobs.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gocn.vip/'], - }, + radar: [ + { + source: ['gocn.vip/'], + }, + ], name: '招聘', maintainers: ['AtlanCI', 'CcccFz'], handler, diff --git a/lib/routes/gocn/topics.ts b/lib/routes/gocn/topics.ts index 03710212c..acbf327ea 100644 --- a/lib/routes/gocn/topics.ts +++ b/lib/routes/gocn/topics.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gocn.vip/'], - }, + radar: [ + { + source: ['gocn.vip/'], + }, + ], name: '每日新闻', maintainers: ['AtlanCI', 'CcccFz'], handler, diff --git a/lib/routes/gogoanimehd/recent-releases.ts b/lib/routes/gogoanimehd/recent-releases.ts index 76138fdce..769ac7b24 100644 --- a/lib/routes/gogoanimehd/recent-releases.ts +++ b/lib/routes/gogoanimehd/recent-releases.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['developer.anitaku.to/'], - }, + radar: [ + { + source: ['developer.anitaku.to/'], + }, + ], name: 'Recent Releases', maintainers: ['user4302'], handler, diff --git a/lib/routes/google/extension.ts b/lib/routes/google/extension.ts index 8c6550676..8f03a3d7a 100644 --- a/lib/routes/google/extension.ts +++ b/lib/routes/google/extension.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['chromewebstore.google.com/detail/:name/:id'], - }, + radar: [ + { + source: ['chromewebstore.google.com/detail/:name/:id'], + }, + ], name: 'Extension Update', maintainers: ['DIYgod'], handler, diff --git a/lib/routes/gov/beijing/bjedu/gh.ts b/lib/routes/gov/beijing/bjedu/gh.ts index 33923ea5a..8554c3162 100644 --- a/lib/routes/gov/beijing/bjedu/gh.ts +++ b/lib/routes/gov/beijing/bjedu/gh.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gh.bjedu.gov.cn/ghsite/:urlPath/index.html', 'gh.bjedu.gov.cn/ghsite/:urlPath'], - target: '/beijing/bjedu/gh/:urlPath', - }, + radar: [ + { + source: ['gh.bjedu.gov.cn/ghsite/:urlPath/index.html', 'gh.bjedu.gov.cn/ghsite/:urlPath'], + target: '/beijing/bjedu/gh/:urlPath', + }, + ], name: '通用', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/gov/beijing/jw/tzgg.ts b/lib/routes/gov/beijing/jw/tzgg.ts index a7ea72302..c72a8147e 100644 --- a/lib/routes/gov/beijing/jw/tzgg.ts +++ b/lib/routes/gov/beijing/jw/tzgg.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['jw.beijing.gov.cn/tzgg'], - }, + radar: [ + { + source: ['jw.beijing.gov.cn/tzgg'], + }, + ], name: '通知公告', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/gov/caac/cjwt.ts b/lib/routes/gov/caac/cjwt.ts index ea97b5383..b017bc0e5 100644 --- a/lib/routes/gov/caac/cjwt.ts +++ b/lib/routes/gov/caac/cjwt.ts @@ -21,10 +21,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['caac.gov.cn/HDJL/'], - target: '/caac/cjwt', - }, + radar: [ + { + source: ['caac.gov.cn/HDJL/'], + target: '/caac/cjwt', + }, + ], name: '公众留言', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/gov/chinatax/latest.ts b/lib/routes/gov/chinatax/latest.ts index ccf5c80ba..6b54a4c73 100644 --- a/lib/routes/gov/chinatax/latest.ts +++ b/lib/routes/gov/chinatax/latest.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.chinatax.gov.cn/*'], - }, + radar: [ + { + source: ['www.chinatax.gov.cn/*'], + }, + ], name: '最新文件', maintainers: ['nczitzk', 'fuzy112'], handler, diff --git a/lib/routes/gov/chongqing/rsks.ts b/lib/routes/gov/chongqing/rsks.ts index 8e383ba8e..e4b09c196 100644 --- a/lib/routes/gov/chongqing/rsks.ts +++ b/lib/routes/gov/chongqing/rsks.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['rlsbj.cq.gov.cn/'], - }, + radar: [ + { + source: ['rlsbj.cq.gov.cn/'], + }, + ], name: 'Unknown', maintainers: ['Mai19930513'], handler, diff --git a/lib/routes/gov/chongqing/sydwgkzp.ts b/lib/routes/gov/chongqing/sydwgkzp.ts index 7e5cca28a..b7c256277 100644 --- a/lib/routes/gov/chongqing/sydwgkzp.ts +++ b/lib/routes/gov/chongqing/sydwgkzp.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['rlsbj.cq.gov.cn/'], - }, + radar: [ + { + source: ['rlsbj.cq.gov.cn/'], + }, + ], name: '人力社保局', maintainers: ['MajexH'], handler, diff --git a/lib/routes/gov/cmse/fxrw.ts b/lib/routes/gov/cmse/fxrw.ts index 1d7f4c0b4..f6ec62e4a 100644 --- a/lib/routes/gov/cmse/fxrw.ts +++ b/lib/routes/gov/cmse/fxrw.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.cmse.gov.cn/fxrw'], - }, + radar: [ + { + source: ['www.cmse.gov.cn/fxrw'], + }, + ], name: '飞行任务', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/gov/customs/list.ts b/lib/routes/gov/customs/list.ts index 097333535..599efd3b9 100644 --- a/lib/routes/gov/customs/list.ts +++ b/lib/routes/gov/customs/list.ts @@ -20,10 +20,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.customs.gov.cn/'], - target: '/customs/list', - }, + radar: [ + { + source: ['www.customs.gov.cn/'], + target: '/customs/list', + }, + ], name: '拍卖信息 / 海关法规', maintainers: ['Jeason0228', 'TonyRL', 'he1q'], handler, diff --git a/lib/routes/gov/guangdong/tqyb/sncsyjxh.ts b/lib/routes/gov/guangdong/tqyb/sncsyjxh.ts index fdddf26a3..dc1508dac 100644 --- a/lib/routes/gov/guangdong/tqyb/sncsyjxh.ts +++ b/lib/routes/gov/guangdong/tqyb/sncsyjxh.ts @@ -23,9 +23,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.tqyb.com.cn/gz/weatherAlarm/otherCity/'], - }, + radar: [ + { + source: ['www.tqyb.com.cn/gz/weatherAlarm/otherCity/'], + }, + ], name: '广东省内城市预警信号', maintainers: ['Fatpandac'], handler, diff --git a/lib/routes/gov/guangdong/tqyb/tfxtq.ts b/lib/routes/gov/guangdong/tqyb/tfxtq.ts index f55ee618f..0ade4040c 100644 --- a/lib/routes/gov/guangdong/tqyb/tfxtq.ts +++ b/lib/routes/gov/guangdong/tqyb/tfxtq.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.tqyb.com.cn/gz/weatherAlarm/suddenWeather/'], - }, + radar: [ + { + source: ['www.tqyb.com.cn/gz/weatherAlarm/suddenWeather/'], + }, + ], name: '突发性天气提示', maintainers: ['Fatpandac'], handler, diff --git a/lib/routes/gov/hunan/changsha/major-email.ts b/lib/routes/gov/hunan/changsha/major-email.ts index 785901de8..33605c42e 100644 --- a/lib/routes/gov/hunan/changsha/major-email.ts +++ b/lib/routes/gov/hunan/changsha/major-email.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['wlwz.changsha.gov.cn/webapp/cs2020/email/*'], - }, + radar: [ + { + source: ['wlwz.changsha.gov.cn/webapp/cs2020/email/*'], + }, + ], name: '长沙市人民政府', maintainers: ['shansing'], handler, diff --git a/lib/routes/gov/jinan/healthcommission/medical-exam-notice.ts b/lib/routes/gov/jinan/healthcommission/medical-exam-notice.ts index c4adbf745..92941c2f7 100644 --- a/lib/routes/gov/jinan/healthcommission/medical-exam-notice.ts +++ b/lib/routes/gov/jinan/healthcommission/medical-exam-notice.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['jnmhc.jinan.gov.cn/*'], - }, + radar: [ + { + source: ['jnmhc.jinan.gov.cn/*'], + }, + ], name: '获取国家医师资格考试通知', maintainers: ['tzjyxb'], handler, diff --git a/lib/routes/gov/mee/ywdt.ts b/lib/routes/gov/mee/ywdt.ts index 508d97855..a70f0cf91 100644 --- a/lib/routes/gov/mee/ywdt.ts +++ b/lib/routes/gov/mee/ywdt.ts @@ -28,10 +28,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.mee.gov.cn/ywdt/:category'], - target: '/mee/ywdt/:category', - }, + radar: [ + { + source: ['www.mee.gov.cn/ywdt/:category'], + target: '/mee/ywdt/:category', + }, + ], name: '要闻动态', maintainers: ['liuxsdev'], handler, diff --git a/lib/routes/gov/mem/sgcc.ts b/lib/routes/gov/mem/sgcc.ts index 9d9cab396..221955a56 100644 --- a/lib/routes/gov/mem/sgcc.ts +++ b/lib/routes/gov/mem/sgcc.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.mem.gov.cn/gk/sgcc/:category'], - target: '/mem/gk/sgcc/:category', - }, + radar: [ + { + source: ['www.mem.gov.cn/gk/sgcc/:category'], + target: '/mem/gk/sgcc/:category', + }, + ], name: '事故及灾害查处', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/gov/miit/wjfb.ts b/lib/routes/gov/miit/wjfb.ts index 6a44ffa54..a3808ea4d 100644 --- a/lib/routes/gov/miit/wjfb.ts +++ b/lib/routes/gov/miit/wjfb.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['miit.gov.cn/jgsj/:ministry/wjfb/index.html'], - }, + radar: [ + { + source: ['miit.gov.cn/jgsj/:ministry/wjfb/index.html'], + }, + ], name: '文件发布', maintainers: ['Fatpandac'], handler, diff --git a/lib/routes/gov/miit/yjzj.ts b/lib/routes/gov/miit/yjzj.ts index 9b1c666d4..3477a8684 100644 --- a/lib/routes/gov/miit/yjzj.ts +++ b/lib/routes/gov/miit/yjzj.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['miit.gov.cn/gzcy/yjzj/index.html'], - }, + radar: [ + { + source: ['miit.gov.cn/gzcy/yjzj/index.html'], + }, + ], name: '意见征集', maintainers: ['Fatpandac'], handler, diff --git a/lib/routes/gov/moa/moa.ts b/lib/routes/gov/moa/moa.ts index 018304eee..c0c82cd8c 100644 --- a/lib/routes/gov/moa/moa.ts +++ b/lib/routes/gov/moa/moa.ts @@ -9,10 +9,12 @@ const hostUrlObj = new URL(hostUrl); // 用于在下面判断host export const route: Route = { path: '/moa/:suburl{.+}', - radar: { - source: ['moa.gov.cn/'], - target: '/moa/:suburl', - }, + radar: [ + { + source: ['moa.gov.cn/'], + target: '/moa/:suburl', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/gov/moe/s78.ts b/lib/routes/gov/moe/s78.ts index a08895795..e575d2edc 100644 --- a/lib/routes/gov/moe/s78.ts +++ b/lib/routes/gov/moe/s78.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['moe.gov.cn/s78/:column/tongzhi', 'moe.gov.cn/s78/:column'], - }, + radar: [ + { + source: ['moe.gov.cn/s78/:column/tongzhi', 'moe.gov.cn/s78/:column'], + }, + ], name: '司局通知', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/gov/moj/lfyjzj.ts b/lib/routes/gov/moj/lfyjzj.ts index c2fef4cf0..1f5a909a1 100644 --- a/lib/routes/gov/moj/lfyjzj.ts +++ b/lib/routes/gov/moj/lfyjzj.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.moj.gov.cn/lfyjzj/lflfyjzj/*', 'www.moj.gov.cn/pub/sfbgw/lfyjzj/lflfyjzj/*'], - }, + radar: [ + { + source: ['www.moj.gov.cn/lfyjzj/lflfyjzj/*', 'www.moj.gov.cn/pub/sfbgw/lfyjzj/lflfyjzj/*'], + }, + ], name: '立法意见征集', maintainers: ['la3rence'], handler, diff --git a/lib/routes/gov/nea/ghs.ts b/lib/routes/gov/nea/ghs.ts index 5bd725d55..0842f1270 100644 --- a/lib/routes/gov/nea/ghs.ts +++ b/lib/routes/gov/nea/ghs.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['nea.gov.cn/sjzz/ghs/'], - }, + radar: [ + { + source: ['nea.gov.cn/sjzz/ghs/'], + }, + ], name: '发展规划司', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/gov/npc/index.ts b/lib/routes/gov/npc/index.ts index 8fa003e17..39a44be7a 100644 --- a/lib/routes/gov/npc/index.ts +++ b/lib/routes/gov/npc/index.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['npc.gov.cn/npc/c2/:caty'], - }, + radar: [ + { + source: ['npc.gov.cn/npc/c2/:caty'], + }, + ], name: '通用', maintainers: ['233yeee'], handler, diff --git a/lib/routes/gov/pbc/goutongjiaoliu.ts b/lib/routes/gov/pbc/goutongjiaoliu.ts index 49223e9bf..04b906c23 100644 --- a/lib/routes/gov/pbc/goutongjiaoliu.ts +++ b/lib/routes/gov/pbc/goutongjiaoliu.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['pbc.gov.cn/goutongjiaoliu/113456/113469/index.html'], - }, + radar: [ + { + source: ['pbc.gov.cn/goutongjiaoliu/113456/113469/index.html'], + }, + ], name: '沟通交流', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/gov/pbc/gzlw.ts b/lib/routes/gov/pbc/gzlw.ts index 081dcdad9..c750d8bdc 100644 --- a/lib/routes/gov/pbc/gzlw.ts +++ b/lib/routes/gov/pbc/gzlw.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['pbc.gov.cn/redianzhuanti/118742/4122386/4122692/index.html'], - }, + radar: [ + { + source: ['pbc.gov.cn/redianzhuanti/118742/4122386/4122692/index.html'], + }, + ], name: '工作论文', maintainers: ['Fatpandac'], handler, diff --git a/lib/routes/gov/pbc/zcyj.ts b/lib/routes/gov/pbc/zcyj.ts index 3ebff64c9..a92a46e55 100644 --- a/lib/routes/gov/pbc/zcyj.ts +++ b/lib/routes/gov/pbc/zcyj.ts @@ -9,9 +9,11 @@ const host = 'http://www.pbc.gov.cn'; export const route: Route = { path: '/pbc/zcyj', - radar: { - source: ['pbc.gov.cn/redianzhuanti/118742/4122386/4122510/index.html'], - }, + radar: [ + { + source: ['pbc.gov.cn/redianzhuanti/118742/4122386/4122510/index.html'], + }, + ], name: 'Unknown', maintainers: ['Fatpandac'], handler, diff --git a/lib/routes/gov/samr/xgzlyhd.ts b/lib/routes/gov/samr/xgzlyhd.ts index ea5bbba04..4474b2ca3 100644 --- a/lib/routes/gov/samr/xgzlyhd.ts +++ b/lib/routes/gov/samr/xgzlyhd.ts @@ -51,9 +51,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['xgzlyhd.samr.gov.cn/gjjly/index'], - }, + radar: [ + { + source: ['xgzlyhd.samr.gov.cn/gjjly/index'], + }, + ], name: '留言咨询', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/gov/shanghai/rsj/ksxm.ts b/lib/routes/gov/shanghai/rsj/ksxm.ts index 85b370922..11cde4c43 100644 --- a/lib/routes/gov/shanghai/rsj/ksxm.ts +++ b/lib/routes/gov/shanghai/rsj/ksxm.ts @@ -23,9 +23,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['rsj.sh.gov.cn/'], - }, + radar: [ + { + source: ['rsj.sh.gov.cn/'], + }, + ], name: '上海市职业能力考试院 考试项目', maintainers: ['Fatpandac'], handler, diff --git a/lib/routes/gov/shanghai/wgj/wgj.ts b/lib/routes/gov/shanghai/wgj/wgj.ts index 0207b7dcb..88640528f 100644 --- a/lib/routes/gov/shanghai/wgj/wgj.ts +++ b/lib/routes/gov/shanghai/wgj/wgj.ts @@ -22,10 +22,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['wsbs.wgj.sh.gov.cn/'], - target: '/shanghai/wgj', - }, + radar: [ + { + source: ['wsbs.wgj.sh.gov.cn/'], + target: '/shanghai/wgj', + }, + ], name: '上海市文旅局审批公告', maintainers: ['gideonsenku'], handler, diff --git a/lib/routes/gov/shanghai/wsjkw/yqtb/index.ts b/lib/routes/gov/shanghai/wsjkw/yqtb/index.ts index 8128f560f..cd97daaa4 100644 --- a/lib/routes/gov/shanghai/wsjkw/yqtb/index.ts +++ b/lib/routes/gov/shanghai/wsjkw/yqtb/index.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['wsjkw.sh.gov.cn/'], - }, + radar: [ + { + source: ['wsjkw.sh.gov.cn/'], + }, + ], name: '上海卫健委 疫情通报', maintainers: ['zcf0508'], handler, diff --git a/lib/routes/gov/shenzhen/hrss/szksy/index.ts b/lib/routes/gov/shenzhen/hrss/szksy/index.ts index f94064baa..0a9858559 100644 --- a/lib/routes/gov/shenzhen/hrss/szksy/index.ts +++ b/lib/routes/gov/shenzhen/hrss/szksy/index.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['xxgk.sz.gov.cn/cn/xxgk/zfxxgj/:caty'], - }, + radar: [ + { + source: ['xxgk.sz.gov.cn/cn/xxgk/zfxxgj/:caty'], + }, + ], name: '深圳市考试院', maintainers: ['zlasd'], handler, diff --git a/lib/routes/gov/shenzhen/zjj/index.ts b/lib/routes/gov/shenzhen/zjj/index.ts index 717884b14..0674eef01 100644 --- a/lib/routes/gov/shenzhen/zjj/index.ts +++ b/lib/routes/gov/shenzhen/zjj/index.ts @@ -24,9 +24,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['zjj.sz.gov.cn/xxgk/:caty'], - }, + radar: [ + { + source: ['zjj.sz.gov.cn/xxgk/:caty'], + }, + ], name: '深圳市住房和建设局', maintainers: ['lonn'], handler, diff --git a/lib/routes/gov/shenzhen/zzb/index.ts b/lib/routes/gov/shenzhen/zzb/index.ts index 969aa7afa..21df8a1cc 100644 --- a/lib/routes/gov/shenzhen/zzb/index.ts +++ b/lib/routes/gov/shenzhen/zzb/index.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['zzb.sz.gov.cn/*'], - }, + radar: [ + { + source: ['zzb.sz.gov.cn/*'], + }, + ], name: '深圳市委组织部', maintainers: ['zlasd'], handler, diff --git a/lib/routes/gov/sichuan/deyang/mztoday.ts b/lib/routes/gov/sichuan/deyang/mztoday.ts index c667102e2..a3ee825fd 100644 --- a/lib/routes/gov/sichuan/deyang/mztoday.ts +++ b/lib/routes/gov/sichuan/deyang/mztoday.ts @@ -133,10 +133,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.mztoday.gov.cn/*'], - target: '/sichuan/deyang/mztoday', - }, + radar: [ + { + source: ['www.mztoday.gov.cn/*'], + target: '/sichuan/deyang/mztoday', + }, + ], name: '今日绵竹', maintainers: ['zytomorrow'], handler, diff --git a/lib/routes/gov/suzhou/doc.ts b/lib/routes/gov/suzhou/doc.ts index 528a1b1cc..13966d233 100644 --- a/lib/routes/gov/suzhou/doc.ts +++ b/lib/routes/gov/suzhou/doc.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.suzhou.gov.cn/szxxgk/front/xxgk_right.jsp', 'www.suzhou.gov.cn/'], - }, + radar: [ + { + source: ['www.suzhou.gov.cn/szxxgk/front/xxgk_right.jsp', 'www.suzhou.gov.cn/'], + }, + ], name: '政府信息公开文件', maintainers: ['EsuRt'], handler, diff --git a/lib/routes/gov/suzhou/news.ts b/lib/routes/gov/suzhou/news.ts index d25120daa..b69de4777 100644 --- a/lib/routes/gov/suzhou/news.ts +++ b/lib/routes/gov/suzhou/news.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.suzhou.gov.cn/szsrmzf/:uid/nav_list.shtml'], - }, + radar: [ + { + source: ['www.suzhou.gov.cn/szsrmzf/:uid/nav_list.shtml'], + }, + ], name: '政府新闻', maintainers: ['EsuRt', 'luyuhuang'], handler, diff --git a/lib/routes/gov/taiyuan/rsj.ts b/lib/routes/gov/taiyuan/rsj.ts index d74b86f7c..413ca0172 100644 --- a/lib/routes/gov/taiyuan/rsj.ts +++ b/lib/routes/gov/taiyuan/rsj.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['rsj.taiyuan.gov.cn/*'], - }, + radar: [ + { + source: ['rsj.taiyuan.gov.cn/*'], + }, + ], name: '太原市人力资源和社会保障局政府公开信息', maintainers: ['2PoL'], handler, diff --git a/lib/routes/gov/wuhan/whyw.ts b/lib/routes/gov/wuhan/whyw.ts index d80588425..b0b0330ee 100644 --- a/lib/routes/gov/wuhan/whyw.ts +++ b/lib/routes/gov/wuhan/whyw.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['wuhan.gov.cn/sy/whyw/', 'wuhan.gov.cn/whyw', 'wuhan.gov.cn/'], - }, + radar: [ + { + source: ['wuhan.gov.cn/sy/whyw/', 'wuhan.gov.cn/whyw', 'wuhan.gov.cn/'], + }, + ], name: '武汉要闻', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/gov/zhejiang/gwy.ts b/lib/routes/gov/zhejiang/gwy.ts index 85474e670..e7480327a 100644 --- a/lib/routes/gov/zhejiang/gwy.ts +++ b/lib/routes/gov/zhejiang/gwy.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['zjks.gov.cn/zjgwy/website/init.htm', 'zjks.gov.cn/zjgwy/website/queryDetail.htm', 'zjks.gov.cn/zjgwy/website/queryMore.htm'], - target: '/zhejiang/gwy', - }, + radar: [ + { + source: ['zjks.gov.cn/zjgwy/website/init.htm', 'zjks.gov.cn/zjgwy/website/queryDetail.htm', 'zjks.gov.cn/zjgwy/website/queryMore.htm'], + target: '/zhejiang/gwy', + }, + ], name: '通知', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/gov/zhengce/govall.ts b/lib/routes/gov/zhengce/govall.ts index b52bdc089..77e9a6ed4 100644 --- a/lib/routes/gov/zhengce/govall.ts +++ b/lib/routes/gov/zhengce/govall.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.gov.cn/'], - target: '/zhengce/govall', - }, + radar: [ + { + source: ['www.gov.cn/'], + target: '/zhengce/govall', + }, + ], name: '信息稿件', maintainers: ['ciaranchen'], handler, diff --git a/lib/routes/gov/zhengce/index.ts b/lib/routes/gov/zhengce/index.ts index f65b311d4..a1e45ef7a 100644 --- a/lib/routes/gov/zhengce/index.ts +++ b/lib/routes/gov/zhengce/index.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.gov.cn/zhengce/zuixin.htm', 'www.gov.cn/'], - }, + radar: [ + { + source: ['www.gov.cn/zhengce/zuixin.htm', 'www.gov.cn/'], + }, + ], name: '最新政策', maintainers: ['SettingDust', 'nczitzk'], handler, diff --git a/lib/routes/gov/zhengce/wenjian.ts b/lib/routes/gov/zhengce/wenjian.ts index 635b9241a..29b407d1c 100644 --- a/lib/routes/gov/zhengce/wenjian.ts +++ b/lib/routes/gov/zhengce/wenjian.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.gov.cn/'], - target: '/zhengce/wenjian', - }, + radar: [ + { + source: ['www.gov.cn/'], + target: '/zhengce/wenjian', + }, + ], name: '最新文件', maintainers: ['ciaranchen'], handler, diff --git a/lib/routes/greasyfork/feedback.ts b/lib/routes/greasyfork/feedback.ts index 592970e68..22fcf5dab 100644 --- a/lib/routes/greasyfork/feedback.ts +++ b/lib/routes/greasyfork/feedback.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['greasyfork.org/:language/scripts/:script/feedback'], - }, + radar: [ + { + source: ['greasyfork.org/:language/scripts/:script/feedback'], + }, + ], name: 'Script Feedback', maintainers: ['miles170'], handler, diff --git a/lib/routes/greasyfork/scripts.ts b/lib/routes/greasyfork/scripts.ts index 4bc7e9efc..48447e2af 100644 --- a/lib/routes/greasyfork/scripts.ts +++ b/lib/routes/greasyfork/scripts.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['greasyfork.org/:language', 'greasyfork.org/:language/scripts/by-site/:domain?'], - }, + radar: [ + { + source: ['greasyfork.org/:language', 'greasyfork.org/:language/scripts/by-site/:domain?'], + }, + ], name: 'Script Update', maintainers: ['imlonghao', 'miles170'], handler, diff --git a/lib/routes/greasyfork/versions.ts b/lib/routes/greasyfork/versions.ts index 7b8d8bdb7..6384ad4b4 100644 --- a/lib/routes/greasyfork/versions.ts +++ b/lib/routes/greasyfork/versions.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['greasyfork.org/:language/scripts/:script/versions'], - }, + radar: [ + { + source: ['greasyfork.org/:language/scripts/:script/versions'], + }, + ], name: 'Script Version History', maintainers: ['miles170'], handler, diff --git a/lib/routes/grist/featured.ts b/lib/routes/grist/featured.ts index 854bcc114..dcc6f306e 100644 --- a/lib/routes/grist/featured.ts +++ b/lib/routes/grist/featured.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['grist.org/'], - }, + radar: [ + { + source: ['grist.org/'], + }, + ], name: 'Featured', maintainers: ['Rjnishant530'], handler, diff --git a/lib/routes/grist/index.ts b/lib/routes/grist/index.ts index 3ea4e64cf..f7e92bc65 100644 --- a/lib/routes/grist/index.ts +++ b/lib/routes/grist/index.ts @@ -3,9 +3,11 @@ import { getData, getList } from './utils'; export const route: Route = { path: '/', - radar: { - source: ['grist.org/articles/'], - }, + radar: [ + { + source: ['grist.org/articles/'], + }, + ], name: 'Unknown', maintainers: ['Rjnishant530'], handler, diff --git a/lib/routes/grist/series.ts b/lib/routes/grist/series.ts index cb918e85f..0425502e0 100644 --- a/lib/routes/grist/series.ts +++ b/lib/routes/grist/series.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['grist.org/series/:series'], - }, + radar: [ + { + source: ['grist.org/series/:series'], + }, + ], name: 'Series', maintainers: ['Rjnishant530'], handler, diff --git a/lib/routes/grist/topic.ts b/lib/routes/grist/topic.ts index 63379b955..bc073aeb0 100644 --- a/lib/routes/grist/topic.ts +++ b/lib/routes/grist/topic.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['grist.org/:topic'], - }, + radar: [ + { + source: ['grist.org/:topic'], + }, + ], name: 'Topic', maintainers: ['Rjnishant530'], handler, diff --git a/lib/routes/grubstreet/index.ts b/lib/routes/grubstreet/index.ts index f6f3b38f8..77212aa0d 100644 --- a/lib/routes/grubstreet/index.ts +++ b/lib/routes/grubstreet/index.ts @@ -3,10 +3,12 @@ import utils from './utils'; export const route: Route = { path: '/', - radar: { - source: ['grubstreet.com/'], - target: '', - }, + radar: [ + { + source: ['grubstreet.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['loganrockmore'], handler, diff --git a/lib/routes/guancha/headline.ts b/lib/routes/guancha/headline.ts index 727b97b88..3e09b2615 100644 --- a/lib/routes/guancha/headline.ts +++ b/lib/routes/guancha/headline.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['guancha.cn/GuanChaZheTouTiao', 'guancha.cn/'], - }, + radar: [ + { + source: ['guancha.cn/GuanChaZheTouTiao', 'guancha.cn/'], + }, + ], name: '头条', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/guancha/index.ts b/lib/routes/guancha/index.ts index 196a3ea7c..af7b271e1 100644 --- a/lib/routes/guancha/index.ts +++ b/lib/routes/guancha/index.ts @@ -48,9 +48,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['guancha.cn/'], - }, + radar: [ + { + source: ['guancha.cn/'], + }, + ], name: '首页', maintainers: ['nczitzk', 'Jeason0228'], handler, diff --git a/lib/routes/guancha/member.ts b/lib/routes/guancha/member.ts index 0b03c3299..1f8802152 100644 --- a/lib/routes/guancha/member.ts +++ b/lib/routes/guancha/member.ts @@ -23,10 +23,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['guancha.cn/'], - target: '/:category?', - }, + radar: [ + { + source: ['guancha.cn/'], + target: '/:category?', + }, + ], name: '观学院', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/guancha/topic.ts b/lib/routes/guancha/topic.ts index 5ac649c93..11febb325 100644 --- a/lib/routes/guancha/topic.ts +++ b/lib/routes/guancha/topic.ts @@ -6,10 +6,12 @@ import { parseRelativeDate } from '@/utils/parse-date'; export const route: Route = { path: '/topic/:id/:order?', - radar: { - source: ['guancha.cn/'], - target: '/:category?', - }, + radar: [ + { + source: ['guancha.cn/'], + target: '/:category?', + }, + ], name: 'Unknown', maintainers: ['occupy5', 'nczitzk'], handler, diff --git a/lib/routes/guangdiu/rank.ts b/lib/routes/guangdiu/rank.ts index 8fb9ea622..096d99b7e 100644 --- a/lib/routes/guangdiu/rank.ts +++ b/lib/routes/guangdiu/rank.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['guangdiu.com/rank'], - }, + radar: [ + { + source: ['guangdiu.com/rank'], + }, + ], name: '一小时风云榜', maintainers: ['fatpandac'], handler, diff --git a/lib/routes/guanhai/index.ts b/lib/routes/guanhai/index.ts index 0232e4974..220dbe8de 100644 --- a/lib/routes/guanhai/index.ts +++ b/lib/routes/guanhai/index.ts @@ -7,10 +7,12 @@ import timezone from '@/utils/timezone'; export const route: Route = { path: '/', - radar: { - source: ['guanhai.com.cn/'], - target: '', - }, + radar: [ + { + source: ['guanhai.com.cn/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/guduodata/daily.ts b/lib/routes/guduodata/daily.ts index 60014f0fd..326aee2d3 100644 --- a/lib/routes/guduodata/daily.ts +++ b/lib/routes/guduodata/daily.ts @@ -44,9 +44,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['data.guduodata.com/'], - }, + radar: [ + { + source: ['data.guduodata.com/'], + }, + ], name: '日榜', maintainers: ['Gem1ni'], handler, diff --git a/lib/routes/guokr/channel.ts b/lib/routes/guokr/channel.ts index 0884e35d4..560308a1c 100644 --- a/lib/routes/guokr/channel.ts +++ b/lib/routes/guokr/channel.ts @@ -31,9 +31,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['guokr.com/'], - }, + radar: [ + { + source: ['guokr.com/'], + }, + ], name: '果壳网专栏', maintainers: ['DHPO', 'hoilc'], handler, diff --git a/lib/routes/guokr/scientific.ts b/lib/routes/guokr/scientific.ts index f76da8c25..bafe9a68a 100644 --- a/lib/routes/guokr/scientific.ts +++ b/lib/routes/guokr/scientific.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['guokr.com/scientific', 'guokr.com/'], - }, + radar: [ + { + source: ['guokr.com/scientific', 'guokr.com/'], + }, + ], name: '科学人', maintainers: ['alphardex', 'nczitzk'], handler, diff --git a/lib/routes/gxmzu/ai.ts b/lib/routes/gxmzu/ai.ts index f3bd4d26f..b5f5157d8 100644 --- a/lib/routes/gxmzu/ai.ts +++ b/lib/routes/gxmzu/ai.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ai.gxmzu.edu.cn/index/tzgg.htm', 'ai.gxmzu.edu.cn/'], - }, + radar: [ + { + source: ['ai.gxmzu.edu.cn/index/tzgg.htm', 'ai.gxmzu.edu.cn/'], + }, + ], name: '人工智能学院通知公告', maintainers: ['real-jiakai'], handler, diff --git a/lib/routes/gxmzu/lib.ts b/lib/routes/gxmzu/lib.ts index 25ae96776..7b1831b8e 100644 --- a/lib/routes/gxmzu/lib.ts +++ b/lib/routes/gxmzu/lib.ts @@ -27,9 +27,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['library.gxmzu.edu.cn/news/news_list.jsp', 'library.gxmzu.edu.cn/'], - }, + radar: [ + { + source: ['library.gxmzu.edu.cn/news/news_list.jsp', 'library.gxmzu.edu.cn/'], + }, + ], name: '图书馆最新消息', maintainers: ['real-jiakai'], handler, diff --git a/lib/routes/gxmzu/yjs.ts b/lib/routes/gxmzu/yjs.ts index 4ba55582d..7e898a8b1 100644 --- a/lib/routes/gxmzu/yjs.ts +++ b/lib/routes/gxmzu/yjs.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yjs.gxmzu.edu.cn/tzgg/zsgg.htm', 'yjs.gxmzu.edu.cn/'], - }, + radar: [ + { + source: ['yjs.gxmzu.edu.cn/tzgg/zsgg.htm', 'yjs.gxmzu.edu.cn/'], + }, + ], name: '研究生院招生公告', maintainers: ['real-jiakai'], handler, diff --git a/lib/routes/gzhu/yjs.ts b/lib/routes/gzhu/yjs.ts index a3a873d1e..957087195 100644 --- a/lib/routes/gzhu/yjs.ts +++ b/lib/routes/gzhu/yjs.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yjsy.gzhu.edu.cn/zsxx/zsdt/zsdt.htm', 'yjsy.gzhu.edu.cn/'], - }, + radar: [ + { + source: ['yjsy.gzhu.edu.cn/zsxx/zsdt/zsdt.htm', 'yjsy.gzhu.edu.cn/'], + }, + ], name: '研究生院招生动态', maintainers: ['shengmaosu'], handler, diff --git a/lib/routes/hackernews/index.ts b/lib/routes/hackernews/index.ts index ef6f25ef9..21b8e8b52 100644 --- a/lib/routes/hackernews/index.ts +++ b/lib/routes/hackernews/index.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ycombinator.com/:section', 'ycombinator.com/'], - }, + radar: [ + { + source: ['ycombinator.com/:section', 'ycombinator.com/'], + }, + ], name: '用户', maintainers: ['nczitzk', 'xie-dongping'], handler, diff --git a/lib/routes/hackertalk/index.ts b/lib/routes/hackertalk/index.ts index 7f9cf32bd..99b8e4895 100644 --- a/lib/routes/hackertalk/index.ts +++ b/lib/routes/hackertalk/index.ts @@ -6,10 +6,12 @@ const md = MarkdownIt(); export const route: Route = { path: '/', - radar: { - source: ['hackertalk.net/'], - target: '', - }, + radar: [ + { + source: ['hackertalk.net/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['hyoban'], handler, diff --git a/lib/routes/hacking8/index.ts b/lib/routes/hacking8/index.ts index f572f9705..18b97b197 100644 --- a/lib/routes/hacking8/index.ts +++ b/lib/routes/hacking8/index.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['hacking8.com/index/:category', 'hacking8.com/'], - }, + radar: [ + { + source: ['hacking8.com/index/:category', 'hacking8.com/'], + }, + ], name: '信息流', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/hacking8/search.ts b/lib/routes/hacking8/search.ts index 48f7282a6..1cd2fc6a9 100644 --- a/lib/routes/hacking8/search.ts +++ b/lib/routes/hacking8/search.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['hacking8.com/index/:category', 'hacking8.com/'], - target: '/:category?', - }, + radar: [ + { + source: ['hacking8.com/index/:category', 'hacking8.com/'], + target: '/:category?', + }, + ], name: '搜索', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/hackyournews/index.ts b/lib/routes/hackyournews/index.ts index c85495de9..8096a76c8 100644 --- a/lib/routes/hackyournews/index.ts +++ b/lib/routes/hackyournews/index.ts @@ -6,10 +6,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/', - radar: { - source: ['hackyournews.com/'], - target: '', - }, + radar: [ + { + source: ['hackyournews.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['ftiasch'], handler, diff --git a/lib/routes/hakkatv/type.ts b/lib/routes/hakkatv/type.ts index 096c60bc7..0309c64d9 100644 --- a/lib/routes/hakkatv/type.ts +++ b/lib/routes/hakkatv/type.ts @@ -21,10 +21,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['hakkatv.org.tw/news'], - target: '/news', - }, + radar: [ + { + source: ['hakkatv.org.tw/news'], + target: '/news', + }, + ], name: '新聞首頁', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/hameln/chapter.ts b/lib/routes/hameln/chapter.ts index 4c1fa092a..ba040ecba 100644 --- a/lib/routes/hameln/chapter.ts +++ b/lib/routes/hameln/chapter.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['syosetu.org/novel/:id'], - }, + radar: [ + { + source: ['syosetu.org/novel/:id'], + }, + ], name: 'chapter', maintainers: ['huangliangshusheng'], handler, diff --git a/lib/routes/harvard/health/blog.ts b/lib/routes/harvard/health/blog.ts index c75fd9ca2..80b11b5d3 100644 --- a/lib/routes/harvard/health/blog.ts +++ b/lib/routes/harvard/health/blog.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.health.harvard.edu/blog'], - }, + radar: [ + { + source: ['www.health.harvard.edu/blog'], + }, + ], name: 'Health Blog', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/hashnode/blog.ts b/lib/routes/hashnode/blog.ts index aad3748fe..fd7ab51b5 100644 --- a/lib/routes/hashnode/blog.ts +++ b/lib/routes/hashnode/blog.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['hashnode.dev/'], - }, + radar: [ + { + source: ['hashnode.dev/'], + }, + ], name: '用户博客', maintainers: ['hnrainll'], handler, diff --git a/lib/routes/hbooker/chapter.ts b/lib/routes/hbooker/chapter.ts index 66705026e..75b2cb4ae 100644 --- a/lib/routes/hbooker/chapter.ts +++ b/lib/routes/hbooker/chapter.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['hbooker.com/book/:id'], - }, + radar: [ + { + source: ['hbooker.com/book/:id'], + }, + ], name: '章节', maintainers: ['keocheung'], handler, diff --git a/lib/routes/hbr/topic.ts b/lib/routes/hbr/topic.ts index 88168531a..d7bac1912 100644 --- a/lib/routes/hbr/topic.ts +++ b/lib/routes/hbr/topic.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['hbr.org/topic/:topic?', 'hbr.org/'], - }, + radar: [ + { + source: ['hbr.org/topic/:topic?', 'hbr.org/'], + }, + ], name: 'Topic', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/hdu/cs/notice.ts b/lib/routes/hdu/cs/notice.ts index 5706537b6..fd300ce83 100644 --- a/lib/routes/hdu/cs/notice.ts +++ b/lib/routes/hdu/cs/notice.ts @@ -43,9 +43,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['computer.hdu.edu.cn/6738/list.htm'], - }, + radar: [ + { + source: ['computer.hdu.edu.cn/6738/list.htm'], + }, + ], name: '计算机学院 - 通知公告', maintainers: ['legr4ndk'], handler, diff --git a/lib/routes/hdu/cs/pg.ts b/lib/routes/hdu/cs/pg.ts index ee5d064bf..9e2772a17 100644 --- a/lib/routes/hdu/cs/pg.ts +++ b/lib/routes/hdu/cs/pg.ts @@ -43,9 +43,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['computer.hdu.edu.cn/6769/list.htm'], - }, + radar: [ + { + source: ['computer.hdu.edu.cn/6769/list.htm'], + }, + ], name: '计算机学院 - 研究生通知', maintainers: ['legr4ndk'], handler, diff --git a/lib/routes/hebtv/nong-bo-shi-zai-xing-dong.ts b/lib/routes/hebtv/nong-bo-shi-zai-xing-dong.ts index 61e054546..82c9b2418 100644 --- a/lib/routes/hebtv/nong-bo-shi-zai-xing-dong.ts +++ b/lib/routes/hebtv/nong-bo-shi-zai-xing-dong.ts @@ -25,9 +25,11 @@ export const route: Route = { supportPodcast: true, supportScihub: false, }, - radar: { - source: ['web.cmc.hebtv.com/cms/rmt0336/19/19js/st/ds/nmpd/nbszxd/index.shtml'], - }, + radar: [ + { + source: ['web.cmc.hebtv.com/cms/rmt0336/19/19js/st/ds/nmpd/nbszxd/index.shtml'], + }, + ], name: '农博士在行动', maintainers: ['iamqiz', 'nczitzk'], handler, diff --git a/lib/routes/hellobtc/news.ts b/lib/routes/hellobtc/news.ts index e10f38a05..be0b1b68d 100644 --- a/lib/routes/hellobtc/news.ts +++ b/lib/routes/hellobtc/news.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['hellobtc.com/news'], - }, + radar: [ + { + source: ['hellobtc.com/news'], + }, + ], name: '快讯', maintainers: ['Fatpandac'], handler, diff --git a/lib/routes/hex-rays/index.ts b/lib/routes/hex-rays/index.ts index aee963a53..b2dd02723 100644 --- a/lib/routes/hex-rays/index.ts +++ b/lib/routes/hex-rays/index.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['hex-rays.com/', 'hex-rays.com/blog'], - }, + radar: [ + { + source: ['hex-rays.com/', 'hex-rays.com/blog'], + }, + ], name: 'Hex-Rays News', maintainers: ['hellodword ', 'TonyRL'], handler, diff --git a/lib/routes/hicairo/rss.ts b/lib/routes/hicairo/rss.ts index 4fabe500e..26e55b0e6 100644 --- a/lib/routes/hicairo/rss.ts +++ b/lib/routes/hicairo/rss.ts @@ -4,10 +4,12 @@ import { load } from 'cheerio'; export const route: Route = { path: '/', - radar: { - source: ['hicairo.com/'], - target: '', - }, + radar: [ + { + source: ['hicairo.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['cnkmmk'], handler, diff --git a/lib/routes/hinatazaka46/news.ts b/lib/routes/hinatazaka46/news.ts index 22351cbd2..785daaec5 100644 --- a/lib/routes/hinatazaka46/news.ts +++ b/lib/routes/hinatazaka46/news.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['hinatazaka46.com/s/official/news/list', 'hinatazaka46.com/'], - }, + radar: [ + { + source: ['hinatazaka46.com/s/official/news/list', 'hinatazaka46.com/'], + }, + ], name: 'Hinatazaka46 News 日向坂 46 新闻', maintainers: ['crispgm', 'akashigakki'], handler, diff --git a/lib/routes/hit/hitgs.ts b/lib/routes/hit/hitgs.ts index 570b97d40..208923456 100644 --- a/lib/routes/hit/hitgs.ts +++ b/lib/routes/hit/hitgs.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['hitgs.hit.edu.cn/*'], - }, + radar: [ + { + source: ['hitgs.hit.edu.cn/*'], + }, + ], name: '研究生院通知公告', maintainers: ['hlmu'], handler, diff --git a/lib/routes/hit/jwc.ts b/lib/routes/hit/jwc.ts index 9ca226f84..e0f5256dd 100644 --- a/lib/routes/hit/jwc.ts +++ b/lib/routes/hit/jwc.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['jwc.hit.edu.cn/*'], - }, + radar: [ + { + source: ['jwc.hit.edu.cn/*'], + }, + ], name: '教务处通知公告', maintainers: ['lty96117'], handler, diff --git a/lib/routes/hit/today.ts b/lib/routes/hit/today.ts index a3ee6860a..f3544c99a 100644 --- a/lib/routes/hit/today.ts +++ b/lib/routes/hit/today.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['today.hit.edu.cn/category/:category'], - }, + radar: [ + { + source: ['today.hit.edu.cn/category/:category'], + }, + ], name: '今日哈工大', maintainers: ['ranpox'], handler, diff --git a/lib/routes/hitwh/today.ts b/lib/routes/hitwh/today.ts index 03c073eae..3be5f9a05 100644 --- a/lib/routes/hitwh/today.ts +++ b/lib/routes/hitwh/today.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['hitwh.edu.cn/1024/list.htm', 'hitwh.edu.cn/'], - }, + radar: [ + { + source: ['hitwh.edu.cn/1024/list.htm', 'hitwh.edu.cn/'], + }, + ], name: '今日工大 - 通知公告', maintainers: ['raptazure'], handler, diff --git a/lib/routes/hizu/index.ts b/lib/routes/hizu/index.ts index 52255359b..89b682825 100644 --- a/lib/routes/hizu/index.ts +++ b/lib/routes/hizu/index.ts @@ -44,9 +44,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['hizh.cn/'], - }, + radar: [ + { + source: ['hizh.cn/'], + }, + ], name: '栏目', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/hk01/channel.ts b/lib/routes/hk01/channel.ts index dbe98c17e..70b673a2c 100644 --- a/lib/routes/hk01/channel.ts +++ b/lib/routes/hk01/channel.ts @@ -5,9 +5,11 @@ import { rootUrl, apiRootUrl, ProcessItems } from './utils'; export const route: Route = { path: '/channel/:id?', - radar: { - source: ['hk01.com/channel/:id', 'hk01.com/'], - }, + radar: [ + { + source: ['hk01.com/channel/:id', 'hk01.com/'], + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/hk01/hot.ts b/lib/routes/hk01/hot.ts index 88f845a35..c69f67282 100644 --- a/lib/routes/hk01/hot.ts +++ b/lib/routes/hk01/hot.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['hk01.com/hot', 'hk01.com/'], - }, + radar: [ + { + source: ['hk01.com/hot', 'hk01.com/'], + }, + ], name: '热门', maintainers: ['hoilc', 'Fatpandac', 'nczitzk'], handler, diff --git a/lib/routes/hk01/issue.ts b/lib/routes/hk01/issue.ts index f2751bc57..d82db7864 100644 --- a/lib/routes/hk01/issue.ts +++ b/lib/routes/hk01/issue.ts @@ -5,9 +5,11 @@ import { rootUrl, apiRootUrl, ProcessItems } from './utils'; export const route: Route = { path: '/issue/:id?', - radar: { - source: ['hk01.com/issue/:id', 'hk01.com/'], - }, + radar: [ + { + source: ['hk01.com/issue/:id', 'hk01.com/'], + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/hk01/latest.ts b/lib/routes/hk01/latest.ts index 575dcac66..1c8053184 100644 --- a/lib/routes/hk01/latest.ts +++ b/lib/routes/hk01/latest.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['hk01.com/latest', 'hk01.com/'], - }, + radar: [ + { + source: ['hk01.com/latest', 'hk01.com/'], + }, + ], name: '即時', maintainers: ['5upernova-heng'], handler, diff --git a/lib/routes/hk01/tag.ts b/lib/routes/hk01/tag.ts index aa5a6ffe1..57d18f2a7 100644 --- a/lib/routes/hk01/tag.ts +++ b/lib/routes/hk01/tag.ts @@ -5,9 +5,11 @@ import { rootUrl, apiRootUrl, ProcessItems } from './utils'; export const route: Route = { path: '/tag/:id?', - radar: { - source: ['hk01.com/tag/:id', 'hk01.com/'], - }, + radar: [ + { + source: ['hk01.com/tag/:id', 'hk01.com/'], + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/hk01/zone.ts b/lib/routes/hk01/zone.ts index b1843b097..05ef1e891 100644 --- a/lib/routes/hk01/zone.ts +++ b/lib/routes/hk01/zone.ts @@ -5,9 +5,11 @@ import { rootUrl, apiRootUrl, ProcessItems } from './utils'; export const route: Route = { path: '/zone/:id?', - radar: { - source: ['hk01.com/zone/:id', 'hk01.com/'], - }, + radar: [ + { + source: ['hk01.com/zone/:id', 'hk01.com/'], + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/hkej/index.ts b/lib/routes/hkej/index.ts index f7d19610a..86473a8a1 100644 --- a/lib/routes/hkej/index.ts +++ b/lib/routes/hkej/index.ts @@ -71,9 +71,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['hkej.com/'], - }, + radar: [ + { + source: ['hkej.com/'], + }, + ], name: '即时新闻', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/hkepc/index.ts b/lib/routes/hkepc/index.ts index b38881baf..f64bed5c9 100644 --- a/lib/routes/hkepc/index.ts +++ b/lib/routes/hkepc/index.ts @@ -19,10 +19,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['hkepc.com/'], - target: '', - }, + radar: [ + { + source: ['hkepc.com/'], + target: '', + }, + ], name: 'HKEPC 电脑领域', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/hket/index.ts b/lib/routes/hket/index.ts index a6588e01f..3b0222c3b 100644 --- a/lib/routes/hket/index.ts +++ b/lib/routes/hket/index.ts @@ -38,10 +38,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.hket.com/'], - target: '', - }, + radar: [ + { + source: ['www.hket.com/'], + target: '', + }, + ], name: '新闻', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/hkjunkcall/index.ts b/lib/routes/hkjunkcall/index.ts index 9f56aa9db..4b0e320c3 100644 --- a/lib/routes/hkjunkcall/index.ts +++ b/lib/routes/hkjunkcall/index.ts @@ -6,10 +6,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/', - radar: { - source: ['hkjunkcall.com/'], - target: '', - }, + radar: [ + { + source: ['hkjunkcall.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/hnrb/index.ts b/lib/routes/hnrb/index.ts index 0ce9de356..1b4b5b34a 100644 --- a/lib/routes/hnrb/index.ts +++ b/lib/routes/hnrb/index.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['voc.com.cn/'], - target: '/:id', - }, + radar: [ + { + source: ['voc.com.cn/'], + target: '/:id', + }, + ], name: '电子刊物', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/hnu/careers.ts b/lib/routes/hnu/careers.ts index 3f3a8ac52..cd3c9ec64 100644 --- a/lib/routes/hnu/careers.ts +++ b/lib/routes/hnu/careers.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['scc.hnu.edu.cnundefined'], - }, + radar: [ + { + source: ['scc.hnu.edu.cnundefined'], + }, + ], name: '校园招聘', maintainers: ['ningyougan'], handler, diff --git a/lib/routes/hongkong/chp.ts b/lib/routes/hongkong/chp.ts index c7ce4281b..a2d185700 100644 --- a/lib/routes/hongkong/chp.ts +++ b/lib/routes/hongkong/chp.ts @@ -39,9 +39,11 @@ const titles = { export const route: Route = { path: '/chp/:category?/:language?', - radar: { - source: ['dh.gov.hk/'], - }, + radar: [ + { + source: ['dh.gov.hk/'], + }, + ], name: 'Unknown', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/hongkong/dh.ts b/lib/routes/hongkong/dh.ts index 6eee5cf62..a94374b1e 100644 --- a/lib/routes/hongkong/dh.ts +++ b/lib/routes/hongkong/dh.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['dh.gov.hk/'], - }, + radar: [ + { + source: ['dh.gov.hk/'], + }, + ], name: 'Press Release', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/hotukdeals/hottest.ts b/lib/routes/hotukdeals/hottest.ts index aea7f5157..69a6318bf 100644 --- a/lib/routes/hotukdeals/hottest.ts +++ b/lib/routes/hotukdeals/hottest.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.hotukdeals.com/'], - }, + radar: [ + { + source: ['www.hotukdeals.com/'], + }, + ], name: 'hottest', maintainers: ['DIYgod'], handler, diff --git a/lib/routes/houxu/events.ts b/lib/routes/houxu/events.ts index 88070f146..4a63ad97f 100644 --- a/lib/routes/houxu/events.ts +++ b/lib/routes/houxu/events.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['houxu.app/events', 'houxu.app/'], - }, + radar: [ + { + source: ['houxu.app/events', 'houxu.app/'], + }, + ], name: '专栏', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/houxu/index.ts b/lib/routes/houxu/index.ts index a711ec500..00a4331a5 100644 --- a/lib/routes/houxu/index.ts +++ b/lib/routes/houxu/index.ts @@ -9,10 +9,12 @@ import * as path from 'node:path'; export const route: Route = { path: ['/featured', '/index', '/'], - radar: { - source: ['houxu.app/'], - target: '', - }, + radar: [ + { + source: ['houxu.app/'], + target: '', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/houxu/lives.ts b/lib/routes/houxu/lives.ts index 76ca612c1..68fd41c5a 100644 --- a/lib/routes/houxu/lives.ts +++ b/lib/routes/houxu/lives.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['houxu.app/lives/:id', 'houxu.app/'], - }, + radar: [ + { + source: ['houxu.app/lives/:id', 'houxu.app/'], + }, + ], name: 'Live', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/houxu/memory.ts b/lib/routes/houxu/memory.ts index 08977a18f..c45131214 100644 --- a/lib/routes/houxu/memory.ts +++ b/lib/routes/houxu/memory.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['houxu.app/memory', 'houxu.app/'], - }, + radar: [ + { + source: ['houxu.app/memory', 'houxu.app/'], + }, + ], name: '跟踪', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/howtoforge/rss.ts b/lib/routes/howtoforge/rss.ts index 51619b028..f7b9674f6 100644 --- a/lib/routes/howtoforge/rss.ts +++ b/lib/routes/howtoforge/rss.ts @@ -4,10 +4,12 @@ import { load } from 'cheerio'; export const route: Route = { path: '/', - radar: { - source: ['howtoforge.com/'], - target: '', - }, + radar: [ + { + source: ['howtoforge.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['cnkmmk'], handler, diff --git a/lib/routes/hpoi/all.ts b/lib/routes/hpoi/all.ts index 0c7943a47..189adb175 100644 --- a/lib/routes/hpoi/all.ts +++ b/lib/routes/hpoi/all.ts @@ -14,10 +14,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.hpoi.net/hobby/all'], - target: '/items/all', - }, + radar: [ + { + source: ['www.hpoi.net/hobby/all'], + target: '/items/all', + }, + ], name: '所有周边', maintainers: ['DIYgod'], handler, diff --git a/lib/routes/hpoi/banner-item.ts b/lib/routes/hpoi/banner-item.ts index 32f264bd3..e68d9a75d 100644 --- a/lib/routes/hpoi/banner-item.ts +++ b/lib/routes/hpoi/banner-item.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.hpoi.net/bannerItem/list'], - }, + radar: [ + { + source: ['www.hpoi.net/bannerItem/list'], + }, + ], name: '热门推荐', maintainers: ['DIYgod'], handler, diff --git a/lib/routes/hrbeu/job/bigemploy.ts b/lib/routes/hrbeu/job/bigemploy.ts index 37949e36d..ad0a9eacc 100644 --- a/lib/routes/hrbeu/job/bigemploy.ts +++ b/lib/routes/hrbeu/job/bigemploy.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['job.hrbeu.edu.cn/*'], - }, + radar: [ + { + source: ['job.hrbeu.edu.cn/*'], + }, + ], name: 'Unknown', maintainers: ['Derekmini'], handler, diff --git a/lib/routes/hrbeu/job/calendar.ts b/lib/routes/hrbeu/job/calendar.ts index 74a9acee3..783bb24e4 100644 --- a/lib/routes/hrbeu/job/calendar.ts +++ b/lib/routes/hrbeu/job/calendar.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['job.hrbeu.edu.cn/*'], - }, + radar: [ + { + source: ['job.hrbeu.edu.cn/*'], + }, + ], name: '就业服务平台', maintainers: ['Derekmini'], handler, diff --git a/lib/routes/hrbeu/uae/news.ts b/lib/routes/hrbeu/uae/news.ts index 7db0964f6..2d24e65f2 100644 --- a/lib/routes/hrbeu/uae/news.ts +++ b/lib/routes/hrbeu/uae/news.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['uae.hrbeu.edu.cn/:id.htm'], - }, + radar: [ + { + source: ['uae.hrbeu.edu.cn/:id.htm'], + }, + ], name: '水声工程学院', maintainers: [], handler, diff --git a/lib/routes/hrbeu/ugs/news.ts b/lib/routes/hrbeu/ugs/news.ts index ac9356fd6..eb605ae20 100644 --- a/lib/routes/hrbeu/ugs/news.ts +++ b/lib/routes/hrbeu/ugs/news.ts @@ -67,10 +67,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ugs.hrbeu.edu.cn/:author/list.htm'], - target: '/ugs/news/:author', - }, + radar: [ + { + source: ['ugs.hrbeu.edu.cn/:author/list.htm'], + target: '/ugs/news/:author', + }, + ], name: '本科生院工作通知', maintainers: ['XYenon'], handler, diff --git a/lib/routes/hrbeu/yjsy/list.ts b/lib/routes/hrbeu/yjsy/list.ts index f4692e5d2..041103126 100644 --- a/lib/routes/hrbeu/yjsy/list.ts +++ b/lib/routes/hrbeu/yjsy/list.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yjsy.hrbeu.edu.cn/:id/list.htm'], - }, + radar: [ + { + source: ['yjsy.hrbeu.edu.cn/:id/list.htm'], + }, + ], name: '研究生院', maintainers: ['Derekmini'], handler, diff --git a/lib/routes/huanqiu/index.ts b/lib/routes/huanqiu/index.ts index 983acb6c3..8696ecdd4 100644 --- a/lib/routes/huanqiu/index.ts +++ b/lib/routes/huanqiu/index.ts @@ -29,9 +29,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['huanqiu.com/'], - }, + radar: [ + { + source: ['huanqiu.com/'], + }, + ], name: '分类', maintainers: ['yuxinliu-alex'], handler, diff --git a/lib/routes/huggingface/blog-zh.ts b/lib/routes/huggingface/blog-zh.ts index b3e5ade14..732dd4f96 100644 --- a/lib/routes/huggingface/blog-zh.ts +++ b/lib/routes/huggingface/blog-zh.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['huggingface.co/blog/zh', 'huggingface.co/'], - }, + radar: [ + { + source: ['huggingface.co/blog/zh', 'huggingface.co/'], + }, + ], name: '中文博客', maintainers: ['zcf0508'], handler, diff --git a/lib/routes/huggingface/daily-papers.ts b/lib/routes/huggingface/daily-papers.ts index 47066c36b..b98ef19ba 100644 --- a/lib/routes/huggingface/daily-papers.ts +++ b/lib/routes/huggingface/daily-papers.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['huggingface.co/papers', 'huggingface.co/'], - }, + radar: [ + { + source: ['huggingface.co/papers', 'huggingface.co/'], + }, + ], name: 'Daily Papers', maintainers: ['zeyugao'], handler, diff --git a/lib/routes/hunanpea/rsks.ts b/lib/routes/hunanpea/rsks.ts index 2c891d042..d249c6423 100644 --- a/lib/routes/hunanpea/rsks.ts +++ b/lib/routes/hunanpea/rsks.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['rsks.hunanpea.com/Category/:guid/ArticlesByCategory.do'], - }, + radar: [ + { + source: ['rsks.hunanpea.com/Category/:guid/ArticlesByCategory.do'], + }, + ], name: '公告', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/hunau/gfxy/index.ts b/lib/routes/hunau/gfxy/index.ts index 631d0753b..93477785e 100644 --- a/lib/routes/hunau/gfxy/index.ts +++ b/lib/routes/hunau/gfxy/index.ts @@ -14,10 +14,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['xky.hunau.edu.cn/', 'xky.hunau.edu.cntzgg_8472', 'xky.hunau.edu.cn/:category'], - target: '/:category', - }, + radar: [ + { + source: ['xky.hunau.edu.cn/', 'xky.hunau.edu.cntzgg_8472', 'xky.hunau.edu.cn/:category'], + target: '/:category', + }, + ], name: '公共管理与法学学院', maintainers: [], handler, diff --git a/lib/routes/hunau/ied.ts b/lib/routes/hunau/ied.ts index 51b4f9946..676e7779a 100644 --- a/lib/routes/hunau/ied.ts +++ b/lib/routes/hunau/ied.ts @@ -14,10 +14,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['xky.hunau.edu.cn/', 'xky.hunau.edu.cntzgg_8472', 'xky.hunau.edu.cn/:category'], - target: '/:category', - }, + radar: [ + { + source: ['xky.hunau.edu.cn/', 'xky.hunau.edu.cntzgg_8472', 'xky.hunau.edu.cn/:category'], + target: '/:category', + }, + ], name: '国际交流与合作处、国际教育学院、港澳台事务办公室', maintainers: ['lcandy2'], handler, diff --git a/lib/routes/hunau/jwc.ts b/lib/routes/hunau/jwc.ts index 9018eb4ff..939577a7d 100644 --- a/lib/routes/hunau/jwc.ts +++ b/lib/routes/hunau/jwc.ts @@ -14,10 +14,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['xky.hunau.edu.cn/', 'xky.hunau.edu.cntzgg_8472', 'xky.hunau.edu.cn/:category'], - target: '/:category', - }, + radar: [ + { + source: ['xky.hunau.edu.cn/', 'xky.hunau.edu.cntzgg_8472', 'xky.hunau.edu.cn/:category'], + target: '/:category', + }, + ], name: '教务处', maintainers: [], handler, diff --git a/lib/routes/hunau/xky/index.ts b/lib/routes/hunau/xky/index.ts index 75b17e64e..c3b910128 100644 --- a/lib/routes/hunau/xky/index.ts +++ b/lib/routes/hunau/xky/index.ts @@ -14,10 +14,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['xky.hunau.edu.cn/', 'xky.hunau.edu.cntzgg_8472', 'xky.hunau.edu.cn/:category'], - target: '/:category', - }, + radar: [ + { + source: ['xky.hunau.edu.cn/', 'xky.hunau.edu.cntzgg_8472', 'xky.hunau.edu.cn/:category'], + target: '/:category', + }, + ], name: '信息与智能科学学院', maintainers: [], handler, diff --git a/lib/routes/hupu/all.ts b/lib/routes/hupu/all.ts index 44a72e2f8..e01c7a9ae 100644 --- a/lib/routes/hupu/all.ts +++ b/lib/routes/hupu/all.ts @@ -23,10 +23,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['m.hupu.com/:category', 'm.hupu.com/'], - target: '/:category', - }, + radar: [ + { + source: ['m.hupu.com/:category', 'm.hupu.com/'], + target: '/:category', + }, + ], name: '热帖', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/hupu/bbs.ts b/lib/routes/hupu/bbs.ts index a789e8435..9f0eb4ed6 100644 --- a/lib/routes/hupu/bbs.ts +++ b/lib/routes/hupu/bbs.ts @@ -23,10 +23,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['m.hupu.com/:category', 'm.hupu.com/'], - target: '/:category', - }, + radar: [ + { + source: ['m.hupu.com/:category', 'm.hupu.com/'], + target: '/:category', + }, + ], name: '社区', maintainers: ['LogicJake', 'nczitzk'], handler, diff --git a/lib/routes/hupu/index.ts b/lib/routes/hupu/index.ts index eb7370e62..e30b5b0df 100644 --- a/lib/routes/hupu/index.ts +++ b/lib/routes/hupu/index.ts @@ -22,10 +22,12 @@ const categories = { export const route: Route = { path: ['/dept/:category?', '/:category?'], - radar: { - source: ['m.hupu.com/:category', 'm.hupu.com/'], - target: '/:category', - }, + radar: [ + { + source: ['m.hupu.com/:category', 'm.hupu.com/'], + target: '/:category', + }, + ], name: 'Unknown', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/hust/aia/news.ts b/lib/routes/hust/aia/news.ts index 67915aaf0..e3d817ff0 100755 --- a/lib/routes/hust/aia/news.ts +++ b/lib/routes/hust/aia/news.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['aia.hust.edu.cn/xyxw.htm', 'aia.hust.edu.cn/'], - }, + radar: [ + { + source: ['aia.hust.edu.cn/xyxw.htm', 'aia.hust.edu.cn/'], + }, + ], name: '人工智能和自动化学院新闻', maintainers: ['budui'], handler, diff --git a/lib/routes/hust/yjs.ts b/lib/routes/hust/yjs.ts index 36fc3faef..fd05e334b 100644 --- a/lib/routes/hust/yjs.ts +++ b/lib/routes/hust/yjs.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gszs.hust.edu.cn/zsxx/ggtz.htm', 'gszs.hust.edu.cn/'], - }, + radar: [ + { + source: ['gszs.hust.edu.cn/zsxx/ggtz.htm', 'gszs.hust.edu.cn/'], + }, + ], name: '研究生院通知公告', maintainers: ['shengmaosu'], handler, diff --git a/lib/routes/huxiu/channel.ts b/lib/routes/huxiu/channel.ts index 339da9bf9..aed260524 100644 --- a/lib/routes/huxiu/channel.ts +++ b/lib/routes/huxiu/channel.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: true, supportScihub: false, }, - radar: { - source: ['huxiu.com/article'], - }, + radar: [ + { + source: ['huxiu.com/article'], + }, + ], name: '资讯', maintainers: ['HenryQW', 'nczitzk'], handler, diff --git a/lib/routes/huxiu/moment.ts b/lib/routes/huxiu/moment.ts index 77e17e05d..01336d063 100644 --- a/lib/routes/huxiu/moment.ts +++ b/lib/routes/huxiu/moment.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: true, supportScihub: false, }, - radar: { - source: ['huxiu.com/moment'], - }, + radar: [ + { + source: ['huxiu.com/moment'], + }, + ], name: '24 小时', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/huxiu/search.ts b/lib/routes/huxiu/search.ts index 5cfd4bca7..dc7be0514 100644 --- a/lib/routes/huxiu/search.ts +++ b/lib/routes/huxiu/search.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: true, supportScihub: false, }, - radar: { - source: ['huxiu.com/'], - }, + radar: [ + { + source: ['huxiu.com/'], + }, + ], name: '搜索', maintainers: ['xyqfer', 'HenryQW', 'nczitzk'], handler, diff --git a/lib/routes/icac/news.ts b/lib/routes/icac/news.ts index 89dfad70f..68daa5dcd 100644 --- a/lib/routes/icac/news.ts +++ b/lib/routes/icac/news.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['icac.org.hk/:lang/press/index.html'], - target: '/news/:lang', - }, + radar: [ + { + source: ['icac.org.hk/:lang/press/index.html'], + target: '/news/:lang', + }, + ], name: 'Press Releases', maintainers: ['linbuxiao, TonyRL'], handler, diff --git a/lib/routes/icbc/whpj.ts b/lib/routes/icbc/whpj.ts index c6c551d72..ae3f0ef8d 100644 --- a/lib/routes/icbc/whpj.ts +++ b/lib/routes/icbc/whpj.ts @@ -14,10 +14,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['icbc.com.cn/column/1438058341489590354.html'], - target: '/whpj', - }, + radar: [ + { + source: ['icbc.com.cn/column/1438058341489590354.html'], + target: '/whpj', + }, + ], name: '外汇牌价', maintainers: ['leoleoasd'], handler, diff --git a/lib/routes/idolypride/news.ts b/lib/routes/idolypride/news.ts index f26c37d29..2bd302d91 100644 --- a/lib/routes/idolypride/news.ts +++ b/lib/routes/idolypride/news.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['idolypride.jp/news'], - }, + radar: [ + { + source: ['idolypride.jp/news'], + }, + ], name: 'News', maintainers: ['Mingxia1'], handler, diff --git a/lib/routes/ieee-security/sp.ts b/lib/routes/ieee-security/sp.ts index eac291527..7121e6ffe 100644 --- a/lib/routes/ieee-security/sp.ts +++ b/lib/routes/ieee-security/sp.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ieee-security.org/TC/SP-Index.html', 'ieee-security.org/'], - }, + radar: [ + { + source: ['ieee-security.org/TC/SP-Index.html', 'ieee-security.org/'], + }, + ], name: 'IEEE Symposium on Security and Privacy', maintainers: ['ZeddYu'], handler, diff --git a/lib/routes/ielts/index.ts b/lib/routes/ielts/index.ts index 33c08a83c..2d600b8c8 100644 --- a/lib/routes/ielts/index.ts +++ b/lib/routes/ielts/index.ts @@ -10,10 +10,12 @@ import puppeteer from '@/utils/puppeteer'; export const route: Route = { path: '/', - radar: { - source: ['ielts.neea.cn/allnews'], - target: '', - }, + radar: [ + { + source: ['ielts.neea.cn/allnews'], + target: '', + }, + ], name: 'Unknown', maintainers: ['zenxds'], handler, diff --git a/lib/routes/iiilab/index.ts b/lib/routes/iiilab/index.ts index 1a37db775..3de20ca60 100644 --- a/lib/routes/iiilab/index.ts +++ b/lib/routes/iiilab/index.ts @@ -4,10 +4,12 @@ const baseUrl = 'https://www.iiilab.com/'; export const route: Route = { path: '/', - radar: { - source: ['www.iiilab.com/'], - target: '', - }, + radar: [ + { + source: ['www.iiilab.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['Joey'], handler, diff --git a/lib/routes/ikea/cn/family-offers.ts b/lib/routes/ikea/cn/family-offers.ts index 0374885af..af5748a72 100644 --- a/lib/routes/ikea/cn/family-offers.ts +++ b/lib/routes/ikea/cn/family-offers.ts @@ -46,9 +46,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ikea.cn/cn/zh/offers/family-offers', 'ikea.cn/'], - }, + radar: [ + { + source: ['ikea.cn/cn/zh/offers/family-offers', 'ikea.cn/'], + }, + ], name: '中国 - 会员特惠', maintainers: ['jzhangdev'], handler, diff --git a/lib/routes/ikea/cn/low-price.ts b/lib/routes/ikea/cn/low-price.ts index f08e14594..d1c5d1a56 100644 --- a/lib/routes/ikea/cn/low-price.ts +++ b/lib/routes/ikea/cn/low-price.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ikea.cn/cn/zh/campaigns/wo3-men2-de-chao1-zhi2-di1-jia4-pub8b08af40', 'ikea.cn/'], - }, + radar: [ + { + source: ['ikea.cn/cn/zh/campaigns/wo3-men2-de-chao1-zhi2-di1-jia4-pub8b08af40', 'ikea.cn/'], + }, + ], name: '中国 - 低价优选', maintainers: ['jzhangdev'], handler, diff --git a/lib/routes/ikea/cn/new.ts b/lib/routes/ikea/cn/new.ts index 018adf1c9..502882cdc 100644 --- a/lib/routes/ikea/cn/new.ts +++ b/lib/routes/ikea/cn/new.ts @@ -27,9 +27,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ikea.cn/cn/zh/new/', 'ikea.cn/'], - }, + radar: [ + { + source: ['ikea.cn/cn/zh/new/', 'ikea.cn/'], + }, + ], name: '中国 - 当季新品推荐', maintainers: ['jzhangdev'], handler, diff --git a/lib/routes/ikea/gb/new.ts b/lib/routes/ikea/gb/new.ts index f5851a329..ceb818153 100644 --- a/lib/routes/ikea/gb/new.ts +++ b/lib/routes/ikea/gb/new.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ikea.com/gb/en/new/new-products/', 'ikea.com/'], - }, + radar: [ + { + source: ['ikea.com/gb/en/new/new-products/', 'ikea.com/'], + }, + ], name: 'UK - New Product Release', maintainers: ['HenryQW'], handler, diff --git a/lib/routes/ikea/gb/offer.ts b/lib/routes/ikea/gb/offer.ts index 3ad7e3c36..13cc9c80d 100644 --- a/lib/routes/ikea/gb/offer.ts +++ b/lib/routes/ikea/gb/offer.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ikea.com/gb/en/offers', 'ikea.com/'], - }, + radar: [ + { + source: ['ikea.com/gb/en/offers', 'ikea.com/'], + }, + ], name: 'UK - Offers', maintainers: ['HenryQW'], handler, diff --git a/lib/routes/imagemagick/changelog.ts b/lib/routes/imagemagick/changelog.ts index 9e1f7011d..8fc3e219d 100644 --- a/lib/routes/imagemagick/changelog.ts +++ b/lib/routes/imagemagick/changelog.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['imagemagick.org/script/download.php', 'imagemagick.org/script', 'imagemagick.org/'], - }, + radar: [ + { + source: ['imagemagick.org/script/download.php', 'imagemagick.org/script', 'imagemagick.org/'], + }, + ], name: 'Changelog', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/imiker/jinghua.ts b/lib/routes/imiker/jinghua.ts index a75762a50..eacdc87ce 100644 --- a/lib/routes/imiker/jinghua.ts +++ b/lib/routes/imiker/jinghua.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['imiker.com/explore/find'], - }, + radar: [ + { + source: ['imiker.com/explore/find'], + }, + ], name: '米课圈精华', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/indiansinkuwait/latest.ts b/lib/routes/indiansinkuwait/latest.ts index 58500dba3..f4e31a159 100644 --- a/lib/routes/indiansinkuwait/latest.ts +++ b/lib/routes/indiansinkuwait/latest.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['indiansinkuwait.com/latest-news', 'indiansinkuwait.com/'], - }, + radar: [ + { + source: ['indiansinkuwait.com/latest-news', 'indiansinkuwait.com/'], + }, + ], name: 'News', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/indienova/column.ts b/lib/routes/indienova/column.ts index 510297d4e..a0db2355c 100644 --- a/lib/routes/indienova/column.ts +++ b/lib/routes/indienova/column.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['indienova.com/column/:columnId'], - }, + radar: [ + { + source: ['indienova.com/column/:columnId'], + }, + ], name: '专题', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/indienova/usergames.ts b/lib/routes/indienova/usergames.ts index b7025c554..9e998e77a 100644 --- a/lib/routes/indienova/usergames.ts +++ b/lib/routes/indienova/usergames.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['indienova.com/usergames', 'indienova.com/'], - }, + radar: [ + { + source: ['indienova.com/usergames', 'indienova.com/'], + }, + ], name: '会员开发游戏库', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/inewsweek/index.ts b/lib/routes/inewsweek/index.ts index f21c7c681..d2173236a 100644 --- a/lib/routes/inewsweek/index.ts +++ b/lib/routes/inewsweek/index.ts @@ -21,9 +21,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['inewsweek.cn/:channel', 'inewsweek.cn/'], - }, + radar: [ + { + source: ['inewsweek.cn/:channel', 'inewsweek.cn/'], + }, + ], name: '栏目', maintainers: ['changren-wcr'], handler, diff --git a/lib/routes/infoq/recommend.ts b/lib/routes/infoq/recommend.ts index 6c8032658..b2ec6aa30 100644 --- a/lib/routes/infoq/recommend.ts +++ b/lib/routes/infoq/recommend.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['infoq.cn/'], - }, + radar: [ + { + source: ['infoq.cn/'], + }, + ], name: '推荐', maintainers: ['brilon'], handler, diff --git a/lib/routes/infoq/topic.ts b/lib/routes/infoq/topic.ts index 7b21b5a5e..7915b18bd 100644 --- a/lib/routes/infoq/topic.ts +++ b/lib/routes/infoq/topic.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['infoq.cn/topic/:id'], - }, + radar: [ + { + source: ['infoq.cn/topic/:id'], + }, + ], name: '话题', maintainers: ['brilon'], handler, diff --git a/lib/routes/instructables/projects.ts b/lib/routes/instructables/projects.ts index 480723f71..ec1a5af0f 100644 --- a/lib/routes/instructables/projects.ts +++ b/lib/routes/instructables/projects.ts @@ -14,10 +14,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['instructables.com/projects'], - target: '/projects', - }, + radar: [ + { + source: ['instructables.com/projects'], + target: '/projects', + }, + ], name: 'Projects', maintainers: ['wolfg1969'], handler, diff --git a/lib/routes/iqiyi/video.ts b/lib/routes/iqiyi/video.ts index 2d99a7ef8..730281af5 100644 --- a/lib/routes/iqiyi/video.ts +++ b/lib/routes/iqiyi/video.ts @@ -21,9 +21,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['iqiyi.com/u/:uid/*'], - }, + radar: [ + { + source: ['iqiyi.com/u/:uid/*'], + }, + ], name: '用户视频', maintainers: ['talengu', 'JimenezLi'], handler, diff --git a/lib/routes/iqnew/latest.ts b/lib/routes/iqnew/latest.ts index 575f3d942..dff3fb2f7 100644 --- a/lib/routes/iqnew/latest.ts +++ b/lib/routes/iqnew/latest.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['iqnew.com/post/new_100/', 'iqnew.com/'], - }, + radar: [ + { + source: ['iqnew.com/post/new_100/', 'iqnew.com/'], + }, + ], name: '最近更新', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/iresearch/report.ts b/lib/routes/iresearch/report.ts index e8c97aca1..4a81794d8 100644 --- a/lib/routes/iresearch/report.ts +++ b/lib/routes/iresearch/report.ts @@ -45,9 +45,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.iresearch.com.cn/report.shtml'], - }, + radar: [ + { + source: ['www.iresearch.com.cn/report.shtml'], + }, + ], name: '产业研究报告', maintainers: ['brilon', 'Fatpandac'], handler, diff --git a/lib/routes/itch/posts.ts b/lib/routes/itch/posts.ts index 57fc90cd2..f453acbfe 100644 --- a/lib/routes/itch/posts.ts +++ b/lib/routes/itch/posts.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['itch.io/t/:topic/:id'], - }, + radar: [ + { + source: ['itch.io/t/:topic/:id'], + }, + ], name: 'Posts', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/ithome/tag.ts b/lib/routes/ithome/tag.ts index 14c8e732c..ab13c936d 100644 --- a/lib/routes/ithome/tag.ts +++ b/lib/routes/ithome/tag.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ithome.com/tag/:name'], - }, + radar: [ + { + source: ['ithome.com/tag/:name'], + }, + ], name: '标签', maintainers: ['Fatpandac'], handler, diff --git a/lib/routes/ithome/tw/feeds.ts b/lib/routes/ithome/tw/feeds.ts index bfe51946c..0d0f381f1 100644 --- a/lib/routes/ithome/tw/feeds.ts +++ b/lib/routes/ithome/tw/feeds.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.ithome.com.tw/:category', 'www.ithome.com.tw/:category/feeds'], - }, + radar: [ + { + source: ['www.ithome.com.tw/:category', 'www.ithome.com.tw/:category/feeds'], + }, + ], name: 'Feeds', maintainers: ['miles170'], handler, diff --git a/lib/routes/ithome/zt.ts b/lib/routes/ithome/zt.ts index 436fea0e6..a33e5270c 100644 --- a/lib/routes/ithome/zt.ts +++ b/lib/routes/ithome/zt.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ithome.com/zt/:id'], - }, + radar: [ + { + source: ['ithome.com/zt/:id'], + }, + ], name: '专题', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/iwara/subscriptions.ts b/lib/routes/iwara/subscriptions.ts index b2e116550..4bf05913e 100644 --- a/lib/routes/iwara/subscriptions.ts +++ b/lib/routes/iwara/subscriptions.ts @@ -35,9 +35,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ecchi.iwara.tv/'], - }, + radar: [ + { + source: ['ecchi.iwara.tv/'], + }, + ], name: 'User Subscriptions', maintainers: ['FeCCC'], handler, diff --git a/lib/routes/ixigua/user-video.ts b/lib/routes/ixigua/user-video.ts index 8ccbb1b3c..f06bfac62 100644 --- a/lib/routes/ixigua/user-video.ts +++ b/lib/routes/ixigua/user-video.ts @@ -23,10 +23,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ixigua.com/home/:uid'], - target: '/user/video/:uid', - }, + radar: [ + { + source: ['ixigua.com/home/:uid'], + target: '/user/video/:uid', + }, + ], name: '用户视频投稿', maintainers: [], handler, diff --git a/lib/routes/javbus/index.ts b/lib/routes/javbus/index.ts index 49b548a17..3cf880d06 100644 --- a/lib/routes/javbus/index.ts +++ b/lib/routes/javbus/index.ts @@ -20,10 +20,12 @@ const allowDomain = new Set(['javbus.com', 'javbus.org', 'javsee.icu', 'javsee.o export const route: Route = { path: '*', - radar: { - source: ['www.seejav.pw/'], - target: '', - }, + radar: [ + { + source: ['www.seejav.pw/'], + target: '', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/javdb/actors.ts b/lib/routes/javdb/actors.ts index 35aab573b..37d121ac6 100644 --- a/lib/routes/javdb/actors.ts +++ b/lib/routes/javdb/actors.ts @@ -14,10 +14,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['javdb.com/'], - target: '', - }, + radar: [ + { + source: ['javdb.com/'], + target: '', + }, + ], name: '演員', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/javdb/index.ts b/lib/routes/javdb/index.ts index b1aa09c52..67d24d9f7 100644 --- a/lib/routes/javdb/index.ts +++ b/lib/routes/javdb/index.ts @@ -3,10 +3,12 @@ import utils from './utils'; export const route: Route = { path: ['/home/:category?/:sort?/:filter?', '/:category?/:sort?/:filter?'], - radar: { - source: ['javdb.com/'], - target: '', - }, + radar: [ + { + source: ['javdb.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/javdb/lists.ts b/lib/routes/javdb/lists.ts index 0ed4d7425..e5504d815 100644 --- a/lib/routes/javdb/lists.ts +++ b/lib/routes/javdb/lists.ts @@ -3,10 +3,12 @@ import utils from './utils'; export const route: Route = { path: '/lists/:id/:filter?/:sort?', - radar: { - source: ['javdb.com/'], - target: '', - }, + radar: [ + { + source: ['javdb.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['dddepg'], handler, diff --git a/lib/routes/javdb/makers.ts b/lib/routes/javdb/makers.ts index efc5cc2e1..fbb8165b8 100644 --- a/lib/routes/javdb/makers.ts +++ b/lib/routes/javdb/makers.ts @@ -14,10 +14,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['javdb.com/'], - target: '', - }, + radar: [ + { + source: ['javdb.com/'], + target: '', + }, + ], name: '片商', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/javdb/rankings.ts b/lib/routes/javdb/rankings.ts index 06b2986a5..a798d5f82 100644 --- a/lib/routes/javdb/rankings.ts +++ b/lib/routes/javdb/rankings.ts @@ -14,10 +14,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['javdb.com/'], - target: '', - }, + radar: [ + { + source: ['javdb.com/'], + target: '', + }, + ], name: '排行榜', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/javdb/search.ts b/lib/routes/javdb/search.ts index 11f919cc3..fb194ce0a 100644 --- a/lib/routes/javdb/search.ts +++ b/lib/routes/javdb/search.ts @@ -14,10 +14,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['javdb.com/'], - target: '', - }, + radar: [ + { + source: ['javdb.com/'], + target: '', + }, + ], name: '搜索', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/javdb/series.ts b/lib/routes/javdb/series.ts index a4feabeb0..33d8f8676 100644 --- a/lib/routes/javdb/series.ts +++ b/lib/routes/javdb/series.ts @@ -14,10 +14,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['javdb.com/'], - target: '', - }, + radar: [ + { + source: ['javdb.com/'], + target: '', + }, + ], name: '系列', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/javdb/tags.ts b/lib/routes/javdb/tags.ts index 57acab343..e9232f060 100644 --- a/lib/routes/javdb/tags.ts +++ b/lib/routes/javdb/tags.ts @@ -14,10 +14,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['javdb.com/'], - target: '', - }, + radar: [ + { + source: ['javdb.com/'], + target: '', + }, + ], name: '分類', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/jianshu/collection.ts b/lib/routes/jianshu/collection.ts index 469631404..da3481dc3 100644 --- a/lib/routes/jianshu/collection.ts +++ b/lib/routes/jianshu/collection.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.jianshu.com/c/:id'], - }, + radar: [ + { + source: ['www.jianshu.com/c/:id'], + }, + ], name: '专题', maintainers: ['DIYgod', 'HenryQW', 'JimenezLi'], handler, diff --git a/lib/routes/jianshu/home.ts b/lib/routes/jianshu/home.ts index 04e4d34d3..ca8ba4cf5 100644 --- a/lib/routes/jianshu/home.ts +++ b/lib/routes/jianshu/home.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.jianshu.com/'], - }, + radar: [ + { + source: ['www.jianshu.com/'], + }, + ], name: '首页', maintainers: ['DIYgod', 'HenryQW', 'JimenezLi'], handler, diff --git a/lib/routes/jianshu/user.ts b/lib/routes/jianshu/user.ts index 17a81911d..0dd95a511 100644 --- a/lib/routes/jianshu/user.ts +++ b/lib/routes/jianshu/user.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.jianshu.com/u/:id'], - }, + radar: [ + { + source: ['www.jianshu.com/u/:id'], + }, + ], name: '作者', maintainers: ['DIYgod', 'HenryQW', 'JimenezLi'], handler, diff --git a/lib/routes/jiaoliudao/index.ts b/lib/routes/jiaoliudao/index.ts index b3fa91d17..25495d07f 100644 --- a/lib/routes/jiaoliudao/index.ts +++ b/lib/routes/jiaoliudao/index.ts @@ -4,10 +4,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/', - radar: { - source: ['jiaoliudao.com/'], - target: '', - }, + radar: [ + { + source: ['jiaoliudao.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/jike/topic-text.ts b/lib/routes/jike/topic-text.ts index 40078d759..10300f218 100644 --- a/lib/routes/jike/topic-text.ts +++ b/lib/routes/jike/topic-text.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['web.okjike.com/topic/:id'], - }, + radar: [ + { + source: ['web.okjike.com/topic/:id'], + }, + ], name: '圈子 - 纯文字', maintainers: ['HenryQW'], handler, diff --git a/lib/routes/jike/topic.ts b/lib/routes/jike/topic.ts index 170828340..d1b84bd0b 100644 --- a/lib/routes/jike/topic.ts +++ b/lib/routes/jike/topic.ts @@ -20,10 +20,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['web.okjike.com/topic/:id'], - target: '/topic/:id', - }, + radar: [ + { + source: ['web.okjike.com/topic/:id'], + target: '/topic/:id', + }, + ], name: '圈子', maintainers: ['DIYgod', 'prnake'], handler, diff --git a/lib/routes/jike/user.ts b/lib/routes/jike/user.ts index f756bf9ab..42441a9ac 100644 --- a/lib/routes/jike/user.ts +++ b/lib/routes/jike/user.ts @@ -16,10 +16,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['web.okjike.com/u/:uid'], - target: '/user/:uid', - }, + radar: [ + { + source: ['web.okjike.com/u/:uid'], + target: '/user/:uid', + }, + ], name: '用户动态', maintainers: ['DIYgod', 'prnake'], handler, diff --git a/lib/routes/jin10/index.ts b/lib/routes/jin10/index.ts index 57825d0cc..699bd4c16 100644 --- a/lib/routes/jin10/index.ts +++ b/lib/routes/jin10/index.ts @@ -23,10 +23,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['jin10.com/'], - target: '', - }, + radar: [ + { + source: ['jin10.com/'], + target: '', + }, + ], name: '市场快讯', maintainers: ['laampui'], handler, diff --git a/lib/routes/jin10/topic.ts b/lib/routes/jin10/topic.ts index 282f0549e..8d69d9744 100644 --- a/lib/routes/jin10/topic.ts +++ b/lib/routes/jin10/topic.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['xnews.jin10.com/topic/:id'], - }, + radar: [ + { + source: ['xnews.jin10.com/topic/:id'], + }, + ], name: '主题文章', maintainers: ['miles170'], handler, diff --git a/lib/routes/jisilu/index.ts b/lib/routes/jisilu/index.ts index 0d5e51baa..5c0efdf42 100644 --- a/lib/routes/jisilu/index.ts +++ b/lib/routes/jisilu/index.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['jisilu.cn/home/explore', 'jisilu.cn/explore', 'jisilu.cn/'], - }, + radar: [ + { + source: ['jisilu.cn/home/explore', 'jisilu.cn/explore', 'jisilu.cn/'], + }, + ], name: '广场', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/jou/home.ts b/lib/routes/jou/home.ts index f68d139a9..599b87f66 100644 --- a/lib/routes/jou/home.ts +++ b/lib/routes/jou/home.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.jou.edu.cn/index/tzgg.htm', 'www.jou.edu.cn/'], - }, + radar: [ + { + source: ['www.jou.edu.cn/index/tzgg.htm', 'www.jou.edu.cn/'], + }, + ], name: '官网通知公告', maintainers: ['real-jiakai'], handler, diff --git a/lib/routes/jou/yz.ts b/lib/routes/jou/yz.ts index 70a0e2b02..eb2eeb11d 100644 --- a/lib/routes/jou/yz.ts +++ b/lib/routes/jou/yz.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yz.jou.edu.cn/index/zxgg.htm', 'yz.jou.edu.cn/'], - }, + radar: [ + { + source: ['yz.jou.edu.cn/index/zxgg.htm', 'yz.jou.edu.cn/'], + }, + ], name: '研招网通知公告', maintainers: ['real-jiakai'], handler, diff --git a/lib/routes/jseea/news.ts b/lib/routes/jseea/news.ts index dc3adf178..3df23bcba 100644 --- a/lib/routes/jseea/news.ts +++ b/lib/routes/jseea/news.ts @@ -25,10 +25,12 @@ async function loadContent(link) { export const route: Route = { path: '/news/:type?', - radar: { - source: ['jseea.cn/webfile/news/:type'], - target: '/news/:type', - }, + radar: [ + { + source: ['jseea.cn/webfile/news/:type'], + target: '/news/:type', + }, + ], name: 'Unknown', maintainers: ['schen1024'], handler, diff --git a/lib/routes/juejin/books.ts b/lib/routes/juejin/books.ts index a7746d20f..a1c2caae2 100644 --- a/lib/routes/juejin/books.ts +++ b/lib/routes/juejin/books.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['juejin.cn/books'], - }, + radar: [ + { + source: ['juejin.cn/books'], + }, + ], name: '小册', maintainers: ['xyqfer'], handler, diff --git a/lib/routes/juejin/collection.ts b/lib/routes/juejin/collection.ts index f26aae70f..a571afe0c 100644 --- a/lib/routes/juejin/collection.ts +++ b/lib/routes/juejin/collection.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['juejin.cn/collection/:collectionId'], - }, + radar: [ + { + source: ['juejin.cn/collection/:collectionId'], + }, + ], name: '单个收藏夹', maintainers: ['isQ'], handler, diff --git a/lib/routes/juejin/column.ts b/lib/routes/juejin/column.ts index 1e746b67a..fad5bb71f 100644 --- a/lib/routes/juejin/column.ts +++ b/lib/routes/juejin/column.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['juejin.cn/column/:id'], - }, + radar: [ + { + source: ['juejin.cn/column/:id'], + }, + ], name: '专栏', maintainers: ['xiangzy1'], handler, diff --git a/lib/routes/juejin/favorites.ts b/lib/routes/juejin/favorites.ts index 0225040b3..4dc1a6027 100644 --- a/lib/routes/juejin/favorites.ts +++ b/lib/routes/juejin/favorites.ts @@ -16,10 +16,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['juejin.cn/user/:id', 'juejin.cn/user/:id/collections'], - target: '/collections/:id', - }, + radar: [ + { + source: ['juejin.cn/user/:id', 'juejin.cn/user/:id/collections'], + target: '/collections/:id', + }, + ], name: '收藏集', maintainers: ['isQ'], handler, diff --git a/lib/routes/juejin/posts.ts b/lib/routes/juejin/posts.ts index 0be77724d..58ceea04d 100644 --- a/lib/routes/juejin/posts.ts +++ b/lib/routes/juejin/posts.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['juejin.cn/user/:id', 'juejin.cn/user/:id/posts'], - }, + radar: [ + { + source: ['juejin.cn/user/:id', 'juejin.cn/user/:id/posts'], + }, + ], name: '用户文章', maintainers: ['Maecenas'], handler, diff --git a/lib/routes/juejin/tag.ts b/lib/routes/juejin/tag.ts index 78b5e3731..934e70b80 100644 --- a/lib/routes/juejin/tag.ts +++ b/lib/routes/juejin/tag.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['juejin.cn/tag/:tag'], - }, + radar: [ + { + source: ['juejin.cn/tag/:tag'], + }, + ], name: '标签', maintainers: ['isheng5'], handler, diff --git a/lib/routes/kbs/news.ts b/lib/routes/kbs/news.ts index 2aa36ae1d..043289f79 100644 --- a/lib/routes/kbs/news.ts +++ b/lib/routes/kbs/news.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['world.kbs.co.kr/'], - target: '/news', - }, + radar: [ + { + source: ['world.kbs.co.kr/'], + target: '/news', + }, + ], name: 'News', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/kbs/today.ts b/lib/routes/kbs/today.ts index acc13aa2f..07b47f1de 100644 --- a/lib/routes/kbs/today.ts +++ b/lib/routes/kbs/today.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['world.kbs.co.kr/'], - target: '/today', - }, + radar: [ + { + source: ['world.kbs.co.kr/'], + target: '/today', + }, + ], name: 'Today', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/kcna/news.ts b/lib/routes/kcna/news.ts index 6e03430d7..1514ae582 100644 --- a/lib/routes/kcna/news.ts +++ b/lib/routes/kcna/news.ts @@ -24,10 +24,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.kcna.kp/:lang', 'www.kcna.kp/:lang/category/articles/q/1ee9bdb7186944f765208f34ecfb5407.kcmsf', 'www.kcna.kp/:lang/category/articles.kcmsf'], - target: '/:lang', - }, + radar: [ + { + source: ['www.kcna.kp/:lang', 'www.kcna.kp/:lang/category/articles/q/1ee9bdb7186944f765208f34ecfb5407.kcmsf', 'www.kcna.kp/:lang/category/articles.kcmsf'], + target: '/:lang', + }, + ], name: 'News', maintainers: ['Rongronggg9'], handler, diff --git a/lib/routes/ke/results.ts b/lib/routes/ke/results.ts index 3d80850b0..5c5acb2dd 100644 --- a/lib/routes/ke/results.ts +++ b/lib/routes/ke/results.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.research.ke.com/researchResults'], - }, + radar: [ + { + source: ['www.research.ke.com/researchResults'], + }, + ], name: '研究成果', maintainers: ['shaomingbo'], handler, diff --git a/lib/routes/keep/user.ts b/lib/routes/keep/user.ts index cf6f54bb5..4a8b86ed3 100644 --- a/lib/routes/keep/user.ts +++ b/lib/routes/keep/user.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gotokeep.com/users/:id'], - }, + radar: [ + { + source: ['gotokeep.com/users/:id'], + }, + ], name: '运动日记', maintainers: ['Dectinc', 'DIYgod'], handler, diff --git a/lib/routes/kemono/index.ts b/lib/routes/kemono/index.ts index 8a4f2b6e2..8bb550383 100644 --- a/lib/routes/kemono/index.ts +++ b/lib/routes/kemono/index.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['kemono.su/:source/user/:id', 'kemono.su/'], - }, + radar: [ + { + source: ['kemono.su/:source/user/:id', 'kemono.su/'], + }, + ], name: 'Posts', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/kepu/live.ts b/lib/routes/kepu/live.ts index 4abb53735..586d9c4b1 100644 --- a/lib/routes/kepu/live.ts +++ b/lib/routes/kepu/live.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['live.kepu.net.cn/replay/index'], - }, + radar: [ + { + source: ['live.kepu.net.cn/replay/index'], + }, + ], name: '直播回看', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/kimlaw/thesis.ts b/lib/routes/kimlaw/thesis.ts index e269a8942..78e49dc14 100644 --- a/lib/routes/kimlaw/thesis.ts +++ b/lib/routes/kimlaw/thesis.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['kimlaw.or.kr/67', 'kimlaw.or.kr/'], - }, + radar: [ + { + source: ['kimlaw.or.kr/67', 'kimlaw.or.kr/'], + }, + ], name: 'Thesis', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/konghq/blog-posts.ts b/lib/routes/konghq/blog-posts.ts index b857c4a44..9ba27898b 100644 --- a/lib/routes/konghq/blog-posts.ts +++ b/lib/routes/konghq/blog-posts.ts @@ -21,9 +21,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['konghq.com/blog/*'], - }, + radar: [ + { + source: ['konghq.com/blog/*'], + }, + ], name: '博客最新文章', maintainers: ['piglei'], handler, diff --git a/lib/routes/kuaidi100/supported-company.ts b/lib/routes/kuaidi100/supported-company.ts index cfd77b30b..06562000f 100644 --- a/lib/routes/kuaidi100/supported-company.ts +++ b/lib/routes/kuaidi100/supported-company.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['kuaidi100.com/'], - }, + radar: [ + { + source: ['kuaidi100.com/'], + }, + ], name: '支持的快递公司列表', maintainers: ['NeverBehave'], handler, diff --git a/lib/routes/kunchengblog/essay.ts b/lib/routes/kunchengblog/essay.ts index 44573c259..3ec7c9090 100644 --- a/lib/routes/kunchengblog/essay.ts +++ b/lib/routes/kunchengblog/essay.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['kunchengblog.com/essay'], - }, + radar: [ + { + source: ['kunchengblog.com/essay'], + }, + ], name: 'Essay', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/kuwaitlocal/index.ts b/lib/routes/kuwaitlocal/index.ts index 0be8f006a..c17f3fa90 100644 --- a/lib/routes/kuwaitlocal/index.ts +++ b/lib/routes/kuwaitlocal/index.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['kuwaitlocal.com/news/categories/:category'], - target: '/:category', - }, + radar: [ + { + source: ['kuwaitlocal.com/news/categories/:category'], + target: '/:category', + }, + ], name: 'Categorised News', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/laimanhua/index.ts b/lib/routes/laimanhua/index.ts index 45cd2acf6..f9f184c39 100644 --- a/lib/routes/laimanhua/index.ts +++ b/lib/routes/laimanhua/index.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.laimanhua8.com/kanmanhua/:id'], - }, + radar: [ + { + source: ['www.laimanhua8.com/kanmanhua/:id'], + }, + ], name: '漫画列表', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/lala/rss.ts b/lib/routes/lala/rss.ts index e248da1d6..9767abcec 100644 --- a/lib/routes/lala/rss.ts +++ b/lib/routes/lala/rss.ts @@ -4,10 +4,12 @@ import { load } from 'cheerio'; export const route: Route = { path: '/', - radar: { - source: ['lala.im/'], - target: '', - }, + radar: [ + { + source: ['lala.im/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['cnkmmk'], handler, diff --git a/lib/routes/lang/room.ts b/lib/routes/lang/room.ts index 22c4eda9f..f53d96872 100644 --- a/lib/routes/lang/room.ts +++ b/lib/routes/lang/room.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['lang.live/room/:id'], - }, + radar: [ + { + source: ['lang.live/room/:id'], + }, + ], name: 'Unknown', maintainers: ['MittWillson'], handler, diff --git a/lib/routes/lanqiao/author.ts b/lib/routes/lanqiao/author.ts index 9c63e5d4f..b1388938c 100644 --- a/lib/routes/lanqiao/author.ts +++ b/lib/routes/lanqiao/author.ts @@ -30,9 +30,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['lanqiao.cn/users/:uid'], - }, + radar: [ + { + source: ['lanqiao.cn/users/:uid'], + }, + ], name: '作者发布的课程', maintainers: ['huhuhang'], handler, diff --git a/lib/routes/lanqiao/questions.ts b/lib/routes/lanqiao/questions.ts index a3e3fb0b8..e74aa2b6a 100644 --- a/lib/routes/lanqiao/questions.ts +++ b/lib/routes/lanqiao/questions.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['lanqiao.cn/questions/', 'lanqiao.cn/questions/topics/:id'], - }, + radar: [ + { + source: ['lanqiao.cn/questions/', 'lanqiao.cn/questions/topics/:id'], + }, + ], name: '技术社区', maintainers: ['huhuhang'], handler, diff --git a/lib/routes/laohu8/personal.ts b/lib/routes/laohu8/personal.ts index 92a1b4cd9..697a8a0c3 100644 --- a/lib/routes/laohu8/personal.ts +++ b/lib/routes/laohu8/personal.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['laohu8.com/personal/:id'], - }, + radar: [ + { + source: ['laohu8.com/personal/:id'], + }, + ], name: '个人主页', maintainers: ['Fatpandac'], handler, diff --git a/lib/routes/layoffs/index.ts b/lib/routes/layoffs/index.ts index e20b89ad1..8c46c8d06 100644 --- a/lib/routes/layoffs/index.ts +++ b/lib/routes/layoffs/index.ts @@ -40,10 +40,12 @@ const getMappings = function (obj) { export const route: Route = { path: '/', - radar: { - source: ['layoffs.fyi/'], - target: '', - }, + radar: [ + { + source: ['layoffs.fyi/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['BrandNewLifeJackie26'], handler, diff --git a/lib/routes/learnku/topic.ts b/lib/routes/learnku/topic.ts index e2f4818b2..ad6da0de3 100644 --- a/lib/routes/learnku/topic.ts +++ b/lib/routes/learnku/topic.ts @@ -22,10 +22,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['learnku.com/:community'], - target: '/:community', - }, + radar: [ + { + source: ['learnku.com/:community'], + target: '/:community', + }, + ], name: '社区', maintainers: ['kayw-geek'], handler, diff --git a/lib/routes/leetcode/articles.ts b/lib/routes/leetcode/articles.ts index 51486cf98..ff44afe65 100644 --- a/lib/routes/leetcode/articles.ts +++ b/lib/routes/leetcode/articles.ts @@ -25,9 +25,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['leetcode.com/articles'], - }, + radar: [ + { + source: ['leetcode.com/articles'], + }, + ], name: 'Articles', maintainers: ['LogicJake'], handler, diff --git a/lib/routes/leetcode/dailyquestion-cn.ts b/lib/routes/leetcode/dailyquestion-cn.ts index c97935c2b..29fd9d1fb 100644 --- a/lib/routes/leetcode/dailyquestion-cn.ts +++ b/lib/routes/leetcode/dailyquestion-cn.ts @@ -10,9 +10,11 @@ const host = 'https://leetcode.cn'; export const route: Route = { path: '/dailyquestion/cn', - radar: { - source: ['leetcode.cn/'], - }, + radar: [ + { + source: ['leetcode.cn/'], + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/leetcode/dailyquestion-en.ts b/lib/routes/leetcode/dailyquestion-en.ts index 5fdc604ee..a02345535 100644 --- a/lib/routes/leetcode/dailyquestion-en.ts +++ b/lib/routes/leetcode/dailyquestion-en.ts @@ -10,9 +10,11 @@ const host = 'https://leetcode.com'; export const route: Route = { path: '/dailyquestion/en', - radar: { - source: ['leetcode.com/'], - }, + radar: [ + { + source: ['leetcode.com/'], + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/leetcode/dailyquestion-solution-cn.ts b/lib/routes/leetcode/dailyquestion-solution-cn.ts index 32bd93ef9..66de788e1 100644 --- a/lib/routes/leetcode/dailyquestion-solution-cn.ts +++ b/lib/routes/leetcode/dailyquestion-solution-cn.ts @@ -9,9 +9,11 @@ import { parseDate } from '@/utils/parse-date'; import timezone from '@/utils/timezone'; export const route: Route = { path: '/dailyquestion/solution/cn', - radar: { - source: ['leetcode.cn/'], - }, + radar: [ + { + source: ['leetcode.cn/'], + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/leetcode/dailyquestion-solution-en.ts b/lib/routes/leetcode/dailyquestion-solution-en.ts index 3dbe7f97c..33dcd08fe 100644 --- a/lib/routes/leetcode/dailyquestion-solution-en.ts +++ b/lib/routes/leetcode/dailyquestion-solution-en.ts @@ -10,9 +10,11 @@ import timezone from '@/utils/timezone'; import * as path from 'node:path'; export const route: Route = { path: '/dailyquestion/solution/en', - radar: { - source: ['leetcode.com/'], - }, + radar: [ + { + source: ['leetcode.com/'], + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/leiphone/index.ts b/lib/routes/leiphone/index.ts index f1c284d4b..c633c796b 100644 --- a/lib/routes/leiphone/index.ts +++ b/lib/routes/leiphone/index.ts @@ -6,10 +6,12 @@ import utils from './utils'; export const route: Route = { path: '/:do?/:keyword?', - radar: { - source: ['leiphone.com/'], - target: '', - }, + radar: [ + { + source: ['leiphone.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/leiphone/newsflash.ts b/lib/routes/leiphone/newsflash.ts index ec4c1ce0d..13be02c1d 100644 --- a/lib/routes/leiphone/newsflash.ts +++ b/lib/routes/leiphone/newsflash.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['leiphone.com/'], - }, + radar: [ + { + source: ['leiphone.com/'], + }, + ], name: '业界资讯', maintainers: [], handler, diff --git a/lib/routes/lfsyd/home.ts b/lib/routes/lfsyd/home.ts index f7af9ca93..0b0f221b5 100644 --- a/lib/routes/lfsyd/home.ts +++ b/lib/routes/lfsyd/home.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.iyingdi.com/'], - }, + radar: [ + { + source: ['www.iyingdi.com/'], + }, + ], name: '首页', maintainers: ['auto-bot-ty'], handler, diff --git a/lib/routes/lfsyd/old-home.ts b/lib/routes/lfsyd/old-home.ts index 2d167ff1c..b75e8e3c6 100644 --- a/lib/routes/lfsyd/old-home.ts +++ b/lib/routes/lfsyd/old-home.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.iyingdi.com/'], - }, + radar: [ + { + source: ['www.iyingdi.com/'], + }, + ], name: '首页(旧版)', maintainers: ['auto-bot-ty'], handler, diff --git a/lib/routes/lfsyd/tag.ts b/lib/routes/lfsyd/tag.ts index 23e1095af..cc0834af1 100644 --- a/lib/routes/lfsyd/tag.ts +++ b/lib/routes/lfsyd/tag.ts @@ -6,10 +6,12 @@ import { ProcessForm, ProcessFeed } from './utils'; export const route: Route = { path: '/tag/:tagId?', - radar: { - source: ['mob.iyingdi.com/fine/:tagId'], - target: '/tag/:tagId', - }, + radar: [ + { + source: ['mob.iyingdi.com/fine/:tagId'], + target: '/tag/:tagId', + }, + ], name: 'Unknown', maintainers: ['auto-bot-ty'], handler, diff --git a/lib/routes/lfsyd/user.ts b/lib/routes/lfsyd/user.ts index 12147e5ee..1e3b0dea0 100644 --- a/lib/routes/lfsyd/user.ts +++ b/lib/routes/lfsyd/user.ts @@ -6,10 +6,12 @@ import { ProcessForm, ProcessFeed } from './utils'; export const route: Route = { path: '/user/:id?', - radar: { - source: ['www.iyingdi.com/tz/people/:id', 'www.iyingdi.com/tz/people/:id/*'], - target: '/user/:id', - }, + radar: [ + { + source: ['www.iyingdi.com/tz/people/:id', 'www.iyingdi.com/tz/people/:id/*'], + target: '/user/:id', + }, + ], name: 'Unknown', maintainers: ['auto-bot-ty'], handler, diff --git a/lib/routes/lifeweek/channel.ts b/lib/routes/lifeweek/channel.ts index 023e5e555..62451ca4e 100644 --- a/lib/routes/lifeweek/channel.ts +++ b/lib/routes/lifeweek/channel.ts @@ -9,10 +9,12 @@ const articleRootUrl = 'https://www.lifeweek.com.cn/article'; export const route: Route = { path: '/channel/:id', - radar: { - source: ['lifeweek.com.cn/column/:channel'], - target: '/channel/:channel', - }, + radar: [ + { + source: ['lifeweek.com.cn/column/:channel'], + target: '/channel/:channel', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/lifeweek/tag.ts b/lib/routes/lifeweek/tag.ts index 98ed0c9d3..9506c37e5 100644 --- a/lib/routes/lifeweek/tag.ts +++ b/lib/routes/lifeweek/tag.ts @@ -8,10 +8,12 @@ const articleRootUrl = 'https://www.lifeweek.com.cn/article'; export const route: Route = { path: '/tag/:id', - radar: { - source: ['lifeweek.com.cn/articleList/:tag'], - target: '/tag/:tag', - }, + radar: [ + { + source: ['lifeweek.com.cn/articleList/:tag'], + target: '/tag/:tag', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/lightnovel/light-novel.ts b/lib/routes/lightnovel/light-novel.ts index b2db0fdb2..db1c2bfba 100644 --- a/lib/routes/lightnovel/light-novel.ts +++ b/lib/routes/lightnovel/light-novel.ts @@ -7,10 +7,12 @@ import { config } from '@/config'; export const route: Route = { path: '/:keywords/:security_key?', - radar: { - source: ['lightNovel.us/'], - target: '/:keywords/:security_key', - }, + radar: [ + { + source: ['lightNovel.us/'], + target: '/:keywords/:security_key', + }, + ], name: 'Unknown', maintainers: ['nightmare-mio'], handler, diff --git a/lib/routes/line/publisher.ts b/lib/routes/line/publisher.ts index b67f92557..e3fa3e6d7 100644 --- a/lib/routes/line/publisher.ts +++ b/lib/routes/line/publisher.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['today.line.me/:edition/v2/publisher/:id'], - }, + radar: [ + { + source: ['today.line.me/:edition/v2/publisher/:id'], + }, + ], name: 'TODAY - Channel', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/line/today.ts b/lib/routes/line/today.ts index 2be4d8575..ac27e1e58 100644 --- a/lib/routes/line/today.ts +++ b/lib/routes/line/today.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['today.line.me/'], - }, + radar: [ + { + source: ['today.line.me/'], + }, + ], name: 'TODAY', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/liquipedia/cs-matches.ts b/lib/routes/liquipedia/cs-matches.ts index fe2eb27b6..b4c12d01b 100644 --- a/lib/routes/liquipedia/cs-matches.ts +++ b/lib/routes/liquipedia/cs-matches.ts @@ -4,10 +4,12 @@ import { load } from 'cheerio'; export const route: Route = { path: '/counterstrike/matches/:team', - radar: { - source: ['liquipedia.net/counterstrike/:id/Matches', 'liquipedia.net/dota2/:id'], - target: '/counterstrike/matches/:id', - }, + radar: [ + { + source: ['liquipedia.net/counterstrike/:id/Matches', 'liquipedia.net/dota2/:id'], + target: '/counterstrike/matches/:id', + }, + ], name: 'Unknown', maintainers: ['CookiePieWw'], handler, diff --git a/lib/routes/liquipedia/dota2-matches.ts b/lib/routes/liquipedia/dota2-matches.ts index 6f9002bae..1867165b5 100644 --- a/lib/routes/liquipedia/dota2-matches.ts +++ b/lib/routes/liquipedia/dota2-matches.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['liquipedia.net/dota2/:id'], - }, + radar: [ + { + source: ['liquipedia.net/dota2/:id'], + }, + ], name: 'Dota2 战队最近比赛结果', maintainers: ['wzekin'], handler, diff --git a/lib/routes/literotica/category.ts b/lib/routes/literotica/category.ts index d060f16ee..2d786f2d3 100644 --- a/lib/routes/literotica/category.ts +++ b/lib/routes/literotica/category.ts @@ -6,9 +6,11 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/category/:category', - radar: { - source: ['literotica.com/c/:category', 'literotica.com/'], - }, + radar: [ + { + source: ['literotica.com/c/:category', 'literotica.com/'], + }, + ], name: 'Unknown', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/literotica/new.ts b/lib/routes/literotica/new.ts index 7e92bf572..1a2a3cb8d 100644 --- a/lib/routes/literotica/new.ts +++ b/lib/routes/literotica/new.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['literotica.com/'], - }, + radar: [ + { + source: ['literotica.com/'], + }, + ], name: 'New Stories', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/liveuamap/index.ts b/lib/routes/liveuamap/index.ts index f77aa688a..030bb2ec2 100644 --- a/lib/routes/liveuamap/index.ts +++ b/lib/routes/liveuamap/index.ts @@ -16,10 +16,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['liveuamap.com/:region*'], - target: '/:region', - }, + radar: [ + { + source: ['liveuamap.com/:region*'], + target: '/:region', + }, + ], name: '实时消息', maintainers: ['CoderSherlock'], handler, diff --git a/lib/routes/lkong/forum.ts b/lib/routes/lkong/forum.ts index f76ddb52b..8a3c5c240 100644 --- a/lib/routes/lkong/forum.ts +++ b/lib/routes/lkong/forum.ts @@ -12,9 +12,11 @@ import { viewForum, viewThread } from './query'; export const route: Route = { path: '/forum/:id?/:digest?', - radar: { - source: ['lkong.com/forum/:id', 'lkong.com/'], - }, + radar: [ + { + source: ['lkong.com/forum/:id', 'lkong.com/'], + }, + ], name: 'Unknown', maintainers: ['nczitzk', 'ma6254'], handler, diff --git a/lib/routes/lkong/thread.ts b/lib/routes/lkong/thread.ts index 0181a6602..3a5e7657a 100644 --- a/lib/routes/lkong/thread.ts +++ b/lib/routes/lkong/thread.ts @@ -11,9 +11,11 @@ import { viewThread, countReplies } from './query'; export const route: Route = { path: '/thread/:id', - radar: { - source: ['lkong.com/thread/:id', 'lkong.com/'], - }, + radar: [ + { + source: ['lkong.com/thread/:id', 'lkong.com/'], + }, + ], name: 'Unknown', maintainers: ['nczitzk', 'ma6254'], handler, diff --git a/lib/routes/logonews/index.ts b/lib/routes/logonews/index.ts index 7a11964cb..e2b411b08 100644 --- a/lib/routes/logonews/index.ts +++ b/lib/routes/logonews/index.ts @@ -12,9 +12,11 @@ import * as path from 'node:path'; export const route: Route = { path: ['/work/tags/:tag', '/tag/:tag', '*'], - radar: { - source: ['logonews.cn/work/tags/:tag'], - }, + radar: [ + { + source: ['logonews.cn/work/tags/:tag'], + }, + ], name: 'Unknown', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/lovelive-anime/news.ts b/lib/routes/lovelive-anime/news.ts index 2fbcb28a1..f37d23bae 100644 --- a/lib/routes/lovelive-anime/news.ts +++ b/lib/routes/lovelive-anime/news.ts @@ -22,10 +22,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.lovelive-anime.jp/', 'www.lovelive-anime.jp/news'], - target: '/news', - }, + radar: [ + { + source: ['www.lovelive-anime.jp/', 'www.lovelive-anime.jp/news'], + target: '/news', + }, + ], name: 'Love Live! Official Website Latest NEWS', maintainers: ['axojhf'], handler, diff --git a/lib/routes/lsnu/jiaowc/tzgg.ts b/lib/routes/lsnu/jiaowc/tzgg.ts index 3179be7d6..bf618bb14 100644 --- a/lib/routes/lsnu/jiaowc/tzgg.ts +++ b/lib/routes/lsnu/jiaowc/tzgg.ts @@ -16,10 +16,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['lsnu.edu.cn/'], - target: '/jiaowc/tzgg', - }, + radar: [ + { + source: ['lsnu.edu.cn/'], + target: '/jiaowc/tzgg', + }, + ], name: '教学部通知公告', maintainers: ['nyaShine'], handler, diff --git a/lib/routes/luogu/contest.ts b/lib/routes/luogu/contest.ts index bcb811c6e..b89629a2d 100644 --- a/lib/routes/luogu/contest.ts +++ b/lib/routes/luogu/contest.ts @@ -40,9 +40,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['luogu.com.cn/contest/list', 'luogu.com.cn/'], - }, + radar: [ + { + source: ['luogu.com.cn/contest/list', 'luogu.com.cn/'], + }, + ], name: '比赛列表', maintainers: ['prnake'], handler, diff --git a/lib/routes/luogu/daily.ts b/lib/routes/luogu/daily.ts index 84466ce75..b48affaab 100644 --- a/lib/routes/luogu/daily.ts +++ b/lib/routes/luogu/daily.ts @@ -16,10 +16,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['luogu.com.cn/discuss/47327', 'luogu.com.cn/'], - target: '/daily', - }, + radar: [ + { + source: ['luogu.com.cn/discuss/47327', 'luogu.com.cn/'], + target: '/daily', + }, + ], name: '日报', maintainers: ['LogicJake ', 'prnake ', 'nczitzk'], handler, diff --git a/lib/routes/luogu/user-blog.ts b/lib/routes/luogu/user-blog.ts index bfd698172..f38d4cc6b 100644 --- a/lib/routes/luogu/user-blog.ts +++ b/lib/routes/luogu/user-blog.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['luogu.com.cn/blog/:name'], - }, + radar: [ + { + source: ['luogu.com.cn/blog/:name'], + }, + ], name: '用户博客', maintainers: [], handler, diff --git a/lib/routes/luogu/user-feed.ts b/lib/routes/luogu/user-feed.ts index 6461081ab..34c50ce04 100644 --- a/lib/routes/luogu/user-feed.ts +++ b/lib/routes/luogu/user-feed.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['luogu.com.cn/user/:uid'], - }, + radar: [ + { + source: ['luogu.com.cn/user/:uid'], + }, + ], name: '用户动态', maintainers: ['solstice23'], handler, diff --git a/lib/routes/luxiangdong/archive.ts b/lib/routes/luxiangdong/archive.ts index cabd311ef..0b24b1c59 100644 --- a/lib/routes/luxiangdong/archive.ts +++ b/lib/routes/luxiangdong/archive.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['luxiangdong.com/'], - }, + radar: [ + { + source: ['luxiangdong.com/'], + }, + ], name: '文章', maintainers: ['Levix'], handler, diff --git a/lib/routes/lxixsxa/discography.ts b/lib/routes/lxixsxa/discography.ts index 303a47f5e..cfdd6d60c 100644 --- a/lib/routes/lxixsxa/discography.ts +++ b/lib/routes/lxixsxa/discography.ts @@ -21,9 +21,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.lxixsxa.com/', 'www.lxixsxa.com/discography'], - }, + radar: [ + { + source: ['www.lxixsxa.com/', 'www.lxixsxa.com/discography'], + }, + ], name: 'Latest Discography', maintainers: ['Kiotlin'], handler, diff --git a/lib/routes/lxixsxa/information.ts b/lib/routes/lxixsxa/information.ts index f6d160321..a3dc602be 100644 --- a/lib/routes/lxixsxa/information.ts +++ b/lib/routes/lxixsxa/information.ts @@ -21,9 +21,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.lxixsxa.com/', 'www.lxixsxa.com/info'], - }, + radar: [ + { + source: ['www.lxixsxa.com/', 'www.lxixsxa.com/info'], + }, + ], name: 'News', maintainers: ['Kiotlin'], handler, diff --git a/lib/routes/macfilos/blog.ts b/lib/routes/macfilos/blog.ts index d4f19d1c1..f79c4e530 100644 --- a/lib/routes/macfilos/blog.ts +++ b/lib/routes/macfilos/blog.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['macfilos.com/blog', 'macfilos.com/'], - }, + radar: [ + { + source: ['macfilos.com/blog', 'macfilos.com/'], + }, + ], name: 'Blog', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/macupdate/app.ts b/lib/routes/macupdate/app.ts index 529b74889..4e2e76060 100644 --- a/lib/routes/macupdate/app.ts +++ b/lib/routes/macupdate/app.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['macupdate.com/app/mac/:appId/:appSlug'], - }, + radar: [ + { + source: ['macupdate.com/app/mac/:appId/:appSlug'], + }, + ], name: 'Update', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/mangadex/index.ts b/lib/routes/mangadex/index.ts index 80ff36463..3f7bd25ad 100644 --- a/lib/routes/mangadex/index.ts +++ b/lib/routes/mangadex/index.ts @@ -4,10 +4,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/:id/:lang?', - radar: { - source: ['mangadex.org/title/:id/*', 'mangadex.org/title/:id'], - target: '/:id', - }, + radar: [ + { + source: ['mangadex.org/title/:id/*', 'mangadex.org/title/:id'], + target: '/:id', + }, + ], name: 'Unknown', maintainers: ['vzz64'], handler, diff --git a/lib/routes/manhuagui/comic.ts b/lib/routes/manhuagui/comic.ts index a2c0ec629..88c638aa1 100644 --- a/lib/routes/manhuagui/comic.ts +++ b/lib/routes/manhuagui/comic.ts @@ -57,10 +57,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.mhgui.com/comic/:id/'], - target: '/comic/:id', - }, + radar: [ + { + source: ['www.mhgui.com/comic/:id/'], + target: '/comic/:id', + }, + ], name: '漫画更新', maintainers: ['MegrezZhu'], handler, diff --git a/lib/routes/manhuagui/subscribe.ts b/lib/routes/manhuagui/subscribe.ts index a9c316ce0..ebc9ae50e 100644 --- a/lib/routes/manhuagui/subscribe.ts +++ b/lib/routes/manhuagui/subscribe.ts @@ -28,9 +28,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.mhgui.com/user/book/shelf'], - }, + radar: [ + { + source: ['www.mhgui.com/user/book/shelf'], + }, + ], name: '漫画个人订阅', maintainers: ['shininome'], handler, diff --git a/lib/routes/mdpi/journal.ts b/lib/routes/mdpi/journal.ts index 6e222f9a3..12767a787 100644 --- a/lib/routes/mdpi/journal.ts +++ b/lib/routes/mdpi/journal.ts @@ -23,9 +23,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.mdpi.com/journal/:journal'], - }, + radar: [ + { + source: ['www.mdpi.com/journal/:journal'], + }, + ], name: 'Journal', maintainers: ['Derekmini'], handler, diff --git a/lib/routes/medieval-china/post.ts b/lib/routes/medieval-china/post.ts index 6525275f9..63b036ad8 100644 --- a/lib/routes/medieval-china/post.ts +++ b/lib/routes/medieval-china/post.ts @@ -7,10 +7,12 @@ import timezone from '@/utils/timezone'; export const route: Route = { path: '/', - radar: { - source: ['medieval-china.club/'], - target: '', - }, + radar: [ + { + source: ['medieval-china.club/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['artefaritaKuniklo'], handler, diff --git a/lib/routes/meteor/boards.ts b/lib/routes/meteor/boards.ts index 57836db98..a8835f5b4 100644 --- a/lib/routes/meteor/boards.ts +++ b/lib/routes/meteor/boards.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['meteor.today/'], - }, + radar: [ + { + source: ['meteor.today/'], + }, + ], name: '看板列表', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/microsoft/addon.ts b/lib/routes/microsoft/addon.ts index 550696349..403e3b6f3 100644 --- a/lib/routes/microsoft/addon.ts +++ b/lib/routes/microsoft/addon.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['microsoftedge.microsoft.com/addons/detail/:name/:crxid'], - }, + radar: [ + { + source: ['microsoftedge.microsoft.com/addons/detail/:name/:crxid'], + }, + ], name: 'Addons Update', maintainers: ['hoilc', 'DIYgod'], handler, diff --git a/lib/routes/mihoyo/bbs/img-ranking.ts b/lib/routes/mihoyo/bbs/img-ranking.ts index 2f7fb63a6..a4a43cc71 100644 --- a/lib/routes/mihoyo/bbs/img-ranking.ts +++ b/lib/routes/mihoyo/bbs/img-ranking.ts @@ -52,10 +52,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['miyoushe.com/:game/imgRanking/:forum_id/:ranking_id/:cate_id'], - target: '/bbs/img-ranking/:game', - }, + radar: [ + { + source: ['miyoushe.com/:game/imgRanking/:forum_id/:ranking_id/:cate_id'], + target: '/bbs/img-ranking/:game', + }, + ], name: '米游社 - 同人榜', maintainers: ['CaoMeiYouRen'], handler, diff --git a/lib/routes/mihoyo/bbs/timeline.ts b/lib/routes/mihoyo/bbs/timeline.ts index 397e53376..4a3ce513e 100644 --- a/lib/routes/mihoyo/bbs/timeline.ts +++ b/lib/routes/mihoyo/bbs/timeline.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['miyoushe.com/:game/timeline'], - }, + radar: [ + { + source: ['miyoushe.com/:game/timeline'], + }, + ], name: '米游社 - 用户关注动态', maintainers: ['CaoMeiYouRen'], handler, diff --git a/lib/routes/mihoyo/sr/news.ts b/lib/routes/mihoyo/sr/news.ts index 9a1605b70..69a07c466 100644 --- a/lib/routes/mihoyo/sr/news.ts +++ b/lib/routes/mihoyo/sr/news.ts @@ -56,10 +56,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['sr.mihoyo.com/news'], - target: '/sr', - }, + radar: [ + { + source: ['sr.mihoyo.com/news'], + target: '/sr', + }, + ], name: '崩坏:星穹铁道', maintainers: ['shinanory'], handler, diff --git a/lib/routes/mihoyo/ys/news.ts b/lib/routes/mihoyo/ys/news.ts index 8e2ab9200..fc60ae272 100644 --- a/lib/routes/mihoyo/ys/news.ts +++ b/lib/routes/mihoyo/ys/news.ts @@ -93,10 +93,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['genshin.hoyoverse.com/:location/news'], - target: '/ys/:location', - }, + radar: [ + { + source: ['genshin.hoyoverse.com/:location/news'], + target: '/ys/:location', + }, + ], name: '原神', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/minecraft/version.ts b/lib/routes/minecraft/version.ts index 9d402057a..c04d8430f 100644 --- a/lib/routes/minecraft/version.ts +++ b/lib/routes/minecraft/version.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['minecraft.net/'], - }, + radar: [ + { + source: ['minecraft.net/'], + }, + ], name: 'Java Game Update', maintainers: ['TheresaQWQ'], handler, diff --git a/lib/routes/missav/new.ts b/lib/routes/missav/new.ts index 3b66e54b3..d916f87d0 100644 --- a/lib/routes/missav/new.ts +++ b/lib/routes/missav/new.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['missav.com/dm397/new', 'missav.com/new', 'missav.com/'], - }, + radar: [ + { + source: ['missav.com/dm397/new', 'missav.com/new', 'missav.com/'], + }, + ], name: '最近更新', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/modelscope/community.ts b/lib/routes/modelscope/community.ts index 49a95ffab..34d10b78f 100644 --- a/lib/routes/modelscope/community.ts +++ b/lib/routes/modelscope/community.ts @@ -23,9 +23,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['community.modelscope.cn/'], - }, + radar: [ + { + source: ['community.modelscope.cn/'], + }, + ], name: 'DevPress 官方社区', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/modelscope/datasets.ts b/lib/routes/modelscope/datasets.ts index 77b64a3a5..59c180366 100644 --- a/lib/routes/modelscope/datasets.ts +++ b/lib/routes/modelscope/datasets.ts @@ -26,9 +26,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['modelscope.cn/datasets'], - }, + radar: [ + { + source: ['modelscope.cn/datasets'], + }, + ], name: '数据集', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/modelscope/models.ts b/lib/routes/modelscope/models.ts index c22f38f7e..d23ccd954 100644 --- a/lib/routes/modelscope/models.ts +++ b/lib/routes/modelscope/models.ts @@ -21,9 +21,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['modelscope.cn/models'], - }, + radar: [ + { + source: ['modelscope.cn/models'], + }, + ], name: '模型库', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/modelscope/studios.ts b/lib/routes/modelscope/studios.ts index f2118bfbe..c2fa6f137 100644 --- a/lib/routes/modelscope/studios.ts +++ b/lib/routes/modelscope/studios.ts @@ -26,9 +26,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['modelscope.cn/studios'], - }, + radar: [ + { + source: ['modelscope.cn/studios'], + }, + ], name: '创空间', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/mohw/clarification.ts b/lib/routes/mohw/clarification.ts index 7b0c297c4..627847973 100644 --- a/lib/routes/mohw/clarification.ts +++ b/lib/routes/mohw/clarification.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['mohw.gov.tw/'], - }, + radar: [ + { + source: ['mohw.gov.tw/'], + }, + ], name: '即時新聞澄清', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/mox/index.ts b/lib/routes/mox/index.ts index 7f1a487e3..0f6e444c0 100644 --- a/lib/routes/mox/index.ts +++ b/lib/routes/mox/index.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['mox.moe/l/:category', 'mox.moe/'], - }, + radar: [ + { + source: ['mox.moe/l/:category', 'mox.moe/'], + }, + ], name: '首頁', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/mpaypass/news.ts b/lib/routes/mpaypass/news.ts index 294fd04a4..d236daa63 100644 --- a/lib/routes/mpaypass/news.ts +++ b/lib/routes/mpaypass/news.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['mpaypass.com.cn/'], - }, + radar: [ + { + source: ['mpaypass.com.cn/'], + }, + ], name: '新闻', maintainers: ['LogicJake', 'genghis-yang'], handler, diff --git a/lib/routes/mrdx/daily.ts b/lib/routes/mrdx/daily.ts index 128d2803c..6b63d1b96 100644 --- a/lib/routes/mrdx/daily.ts +++ b/lib/routes/mrdx/daily.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['mrdx.cn*'], - }, + radar: [ + { + source: ['mrdx.cn*'], + }, + ], name: '今日', maintainers: ['Dustin-Jiang'], handler, diff --git a/lib/routes/mvm/index.ts b/lib/routes/mvm/index.ts index 8d4c4553c..3a62b8925 100644 --- a/lib/routes/mvm/index.ts +++ b/lib/routes/mvm/index.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['mwm.net.cn/web/:category', 'mwm.net.cn/'], - }, + radar: [ + { + source: ['mwm.net.cn/web/:category', 'mwm.net.cn/'], + }, + ], name: '分类', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/mydrivers/rank.ts b/lib/routes/mydrivers/rank.ts index d0714ac8d..8f674dc9b 100644 --- a/lib/routes/mydrivers/rank.ts +++ b/lib/routes/mydrivers/rank.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['m.mydrivers.com/newsclass.aspx'], - target: '/rank', - }, + radar: [ + { + source: ['m.mydrivers.com/newsclass.aspx'], + target: '/rank', + }, + ], name: '排行', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/myfigurecollection/activity.ts b/lib/routes/myfigurecollection/activity.ts index 9ff77f14e..16c9163e2 100644 --- a/lib/routes/myfigurecollection/activity.ts +++ b/lib/routes/myfigurecollection/activity.ts @@ -30,10 +30,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['zh.myfigurecollection.net/browse', 'zh.myfigurecollection.net/'], - target: '/:category?/:language?', - }, + radar: [ + { + source: ['zh.myfigurecollection.net/browse', 'zh.myfigurecollection.net/'], + target: '/:category?/:language?', + }, + ], name: 'Activity', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/myfigurecollection/index.ts b/lib/routes/myfigurecollection/index.ts index d2f3632a6..5491acdda 100644 --- a/lib/routes/myfigurecollection/index.ts +++ b/lib/routes/myfigurecollection/index.ts @@ -28,9 +28,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['zh.myfigurecollection.net/browse', 'zh.myfigurecollection.net/'], - }, + radar: [ + { + source: ['zh.myfigurecollection.net/browse', 'zh.myfigurecollection.net/'], + }, + ], name: '圖片', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/mygopen/index.ts b/lib/routes/mygopen/index.ts index 9b328c450..8271f187b 100644 --- a/lib/routes/mygopen/index.ts +++ b/lib/routes/mygopen/index.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['mygopen.com/search/label/:label', 'mygopen.com/'], - }, + radar: [ + { + source: ['mygopen.com/search/label/:label', 'mygopen.com/'], + }, + ], name: '分類', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/mymusicsheet/usersheets.ts b/lib/routes/mymusicsheet/usersheets.ts index 90a3835ed..77cd7c1df 100644 --- a/lib/routes/mymusicsheet/usersheets.ts +++ b/lib/routes/mymusicsheet/usersheets.ts @@ -19,10 +19,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['mymusicsheet.com/:username/*', 'mymusicsheet.com/:username'], - target: '/user/sheets/:username', - }, + radar: [ + { + source: ['mymusicsheet.com/:username/*', 'mymusicsheet.com/:username'], + target: '/user/sheets/:username', + }, + ], name: 'User Sheets', maintainers: ['Freddd13'], handler, diff --git a/lib/routes/nasa/apod-cn.ts b/lib/routes/nasa/apod-cn.ts index a3c2a2402..3d541d403 100644 --- a/lib/routes/nasa/apod-cn.ts +++ b/lib/routes/nasa/apod-cn.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['apod.nasa.govundefined'], - }, + radar: [ + { + source: ['apod.nasa.govundefined'], + }, + ], name: 'NASA 中文', maintainers: ['nczitzk', 'williamgateszhao'], handler, diff --git a/lib/routes/nasa/apod-ncku.ts b/lib/routes/nasa/apod-ncku.ts index bb9bfc221..c2b4279e7 100644 --- a/lib/routes/nasa/apod-ncku.ts +++ b/lib/routes/nasa/apod-ncku.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['apod.nasa.govundefined'], - }, + radar: [ + { + source: ['apod.nasa.govundefined'], + }, + ], name: 'Cheng Kung University Mirror', maintainers: ['nczitzk', 'williamgateszhao'], handler, diff --git a/lib/routes/nasa/apod.ts b/lib/routes/nasa/apod.ts index 62b19b81f..391008c5f 100644 --- a/lib/routes/nasa/apod.ts +++ b/lib/routes/nasa/apod.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['apod.nasa.govundefined'], - }, + radar: [ + { + source: ['apod.nasa.govundefined'], + }, + ], name: 'NASA', maintainers: ['nczitzk', 'williamgateszhao'], handler, diff --git a/lib/routes/natgeo/dailyphoto.ts b/lib/routes/natgeo/dailyphoto.ts index 6cfef7900..abe3c29be 100644 --- a/lib/routes/natgeo/dailyphoto.ts +++ b/lib/routes/natgeo/dailyphoto.ts @@ -23,9 +23,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['nationalgeographic.com/photo-of-the-day/*', 'nationalgeographic.com/'], - }, + radar: [ + { + source: ['nationalgeographic.com/photo-of-the-day/*', 'nationalgeographic.com/'], + }, + ], name: '每日一图', maintainers: ['LogicJake', 'OrangeEd1t', 'TonyRL'], handler, diff --git a/lib/routes/natgeo/natgeo.ts b/lib/routes/natgeo/natgeo.ts index 5f0c6613a..1960088d1 100644 --- a/lib/routes/natgeo/natgeo.ts +++ b/lib/routes/natgeo/natgeo.ts @@ -40,10 +40,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['natgeomedia.com/:cat/:type', 'natgeomedia.com/'], - target: '/:cat/:type', - }, + radar: [ + { + source: ['natgeomedia.com/:cat/:type', 'natgeomedia.com/'], + target: '/:cat/:type', + }, + ], name: '分类', maintainers: ['fengkx'], handler, diff --git a/lib/routes/nationalgeographic/latest-stories.ts b/lib/routes/nationalgeographic/latest-stories.ts index 76b0441ea..a9b5bf945 100644 --- a/lib/routes/nationalgeographic/latest-stories.ts +++ b/lib/routes/nationalgeographic/latest-stories.ts @@ -29,9 +29,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.nationalgeographic.com/pages/topic/latest-stories'], - }, + radar: [ + { + source: ['www.nationalgeographic.com/pages/topic/latest-stories'], + }, + ], name: 'Latest Stories', maintainers: ['miles170'], handler, diff --git a/lib/routes/nature/cover.ts b/lib/routes/nature/cover.ts index d67382a62..5263dc217 100644 --- a/lib/routes/nature/cover.ts +++ b/lib/routes/nature/cover.ts @@ -35,9 +35,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['nature.com/'], - }, + radar: [ + { + source: ['nature.com/'], + }, + ], name: 'Cover Story', maintainers: ['y9c'], handler, diff --git a/lib/routes/nature/highlight.ts b/lib/routes/nature/highlight.ts index 30d71e743..4809bc0b5 100644 --- a/lib/routes/nature/highlight.ts +++ b/lib/routes/nature/highlight.ts @@ -16,10 +16,12 @@ export const route: Route = { supportPodcast: false, supportScihub: true, }, - radar: { - source: ['nature.com/:journal/articles', 'nature.com/:journal', 'nature.com/'], - target: '/highlight/:journal', - }, + radar: [ + { + source: ['nature.com/:journal/articles', 'nature.com/:journal', 'nature.com/'], + target: '/highlight/:journal', + }, + ], name: 'Research Highlight', maintainers: [], handler, diff --git a/lib/routes/nature/news-and-comment.ts b/lib/routes/nature/news-and-comment.ts index ea78f13ef..7a2103099 100644 --- a/lib/routes/nature/news-and-comment.ts +++ b/lib/routes/nature/news-and-comment.ts @@ -19,10 +19,12 @@ import { baseUrl, cookieJar, getArticleList, getArticle } from './utils'; export const route: Route = { path: '/news-and-comment/:journal?', - radar: { - source: ['nature.com/latest-news', 'nature.com/news', 'nature.com/'], - target: '/news', - }, + radar: [ + { + source: ['nature.com/latest-news', 'nature.com/news', 'nature.com/'], + target: '/news', + }, + ], name: 'Unknown', maintainers: ['y9c', 'TonyRL'], handler, diff --git a/lib/routes/nature/news.ts b/lib/routes/nature/news.ts index 377903df7..953ea2c4c 100644 --- a/lib/routes/nature/news.ts +++ b/lib/routes/nature/news.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: true, }, - radar: { - source: ['nature.com/latest-news', 'nature.com/news', 'nature.com/'], - }, + radar: [ + { + source: ['nature.com/latest-news', 'nature.com/news', 'nature.com/'], + }, + ], name: 'Nature News', maintainers: ['y9c', 'TonyRL'], handler, diff --git a/lib/routes/nature/research.ts b/lib/routes/nature/research.ts index c365668a3..d72b0fd73 100644 --- a/lib/routes/nature/research.ts +++ b/lib/routes/nature/research.ts @@ -31,10 +31,12 @@ export const route: Route = { supportPodcast: false, supportScihub: true, }, - radar: { - source: ['nature.com/:journal/research-articles', 'nature.com/:journal', 'nature.com/'], - target: '/research/:journal', - }, + radar: [ + { + source: ['nature.com/:journal/research-articles', 'nature.com/:journal', 'nature.com/'], + target: '/research/:journal', + }, + ], name: 'Latest Research', maintainers: ['y9c', 'TonyRL'], handler, diff --git a/lib/routes/nautil/topics.ts b/lib/routes/nautil/topics.ts index 1b3f3ba69..cf14b8988 100644 --- a/lib/routes/nautil/topics.ts +++ b/lib/routes/nautil/topics.ts @@ -23,9 +23,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['nautil.us/topics/:tid'], - }, + radar: [ + { + source: ['nautil.us/topics/:tid'], + }, + ], name: 'Topics', maintainers: ['emdoe'], handler, diff --git a/lib/routes/nbd/daily.ts b/lib/routes/nbd/daily.ts index 875620990..a05b10607 100644 --- a/lib/routes/nbd/daily.ts +++ b/lib/routes/nbd/daily.ts @@ -12,9 +12,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['nbd.com.cn/', 'nbd.com.cn/columns/332'], - }, + radar: [ + { + source: ['nbd.com.cn/', 'nbd.com.cn/columns/332'], + }, + ], name: '重磅原创', maintainers: ['yuuow'], handler, diff --git a/lib/routes/nbd/index.ts b/lib/routes/nbd/index.ts index 744801305..843fbff48 100644 --- a/lib/routes/nbd/index.ts +++ b/lib/routes/nbd/index.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['nbd.com.cn/', 'nbd.com.cn/columns/:id?'], - }, + radar: [ + { + source: ['nbd.com.cn/', 'nbd.com.cn/columns/:id?'], + }, + ], name: '分类', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/nber/index.ts b/lib/routes/nber/index.ts index 04f1fbd4b..af7d3065c 100644 --- a/lib/routes/nber/index.ts +++ b/lib/routes/nber/index.ts @@ -29,9 +29,11 @@ export const route: Route = { supportPodcast: false, supportScihub: true, }, - radar: { - source: ['nber.org/papers'], - }, + radar: [ + { + source: ['nber.org/papers'], + }, + ], name: 'All Papers', maintainers: [], handler, diff --git a/lib/routes/ncu/jwc.ts b/lib/routes/ncu/jwc.ts index ce1eafae7..fd68e0d80 100644 --- a/lib/routes/ncu/jwc.ts +++ b/lib/routes/ncu/jwc.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['jwc.ncu.edu.cn/', 'jwc.ncu.edu.cn/jwtz/index.htm'], - }, + radar: [ + { + source: ['jwc.ncu.edu.cn/', 'jwc.ncu.edu.cn/jwtz/index.htm'], + }, + ], name: '教务通知', maintainers: ['ywh555hhh'], handler, diff --git a/lib/routes/ncwu/notice.ts b/lib/routes/ncwu/notice.ts index f963ef51d..09e49c1e8 100644 --- a/lib/routes/ncwu/notice.ts +++ b/lib/routes/ncwu/notice.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ncwu.edu.cn/xxtz.htm'], - }, + radar: [ + { + source: ['ncwu.edu.cn/xxtz.htm'], + }, + ], name: '学校通知', maintainers: [], handler, diff --git a/lib/routes/ndss-symposium/ndss.ts b/lib/routes/ndss-symposium/ndss.ts index 5b99fe023..598194c6e 100644 --- a/lib/routes/ndss-symposium/ndss.ts +++ b/lib/routes/ndss-symposium/ndss.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ndss-symposium.org/'], - }, + radar: [ + { + source: ['ndss-symposium.org/'], + }, + ], name: 'Accepted papers', maintainers: ['ZeddYu'], handler, diff --git a/lib/routes/neatdownloadmanager/download.ts b/lib/routes/neatdownloadmanager/download.ts index 015437622..f7bf6b948 100644 --- a/lib/routes/neatdownloadmanager/download.ts +++ b/lib/routes/neatdownloadmanager/download.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['neatdownloadmanager.com/index.php', 'neatdownloadmanager.com/'], - }, + radar: [ + { + source: ['neatdownloadmanager.com/index.php', 'neatdownloadmanager.com/'], + }, + ], name: 'Download', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/neea/jlpt.ts b/lib/routes/neea/jlpt.ts index c296f49f8..a01647622 100644 --- a/lib/routes/neea/jlpt.ts +++ b/lib/routes/neea/jlpt.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['jlpt.neea.cn/'], - }, + radar: [ + { + source: ['jlpt.neea.cn/'], + }, + ], name: '教育部考试中心日本语能力测试重要通知', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/netflav/index.ts b/lib/routes/netflav/index.ts index a445845a9..20382f26c 100644 --- a/lib/routes/netflav/index.ts +++ b/lib/routes/netflav/index.ts @@ -10,10 +10,12 @@ import * as path from 'node:path'; export const route: Route = { path: '/', - radar: { - source: ['netflav.com/'], - target: '', - }, + radar: [ + { + source: ['netflav.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/neu/news.ts b/lib/routes/neu/news.ts index 0d1a04a36..401ec142d 100644 --- a/lib/routes/neu/news.ts +++ b/lib/routes/neu/news.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['neunews.neu.edu.cn/:type/list.htm'], - }, + radar: [ + { + source: ['neunews.neu.edu.cn/:type/list.htm'], + }, + ], name: '新闻网', maintainers: ['JeasonLau'], handler, diff --git a/lib/routes/news/xhsxw.ts b/lib/routes/news/xhsxw.ts index 199b833b6..3ce94ba16 100644 --- a/lib/routes/news/xhsxw.ts +++ b/lib/routes/news/xhsxw.ts @@ -23,9 +23,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['news.cn/xhsxw.htm'], - }, + radar: [ + { + source: ['news.cn/xhsxw.htm'], + }, + ], name: '新华社新闻', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/newsmarket/index.ts b/lib/routes/newsmarket/index.ts index dac90b361..c64dd3229 100644 --- a/lib/routes/newsmarket/index.ts +++ b/lib/routes/newsmarket/index.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['newsmarket.com.tw/blog/category/:category', 'newsmarket.com.tw/'], - }, + radar: [ + { + source: ['newsmarket.com.tw/blog/category/:category', 'newsmarket.com.tw/'], + }, + ], name: '分類', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/newzmz/index.ts b/lib/routes/newzmz/index.ts index 812adcdfc..5850206fd 100644 --- a/lib/routes/newzmz/index.ts +++ b/lib/routes/newzmz/index.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['newzmz.com/'], - target: '', - }, + radar: [ + { + source: ['newzmz.com/'], + target: '', + }, + ], name: '指定剧集', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/nextapple/realtime.ts b/lib/routes/nextapple/realtime.ts index bca2a94e0..27a324104 100644 --- a/lib/routes/nextapple/realtime.ts +++ b/lib/routes/nextapple/realtime.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['tw.nextapple.com/', 'tw.nextapple.com/realtime/:category'], - }, + radar: [ + { + source: ['tw.nextapple.com/', 'tw.nextapple.com/realtime/:category'], + }, + ], name: '最新新聞', maintainers: ['miles170'], handler, diff --git a/lib/routes/ngocn2/index.ts b/lib/routes/ngocn2/index.ts index fbdd72299..d95557f1c 100644 --- a/lib/routes/ngocn2/index.ts +++ b/lib/routes/ngocn2/index.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ngocn2.org/'], - }, + radar: [ + { + source: ['ngocn2.org/'], + }, + ], name: '首页', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/nhentai/other.ts b/lib/routes/nhentai/other.ts index 67ad5f5c6..027c1661d 100644 --- a/lib/routes/nhentai/other.ts +++ b/lib/routes/nhentai/other.ts @@ -21,10 +21,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['nhentai.net/:key/:keyword'], - target: '/:key/:keyword', - }, + radar: [ + { + source: ['nhentai.net/:key/:keyword'], + target: '/:key/:keyword', + }, + ], name: 'Filter', maintainers: ['MegrezZhu', 'hoilc'], handler, diff --git a/lib/routes/nhentai/search.ts b/lib/routes/nhentai/search.ts index 06bbacb82..df945511f 100644 --- a/lib/routes/nhentai/search.ts +++ b/lib/routes/nhentai/search.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['nhentai.net/:key/:keyword'], - target: '/:key/:keyword', - }, + radar: [ + { + source: ['nhentai.net/:key/:keyword'], + target: '/:key/:keyword', + }, + ], name: 'Advanced Search', maintainers: ['MegrezZhu', 'hoilc'], handler, diff --git a/lib/routes/nhk/news-web-easy.ts b/lib/routes/nhk/news-web-easy.ts index 7998a688d..a7cb035ee 100644 --- a/lib/routes/nhk/news-web-easy.ts +++ b/lib/routes/nhk/news-web-easy.ts @@ -23,9 +23,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www3.nhk.or.jp/news/easy/', 'www3.nhk.or.jp/'], - }, + radar: [ + { + source: ['www3.nhk.or.jp/news/easy/', 'www3.nhk.or.jp/'], + }, + ], name: 'News Web Easy', maintainers: ['Andiedie'], handler, diff --git a/lib/routes/nhk/news.ts b/lib/routes/nhk/news.ts index a1d1cfa23..4bbf5099a 100644 --- a/lib/routes/nhk/news.ts +++ b/lib/routes/nhk/news.ts @@ -23,10 +23,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www3.nhk.or.jp/nhkworld/:lang/news/list/', 'www3.nhk.or.jp/nhkworld/:lang/news/'], - target: '/news/:lang', - }, + radar: [ + { + source: ['www3.nhk.or.jp/nhkworld/:lang/news/list/', 'www3.nhk.or.jp/nhkworld/:lang/news/'], + target: '/news/:lang', + }, + ], name: 'WORLD-JAPAN - Top Stories', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/niaogebiji/cat.ts b/lib/routes/niaogebiji/cat.ts index ed3649b44..0058f059b 100644 --- a/lib/routes/niaogebiji/cat.ts +++ b/lib/routes/niaogebiji/cat.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['niaogebiji.com/cat/:cat'], - }, + radar: [ + { + source: ['niaogebiji.com/cat/:cat'], + }, + ], name: '分类目录', maintainers: ['cKotoriKat'], handler, diff --git a/lib/routes/niaogebiji/index.ts b/lib/routes/niaogebiji/index.ts index ef12f665b..ded707e0b 100644 --- a/lib/routes/niaogebiji/index.ts +++ b/lib/routes/niaogebiji/index.ts @@ -6,10 +6,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/', - radar: { - source: ['niaogebiji.com/', 'niaogebiji.com/bulletin'], - target: '', - }, + radar: [ + { + source: ['niaogebiji.com/', 'niaogebiji.com/bulletin'], + target: '', + }, + ], name: 'Unknown', maintainers: ['WenryXu'], handler, diff --git a/lib/routes/niaogebiji/today.ts b/lib/routes/niaogebiji/today.ts index 6ab31aded..5f6e02c33 100644 --- a/lib/routes/niaogebiji/today.ts +++ b/lib/routes/niaogebiji/today.ts @@ -15,10 +15,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['niaogebiji.com/', 'niaogebiji.com/bulletin'], - target: '', - }, + radar: [ + { + source: ['niaogebiji.com/', 'niaogebiji.com/bulletin'], + target: '', + }, + ], name: '今日事', maintainers: ['KotoriK'], handler, diff --git a/lib/routes/nikkei/asia/index.ts b/lib/routes/nikkei/asia/index.ts index af125fd88..75d29f5fc 100644 --- a/lib/routes/nikkei/asia/index.ts +++ b/lib/routes/nikkei/asia/index.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['asia.nikkei.com/'], - }, + radar: [ + { + source: ['asia.nikkei.com/'], + }, + ], name: 'Nikkei Asia Latest News', maintainers: ['rainrdx'], handler, diff --git a/lib/routes/nikkei/news.ts b/lib/routes/nikkei/news.ts index bb7033d3d..e42700d26 100644 --- a/lib/routes/nikkei/news.ts +++ b/lib/routes/nikkei/news.ts @@ -22,10 +22,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.nikkei.com/:category/archive', 'www.nikkei.com/:category'], - target: '/:category', - }, + radar: [ + { + source: ['www.nikkei.com/:category/archive', 'www.nikkei.com/:category'], + target: '/:category', + }, + ], name: 'News', maintainers: ['Arracc'], handler, diff --git a/lib/routes/nintendo/direct.ts b/lib/routes/nintendo/direct.ts index ec6784cd3..fc8c794a3 100644 --- a/lib/routes/nintendo/direct.ts +++ b/lib/routes/nintendo/direct.ts @@ -21,9 +21,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['nintendo.com/nintendo-direct/archive', 'nintendo.com/'], - }, + radar: [ + { + source: ['nintendo.com/nintendo-direct/archive', 'nintendo.com/'], + }, + ], name: 'Nintendo Direct', maintainers: ['HFO4'], handler, diff --git a/lib/routes/nintendo/eshop-cn.ts b/lib/routes/nintendo/eshop-cn.ts index 387e0d30b..f8b3a8eb1 100644 --- a/lib/routes/nintendo/eshop-cn.ts +++ b/lib/routes/nintendo/eshop-cn.ts @@ -7,9 +7,11 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/eshop/cn', - radar: { - source: ['nintendoswitch.com.cn/software', 'nintendoswitch.com.cn/'], - }, + radar: [ + { + source: ['nintendoswitch.com.cn/software', 'nintendoswitch.com.cn/'], + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/nintendo/eshop-hk.ts b/lib/routes/nintendo/eshop-hk.ts index d347d9297..fa3515ba0 100644 --- a/lib/routes/nintendo/eshop-hk.ts +++ b/lib/routes/nintendo/eshop-hk.ts @@ -11,9 +11,11 @@ import * as path from 'node:path'; export const route: Route = { path: '/eshop/hk', - radar: { - source: ['nintendo.com.hk/software/switch', 'nintendo.com.hk/'], - }, + radar: [ + { + source: ['nintendo.com.hk/software/switch', 'nintendo.com.hk/'], + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/nintendo/eshop-jp.ts b/lib/routes/nintendo/eshop-jp.ts index 6c422ed9f..c34c02d35 100644 --- a/lib/routes/nintendo/eshop-jp.ts +++ b/lib/routes/nintendo/eshop-jp.ts @@ -9,9 +9,11 @@ import * as path from 'node:path'; export const route: Route = { path: '/eshop/jp', - radar: { - source: ['nintendo.co.jp/software/switch/index.html', 'nintendo.co.jp/'], - }, + radar: [ + { + source: ['nintendo.co.jp/software/switch/index.html', 'nintendo.co.jp/'], + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/nintendo/eshop-us.ts b/lib/routes/nintendo/eshop-us.ts index 545f08cc0..35181e6d5 100644 --- a/lib/routes/nintendo/eshop-us.ts +++ b/lib/routes/nintendo/eshop-us.ts @@ -8,9 +8,11 @@ import * as path from 'node:path'; export const route: Route = { path: '/eshop/us', - radar: { - source: ['nintendo.com/store/games', 'nintendo.com/'], - }, + radar: [ + { + source: ['nintendo.com/store/games', 'nintendo.com/'], + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/nintendo/news-china.ts b/lib/routes/nintendo/news-china.ts index a283f7e95..a6b3be7ac 100644 --- a/lib/routes/nintendo/news-china.ts +++ b/lib/routes/nintendo/news-china.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['nintendoswitch.com.cn/'], - }, + radar: [ + { + source: ['nintendoswitch.com.cn/'], + }, + ], name: '首页资讯(中国)', maintainers: ['NeverBehave'], handler, diff --git a/lib/routes/nintendo/news.ts b/lib/routes/nintendo/news.ts index a4fdbbbf8..49169ce9a 100644 --- a/lib/routes/nintendo/news.ts +++ b/lib/routes/nintendo/news.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['nintendo.com.hk/topics', 'nintendo.com.hk/'], - }, + radar: [ + { + source: ['nintendo.com.hk/topics', 'nintendo.com.hk/'], + }, + ], name: 'News(Hong Kong only)', maintainers: ['HFO4'], handler, diff --git a/lib/routes/nintendo/system-update.ts b/lib/routes/nintendo/system-update.ts index 784b6111a..41ee30b0c 100644 --- a/lib/routes/nintendo/system-update.ts +++ b/lib/routes/nintendo/system-update.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['nintendo.co.jp/support/switch/system_update/index.html', 'nintendo.co.jp/'], - }, + radar: [ + { + source: ['nintendo.co.jp/support/switch/system_update/index.html', 'nintendo.co.jp/'], + }, + ], name: 'Switch System Update(Japan)', maintainers: ['hoilc'], handler, diff --git a/lib/routes/nippon/index.ts b/lib/routes/nippon/index.ts index 8c3072a74..f2c14600d 100644 --- a/lib/routes/nippon/index.ts +++ b/lib/routes/nippon/index.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.nippon.com/nippon/:category?', 'www.nippon.com/cn'], - }, + radar: [ + { + source: ['www.nippon.com/nippon/:category?', 'www.nippon.com/cn'], + }, + ], name: 'Unknown', maintainers: ['laampui'], handler, diff --git a/lib/routes/njglyy/ygbjypx.ts b/lib/routes/njglyy/ygbjypx.ts index ca501a06b..7c758b35c 100644 --- a/lib/routes/njglyy/ygbjypx.ts +++ b/lib/routes/njglyy/ygbjypx.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['njglyy.com/ygb/jypx/jypx.aspx', 'njglyy.com/'], - }, + radar: [ + { + source: ['njglyy.com/ygb/jypx/jypx.aspx', 'njglyy.com/'], + }, + ], name: '员工版教育培训', maintainers: ['real-jiakai'], handler, diff --git a/lib/routes/njit/tzgg.ts b/lib/routes/njit/tzgg.ts index 78b81db57..83c50a05c 100644 --- a/lib/routes/njit/tzgg.ts +++ b/lib/routes/njit/tzgg.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.njit.edu.cn/'], - }, + radar: [ + { + source: ['www.njit.edu.cn/'], + }, + ], name: '南京工程学院通知公告', maintainers: ['zefengdaguo'], handler, diff --git a/lib/routes/nju/admission.ts b/lib/routes/nju/admission.ts index bd3b78d45..dcf9e1e24 100644 --- a/lib/routes/nju/admission.ts +++ b/lib/routes/nju/admission.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['admission.nju.edu.cn/tzgg/index.html', 'admission.nju.edu.cn/tzgg', 'admission.nju.edu.cn/'], - }, + radar: [ + { + source: ['admission.nju.edu.cn/tzgg/index.html', 'admission.nju.edu.cn/tzgg', 'admission.nju.edu.cn/'], + }, + ], name: '本科迎新', maintainers: ['ret-1'], handler, diff --git a/lib/routes/nju/dafls.ts b/lib/routes/nju/dafls.ts index 84c2eee94..57b4faa52 100644 --- a/lib/routes/nju/dafls.ts +++ b/lib/routes/nju/dafls.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['dafls.nju.edu.cn/13167/list.html', 'dafls.nju.edu.cn/'], - }, + radar: [ + { + source: ['dafls.nju.edu.cn/13167/list.html', 'dafls.nju.edu.cn/'], + }, + ], name: '大学外语部', maintainers: ['ret-1'], handler, diff --git a/lib/routes/nju/gra.ts b/lib/routes/nju/gra.ts index bdf231bc5..be8df1ab6 100644 --- a/lib/routes/nju/gra.ts +++ b/lib/routes/nju/gra.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['grawww.nju.edu.cn/main.htm', 'grawww.nju.edu.cn/'], - }, + radar: [ + { + source: ['grawww.nju.edu.cn/main.htm', 'grawww.nju.edu.cn/'], + }, + ], name: '研究生院', maintainers: ['ret-1'], handler, diff --git a/lib/routes/nju/hosptial.ts b/lib/routes/nju/hosptial.ts index 92fbe6d95..3b244217f 100644 --- a/lib/routes/nju/hosptial.ts +++ b/lib/routes/nju/hosptial.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['hospital.nju.edu.cn/ggtz/index.html'], - }, + radar: [ + { + source: ['hospital.nju.edu.cn/ggtz/index.html'], + }, + ], name: '校医院', maintainers: ['ret-1'], handler, diff --git a/lib/routes/nju/hqjt.ts b/lib/routes/nju/hqjt.ts index 6d5b6aa2c..dc3bdad10 100644 --- a/lib/routes/nju/hqjt.ts +++ b/lib/routes/nju/hqjt.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['webplus.nju.edu.cn/_s25/main.psp'], - }, + radar: [ + { + source: ['webplus.nju.edu.cn/_s25/main.psp'], + }, + ], name: '后勤集团', maintainers: ['ret-1'], handler, diff --git a/lib/routes/nju/itsc.ts b/lib/routes/nju/itsc.ts index ff0ada3ee..4b9d7661d 100644 --- a/lib/routes/nju/itsc.ts +++ b/lib/routes/nju/itsc.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['itsc.nju.edu.cn/tzgg/list.htm'], - }, + radar: [ + { + source: ['itsc.nju.edu.cn/tzgg/list.htm'], + }, + ], name: 'ITSC 信息中心', maintainers: ['ret-1'], handler, diff --git a/lib/routes/nju/jjc.ts b/lib/routes/nju/jjc.ts index 3cff468d9..6d29f0424 100644 --- a/lib/routes/nju/jjc.ts +++ b/lib/routes/nju/jjc.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['jjc.nju.edu.cn/main.htm', 'jjc.nju.edu.cn/'], - }, + radar: [ + { + source: ['jjc.nju.edu.cn/main.htm', 'jjc.nju.edu.cn/'], + }, + ], name: '基建处', maintainers: ['ret-1'], handler, diff --git a/lib/routes/nju/jw.ts b/lib/routes/nju/jw.ts index beaee75f9..92985f0e1 100644 --- a/lib/routes/nju/jw.ts +++ b/lib/routes/nju/jw.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['jw.nju.edu.cn/:type/list.htm'], - }, + radar: [ + { + source: ['jw.nju.edu.cn/:type/list.htm'], + }, + ], name: '本科生院', maintainers: ['cqjjjzr'], handler, diff --git a/lib/routes/nju/rczp.ts b/lib/routes/nju/rczp.ts index fa88c2223..bbfe922b8 100644 --- a/lib/routes/nju/rczp.ts +++ b/lib/routes/nju/rczp.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['rczp.nju.edu.cn/sylm/:type/index.html'], - }, + radar: [ + { + source: ['rczp.nju.edu.cn/sylm/:type/index.html'], + }, + ], name: '人才招聘网', maintainers: ['ret-1'], handler, diff --git a/lib/routes/nju/zcc.ts b/lib/routes/nju/zcc.ts index 6d97c5a8b..4937a6e90 100644 --- a/lib/routes/nju/zcc.ts +++ b/lib/routes/nju/zcc.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['zcc.nju.edu.cn/tzgg/gyfytdglk/index.html', 'zcc.nju.edu.cn/tzgg/index.html', 'zcc.nju.edu.cn/'], - }, + radar: [ + { + source: ['zcc.nju.edu.cn/tzgg/gyfytdglk/index.html', 'zcc.nju.edu.cn/tzgg/index.html', 'zcc.nju.edu.cn/'], + }, + ], name: '资产管理处', maintainers: ['ret-1'], handler, diff --git a/lib/routes/njucm/grabs.ts b/lib/routes/njucm/grabs.ts index 36086ed56..f87fa8e47 100644 --- a/lib/routes/njucm/grabs.ts +++ b/lib/routes/njucm/grabs.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['lib.njucm.edu.cn/2899/list.htm', 'lib.njucm.edu.cn/'], - }, + radar: [ + { + source: ['lib.njucm.edu.cn/2899/list.htm', 'lib.njucm.edu.cn/'], + }, + ], name: '研究生院博士招生', maintainers: ['real-jiakai'], handler, diff --git a/lib/routes/njust/gs.ts b/lib/routes/njust/gs.ts index 9740f5494..122657b46 100644 --- a/lib/routes/njust/gs.ts +++ b/lib/routes/njust/gs.ts @@ -19,10 +19,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gs.njust.edu.cn/:type/list.htm'], - target: '/gs/:type', - }, + radar: [ + { + source: ['gs.njust.edu.cn/:type/list.htm'], + target: '/gs/:type', + }, + ], name: '研究生院', maintainers: ['MilkShakeYoung', 'jasongzy'], handler, diff --git a/lib/routes/njxzc/home.ts b/lib/routes/njxzc/home.ts index 3efd25058..edccce1f3 100644 --- a/lib/routes/njxzc/home.ts +++ b/lib/routes/njxzc/home.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.njxzc.edu.cn/89/list.htm', 'www.njxzc.edu.cn/'], - }, + radar: [ + { + source: ['www.njxzc.edu.cn/89/list.htm', 'www.njxzc.edu.cn/'], + }, + ], name: '官网通知公告', maintainers: ['real-jiakai'], handler, diff --git a/lib/routes/njxzc/lib.ts b/lib/routes/njxzc/lib.ts index 7d58f840b..962e5ff6b 100644 --- a/lib/routes/njxzc/lib.ts +++ b/lib/routes/njxzc/lib.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['lib.njxzc.edu.cn/pxyhd/list.htm', 'lib.njxzc.edu.cn/'], - }, + radar: [ + { + source: ['lib.njxzc.edu.cn/pxyhd/list.htm', 'lib.njxzc.edu.cn/'], + }, + ], name: '图书馆通知公告', maintainers: ['real-jiakai'], handler, diff --git a/lib/routes/nltimes/news.ts b/lib/routes/nltimes/news.ts index 9fd34fd17..bad23e783 100644 --- a/lib/routes/nltimes/news.ts +++ b/lib/routes/nltimes/news.ts @@ -31,10 +31,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['nltimes.nl/categories/:category'], - target: '/news/:category', - }, + radar: [ + { + source: ['nltimes.nl/categories/:category'], + target: '/news/:category', + }, + ], name: 'News', maintainers: ['Hivol'], handler, diff --git a/lib/routes/nmc/weatheralarm.ts b/lib/routes/nmc/weatheralarm.ts index f5b040fef..14ac76ba0 100644 --- a/lib/routes/nmc/weatheralarm.ts +++ b/lib/routes/nmc/weatheralarm.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['nmc.cn/publish/alarm.html', 'nmc.cn/'], - target: '/weatheralarm', - }, + radar: [ + { + source: ['nmc.cn/publish/alarm.html', 'nmc.cn/'], + target: '/weatheralarm', + }, + ], name: 'Unknown', maintainers: ['ylc395'], handler, diff --git a/lib/routes/nodejs/blog.ts b/lib/routes/nodejs/blog.ts index 84ef3aa81..4153209e3 100644 --- a/lib/routes/nodejs/blog.ts +++ b/lib/routes/nodejs/blog.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['nodejs.org/:language/blog', 'nodejs.org/'], - }, + radar: [ + { + source: ['nodejs.org/:language/blog', 'nodejs.org/'], + }, + ], name: 'News', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/nogizaka46/blog.ts b/lib/routes/nogizaka46/blog.ts index 91562d46f..fd320f859 100644 --- a/lib/routes/nogizaka46/blog.ts +++ b/lib/routes/nogizaka46/blog.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['blog.nogizaka46.com/s/n46/diary/MEMBER'], - target: '/blog', - }, + radar: [ + { + source: ['blog.nogizaka46.com/s/n46/diary/MEMBER'], + target: '/blog', + }, + ], name: 'Nogizaka46 Blog 乃木坂 46 博客', maintainers: ['Kasper4649', 'akashigakki'], handler, diff --git a/lib/routes/nogizaka46/news.ts b/lib/routes/nogizaka46/news.ts index b0f1cc8e7..e145302ae 100644 --- a/lib/routes/nogizaka46/news.ts +++ b/lib/routes/nogizaka46/news.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['news.nogizaka46.com/s/n46/news/list'], - }, + radar: [ + { + source: ['news.nogizaka46.com/s/n46/news/list'], + }, + ], name: 'Nogizaka46 News 乃木坂 46 新闻', maintainers: ['crispgm', 'Fatpandac'], handler, diff --git a/lib/routes/notateslaapp/update.ts b/lib/routes/notateslaapp/update.ts index 8c6145130..c1c77487e 100644 --- a/lib/routes/notateslaapp/update.ts +++ b/lib/routes/notateslaapp/update.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['notateslaapp.com/software-updates/history', 'notateslaapp.com/software-updates', 'notateslaapp.com/'], - }, + radar: [ + { + source: ['notateslaapp.com/software-updates/history', 'notateslaapp.com/software-updates', 'notateslaapp.com/'], + }, + ], name: 'Tesla Software Updates', maintainers: ['mrbruce516'], handler, diff --git a/lib/routes/notefolio/search.ts b/lib/routes/notefolio/search.ts index 281e193db..a851594ee 100644 --- a/lib/routes/notefolio/search.ts +++ b/lib/routes/notefolio/search.ts @@ -86,9 +86,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['notefolio.net/search'], - }, + radar: [ + { + source: ['notefolio.net/search'], + }, + ], name: 'Works', maintainers: ['BianTan'], handler, diff --git a/lib/routes/notion/database.ts b/lib/routes/notion/database.ts index a2c21f8c2..eda785354 100644 --- a/lib/routes/notion/database.ts +++ b/lib/routes/notion/database.ts @@ -31,10 +31,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['notion.so/:id'], - target: '/database/:id', - }, + radar: [ + { + source: ['notion.so/:id'], + target: '/database/:id', + }, + ], name: 'Database', maintainers: ['curly210102'], handler, diff --git a/lib/routes/now/news.ts b/lib/routes/now/news.ts index ebe6f1b6d..d2bad419a 100644 --- a/lib/routes/now/news.ts +++ b/lib/routes/now/news.ts @@ -23,9 +23,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['news.now.com/'], - }, + radar: [ + { + source: ['news.now.com/'], + }, + ], name: '新聞', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/nowcoder/experience.ts b/lib/routes/nowcoder/experience.ts index e2d92df56..68f3f2827 100644 --- a/lib/routes/nowcoder/experience.ts +++ b/lib/routes/nowcoder/experience.ts @@ -20,10 +20,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['nowcoder.com/'], - target: '/experience', - }, + radar: [ + { + source: ['nowcoder.com/'], + target: '/experience', + }, + ], name: '面经', maintainers: ['huyyi'], handler, diff --git a/lib/routes/nowcoder/jobcenter.ts b/lib/routes/nowcoder/jobcenter.ts index e01fc32e2..cb66b9e23 100644 --- a/lib/routes/nowcoder/jobcenter.ts +++ b/lib/routes/nowcoder/jobcenter.ts @@ -23,10 +23,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['nowcoder.com/'], - target: '/jobcenter', - }, + radar: [ + { + source: ['nowcoder.com/'], + target: '/jobcenter', + }, + ], name: '实习广场 & 社招广场', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/nowcoder/recommend.ts b/lib/routes/nowcoder/recommend.ts index aa0f17522..ffcd0ea14 100644 --- a/lib/routes/nowcoder/recommend.ts +++ b/lib/routes/nowcoder/recommend.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['nowcoder.com/'], - }, + radar: [ + { + source: ['nowcoder.com/'], + }, + ], name: '求职推荐', maintainers: ['junfengP'], handler, diff --git a/lib/routes/nowcoder/schedule.ts b/lib/routes/nowcoder/schedule.ts index 3c86902ed..f392d5d19 100644 --- a/lib/routes/nowcoder/schedule.ts +++ b/lib/routes/nowcoder/schedule.ts @@ -15,10 +15,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['nowcoder.com/'], - target: '/schedule', - }, + radar: [ + { + source: ['nowcoder.com/'], + target: '/schedule', + }, + ], name: '校招日程', maintainers: ['junfengP'], handler, diff --git a/lib/routes/ntdtv/channel.ts b/lib/routes/ntdtv/channel.ts index a356327f3..ad9b80641 100644 --- a/lib/routes/ntdtv/channel.ts +++ b/lib/routes/ntdtv/channel.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.ntdtv.com/:language/:id'], - }, + radar: [ + { + source: ['www.ntdtv.com/:language/:id'], + }, + ], name: '频道', maintainers: ['Fatpandac'], handler, diff --git a/lib/routes/nua/dc.ts b/lib/routes/nua/dc.ts index 21befa70e..381a4276c 100644 --- a/lib/routes/nua/dc.ts +++ b/lib/routes/nua/dc.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['dc.nua.edu.cn/:type/list.htm'], - }, + radar: [ + { + source: ['dc.nua.edu.cn/:type/list.htm'], + }, + ], name: 'School of Design', maintainers: ['evnydd0sf'], handler, diff --git a/lib/routes/nua/gra.ts b/lib/routes/nua/gra.ts index e314be6c4..bebf29ad8 100644 --- a/lib/routes/nua/gra.ts +++ b/lib/routes/nua/gra.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['grad.nua.edu.cn/:type/list.htm'], - }, + radar: [ + { + source: ['grad.nua.edu.cn/:type/list.htm'], + }, + ], name: 'Graduate Institute', maintainers: ['evnydd0sf'], handler, diff --git a/lib/routes/nua/index.ts b/lib/routes/nua/index.ts index 73ed98663..22b65876d 100644 --- a/lib/routes/nua/index.ts +++ b/lib/routes/nua/index.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['index.nua.edu.cn/:type/list.htm'], - }, + radar: [ + { + source: ['index.nua.edu.cn/:type/list.htm'], + }, + ], name: 'Official Information', maintainers: ['evnydd0sf'], handler, diff --git a/lib/routes/nua/lib.ts b/lib/routes/nua/lib.ts index ac791f52a..2eb74a133 100644 --- a/lib/routes/nua/lib.ts +++ b/lib/routes/nua/lib.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['lib.nua.edu.cn/:type/list.htm'], - }, + radar: [ + { + source: ['lib.nua.edu.cn/:type/list.htm'], + }, + ], name: 'Library', maintainers: ['evnydd0sf'], handler, diff --git a/lib/routes/nua/sxw.ts b/lib/routes/nua/sxw.ts index 9bd3431e3..5937c67ce 100644 --- a/lib/routes/nua/sxw.ts +++ b/lib/routes/nua/sxw.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['sxw.nua.edu.cn/:type/list.htm'], - }, + radar: [ + { + source: ['sxw.nua.edu.cn/:type/list.htm'], + }, + ], name: 'Shuangxing Information', maintainers: ['evnydd0sf'], handler, diff --git a/lib/routes/nuist/bulletin.ts b/lib/routes/nuist/bulletin.ts index e328a8107..2348a6312 100644 --- a/lib/routes/nuist/bulletin.ts +++ b/lib/routes/nuist/bulletin.ts @@ -35,10 +35,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bulletin.nuist.edu.cn/:category/list.htm'], - target: '/bulletin/:category', - }, + radar: [ + { + source: ['bulletin.nuist.edu.cn/:category/list.htm'], + target: '/bulletin/:category', + }, + ], name: '南信大信息公告栏', maintainers: ['gylidian'], handler, diff --git a/lib/routes/nuist/library/lib.ts b/lib/routes/nuist/library/lib.ts index ae078fba1..03f9262fc 100644 --- a/lib/routes/nuist/library/lib.ts +++ b/lib/routes/nuist/library/lib.ts @@ -8,9 +8,11 @@ const baseUrl = 'https://lib.nuist.edu.cn'; export const route: Route = { path: '/lib', - radar: { - source: ['lib.nuist.edu.cn/', 'lib.nuist.edu.cn/index/tzgg.htm'], - }, + radar: [ + { + source: ['lib.nuist.edu.cn/', 'lib.nuist.edu.cn/index/tzgg.htm'], + }, + ], name: 'Unknown', maintainers: ['gylidian'], handler, diff --git a/lib/routes/nuist/scs.ts b/lib/routes/nuist/scs.ts index 74599c3f0..f347f153c 100644 --- a/lib/routes/nuist/scs.ts +++ b/lib/routes/nuist/scs.ts @@ -19,10 +19,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['scs.nuist.edu.cn/:category/list.htm'], - target: '/scs/:category', - }, + radar: [ + { + source: ['scs.nuist.edu.cn/:category/list.htm'], + target: '/scs/:category', + }, + ], name: 'NUIST CS(南信大计软院)', maintainers: ['gylidian'], handler, diff --git a/lib/routes/nuist/xgc.ts b/lib/routes/nuist/xgc.ts index dbb513177..2b7037792 100644 --- a/lib/routes/nuist/xgc.ts +++ b/lib/routes/nuist/xgc.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['xgc.nuist.edu.cn/', 'xgc.nuist.edu.cn/419/list.htm'], - }, + radar: [ + { + source: ['xgc.nuist.edu.cn/', 'xgc.nuist.edu.cn/419/list.htm'], + }, + ], name: '南信大学生工作处', maintainers: ['gylidian'], handler, diff --git a/lib/routes/nytimes/book.ts b/lib/routes/nytimes/book.ts index ae5171c5f..edc4fa0b0 100644 --- a/lib/routes/nytimes/book.ts +++ b/lib/routes/nytimes/book.ts @@ -29,10 +29,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['nytimes.com/'], - target: '', - }, + radar: [ + { + source: ['nytimes.com/'], + target: '', + }, + ], name: 'Best Seller Books', maintainers: ['melvinto'], handler, diff --git a/lib/routes/nytimes/daily-briefing-chinese.ts b/lib/routes/nytimes/daily-briefing-chinese.ts index 0c942b8dd..31afb6f7a 100644 --- a/lib/routes/nytimes/daily-briefing-chinese.ts +++ b/lib/routes/nytimes/daily-briefing-chinese.ts @@ -22,10 +22,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['nytimes.com/'], - target: '', - }, + radar: [ + { + source: ['nytimes.com/'], + target: '', + }, + ], name: '新闻简报', maintainers: ['yueyericardo', 'nczitzk'], handler, diff --git a/lib/routes/nytimes/index.ts b/lib/routes/nytimes/index.ts index 869ceae2d..7aacef149 100644 --- a/lib/routes/nytimes/index.ts +++ b/lib/routes/nytimes/index.ts @@ -19,10 +19,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['nytimes.com/'], - target: '', - }, + radar: [ + { + source: ['nytimes.com/'], + target: '', + }, + ], name: 'News', maintainers: ['HenryQW'], handler, diff --git a/lib/routes/odaily/activity.ts b/lib/routes/odaily/activity.ts index e97b8be4f..be3f3edef 100644 --- a/lib/routes/odaily/activity.ts +++ b/lib/routes/odaily/activity.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['0daily.com/activityPage', '0daily.com/'], - }, + radar: [ + { + source: ['0daily.com/activityPage', '0daily.com/'], + }, + ], name: '活动', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/odaily/newsflash.ts b/lib/routes/odaily/newsflash.ts index 44b638859..a1834f3d7 100644 --- a/lib/routes/odaily/newsflash.ts +++ b/lib/routes/odaily/newsflash.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['0daily.com/newsflash', '0daily.com/'], - }, + radar: [ + { + source: ['0daily.com/newsflash', '0daily.com/'], + }, + ], name: '快讯', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/odaily/post.ts b/lib/routes/odaily/post.ts index 74591e846..53e0db4c4 100644 --- a/lib/routes/odaily/post.ts +++ b/lib/routes/odaily/post.ts @@ -30,9 +30,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['0daily.com/'], - }, + radar: [ + { + source: ['0daily.com/'], + }, + ], name: '文章', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/odaily/search-news.ts b/lib/routes/odaily/search-news.ts index c06332bea..8a9e3159c 100644 --- a/lib/routes/odaily/search-news.ts +++ b/lib/routes/odaily/search-news.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['0daily.com/search/:keyword'], - }, + radar: [ + { + source: ['0daily.com/search/:keyword'], + }, + ], name: '搜索快讯', maintainers: ['snowraincloud'], handler, diff --git a/lib/routes/odaily/user.ts b/lib/routes/odaily/user.ts index fc2b210a8..89493cb52 100644 --- a/lib/routes/odaily/user.ts +++ b/lib/routes/odaily/user.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['0daily.com/user/:id', '0daily.com/'], - }, + radar: [ + { + source: ['0daily.com/user/:id', '0daily.com/'], + }, + ], name: '用户文章', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/onet/news.ts b/lib/routes/onet/news.ts index a040d89ad..00bd05500 100644 --- a/lib/routes/onet/news.ts +++ b/lib/routes/onet/news.ts @@ -24,9 +24,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['wiadomosci.onet.pl/'], - }, + radar: [ + { + source: ['wiadomosci.onet.pl/'], + }, + ], name: 'News', maintainers: ['Vegann'], handler, diff --git a/lib/routes/openwrt/releases.ts b/lib/routes/openwrt/releases.ts index c939e9133..aa1af7cda 100644 --- a/lib/routes/openwrt/releases.ts +++ b/lib/routes/openwrt/releases.ts @@ -4,10 +4,12 @@ import { load } from 'cheerio'; export const route: Route = { path: '/releases/:brand/:model', - radar: { - source: ['openwrt.org/toh/:band/:model'], - target: '/releases/:model', - }, + radar: [ + { + source: ['openwrt.org/toh/:band/:model'], + target: '/releases/:model', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/oschina/news.ts b/lib/routes/oschina/news.ts index 84dd58ca9..06b702771 100644 --- a/lib/routes/oschina/news.ts +++ b/lib/routes/oschina/news.ts @@ -46,10 +46,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['oschina.net/news/:category'], - target: '/news/:category', - }, + radar: [ + { + source: ['oschina.net/news/:category'], + target: '/news/:category', + }, + ], name: '资讯', maintainers: ['tgly307', 'zengxs'], handler, diff --git a/lib/routes/oschina/topic.ts b/lib/routes/oschina/topic.ts index 6ccfa5ef3..4f77b16c5 100644 --- a/lib/routes/oschina/topic.ts +++ b/lib/routes/oschina/topic.ts @@ -24,9 +24,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['oschina.net/question/topic/:topic'], - }, + radar: [ + { + source: ['oschina.net/question/topic/:topic'], + }, + ], name: '问答主题', maintainers: ['loveely7'], handler, diff --git a/lib/routes/oschina/user.ts b/lib/routes/oschina/user.ts index 4ab097706..3c0198625 100644 --- a/lib/routes/oschina/user.ts +++ b/lib/routes/oschina/user.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['my.oschina.net/u/:uid'], - }, + radar: [ + { + source: ['my.oschina.net/u/:uid'], + }, + ], name: '数字型账号用户博客', maintainers: [], handler, diff --git a/lib/routes/otobanana/cast.ts b/lib/routes/otobanana/cast.ts index 30ef1bab0..85b3039e3 100644 --- a/lib/routes/otobanana/cast.ts +++ b/lib/routes/otobanana/cast.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: true, supportScihub: false, }, - radar: { - source: ['otobanana.com/user/:id/cast', 'otobanana.com/user/:id'], - }, + radar: [ + { + source: ['otobanana.com/user/:id/cast', 'otobanana.com/user/:id'], + }, + ], name: 'Cast 音声投稿', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/otobanana/livestream.ts b/lib/routes/otobanana/livestream.ts index 959bedcbf..765eecf8a 100644 --- a/lib/routes/otobanana/livestream.ts +++ b/lib/routes/otobanana/livestream.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['otobanana.com/user/:id/livestream', 'otobanana.com/user/:id'], - }, + radar: [ + { + source: ['otobanana.com/user/:id/livestream', 'otobanana.com/user/:id'], + }, + ], name: 'Livestream ライブ配信', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/otobanana/timeline.ts b/lib/routes/otobanana/timeline.ts index 2a7579244..6d711f355 100644 --- a/lib/routes/otobanana/timeline.ts +++ b/lib/routes/otobanana/timeline.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: true, supportScihub: false, }, - radar: { - source: ['otobanana.com/user/:id'], - }, + radar: [ + { + source: ['otobanana.com/user/:id'], + }, + ], name: 'Timeline タイムライン', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/ouc/it-postgraduate.ts b/lib/routes/ouc/it-postgraduate.ts index 634c058f2..e3e6893eb 100644 --- a/lib/routes/ouc/it-postgraduate.ts +++ b/lib/routes/ouc/it-postgraduate.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['it.ouc.edu.cn/_s381/16619/list.psp', 'it.ouc.edu.cn/16619/list.htm', 'it.ouc.edu.cn/'], - }, + radar: [ + { + source: ['it.ouc.edu.cn/_s381/16619/list.psp', 'it.ouc.edu.cn/16619/list.htm', 'it.ouc.edu.cn/'], + }, + ], name: '信息科学与工程学院研究生招生通知公告', maintainers: ['shengmaosu'], handler, diff --git a/lib/routes/ouc/it-tx.ts b/lib/routes/ouc/it-tx.ts index 30fb1c545..88290eec2 100644 --- a/lib/routes/ouc/it-tx.ts +++ b/lib/routes/ouc/it-tx.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['it.ouc.edu.cn/tx/:id/list.htm'], - target: '/it/tx/:id', - }, + radar: [ + { + source: ['it.ouc.edu.cn/tx/:id/list.htm'], + target: '/it/tx/:id', + }, + ], name: '信息科学与工程学院团学工作', maintainers: ['3401797899'], handler, diff --git a/lib/routes/ouc/it.ts b/lib/routes/ouc/it.ts index 6e8a37cf5..507fbe06c 100644 --- a/lib/routes/ouc/it.ts +++ b/lib/routes/ouc/it.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['it.ouc.edu.cn/'], - target: '/it', - }, + radar: [ + { + source: ['it.ouc.edu.cn/'], + target: '/it', + }, + ], name: '信息科学与工程学院', maintainers: ['GeoffreyChen777', '3401797899'], handler, diff --git a/lib/routes/ouc/jwc.ts b/lib/routes/ouc/jwc.ts index e4f25f6b0..e5233eec4 100644 --- a/lib/routes/ouc/jwc.ts +++ b/lib/routes/ouc/jwc.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['jwc.ouc.edu.cn/', 'jwc.ouc.edu.cn/6517/list.htm'], - }, + radar: [ + { + source: ['jwc.ouc.edu.cn/', 'jwc.ouc.edu.cn/6517/list.htm'], + }, + ], name: '教务处', maintainers: ['3401797899'], handler, diff --git a/lib/routes/ouc/jwgl.ts b/lib/routes/ouc/jwgl.ts index be3bc5c15..a26401cb5 100644 --- a/lib/routes/ouc/jwgl.ts +++ b/lib/routes/ouc/jwgl.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['jwgl.ouc.edu.cn/cas/login.action', 'jwgl.ouc.edu.cn/public/SchoolNotice.jsp'], - }, + radar: [ + { + source: ['jwgl.ouc.edu.cn/cas/login.action', 'jwgl.ouc.edu.cn/public/SchoolNotice.jsp'], + }, + ], name: '选课信息教务通知', maintainers: ['3401797899'], handler, diff --git a/lib/routes/ouc/yjs.ts b/lib/routes/ouc/yjs.ts index f19aec865..9777e9536 100644 --- a/lib/routes/ouc/yjs.ts +++ b/lib/routes/ouc/yjs.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yz.ouc.edu.cn/5926/list.htm'], - }, + radar: [ + { + source: ['yz.ouc.edu.cn/5926/list.htm'], + }, + ], name: '研究生院', maintainers: ['shengmaosu'], handler, diff --git a/lib/routes/oup/index.ts b/lib/routes/oup/index.ts index a3f67f06f..dc52746ee 100644 --- a/lib/routes/oup/index.ts +++ b/lib/routes/oup/index.ts @@ -24,9 +24,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['academic.oup.com/', 'academic.oup.com/:name/issue'], - }, + radar: [ + { + source: ['academic.oup.com/', 'academic.oup.com/:name/issue'], + }, + ], name: 'Oxford Academic', maintainers: [], handler, diff --git a/lib/routes/panewslab/author.ts b/lib/routes/panewslab/author.ts index eef250164..d4c66eb32 100644 --- a/lib/routes/panewslab/author.ts +++ b/lib/routes/panewslab/author.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['panewslab.com/'], - }, + radar: [ + { + source: ['panewslab.com/'], + }, + ], name: '专栏', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/panewslab/index.ts b/lib/routes/panewslab/index.ts index bfee9ce42..e85fe8fab 100644 --- a/lib/routes/panewslab/index.ts +++ b/lib/routes/panewslab/index.ts @@ -32,9 +32,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['panewslab.com/'], - }, + radar: [ + { + source: ['panewslab.com/'], + }, + ], name: '深度', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/panewslab/news.ts b/lib/routes/panewslab/news.ts index 78fc768dc..5a46f25bb 100644 --- a/lib/routes/panewslab/news.ts +++ b/lib/routes/panewslab/news.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['panewslab.com/'], - }, + radar: [ + { + source: ['panewslab.com/'], + }, + ], name: '快讯', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/panewslab/topic.ts b/lib/routes/panewslab/topic.ts index 5a291f22d..46909c8d8 100644 --- a/lib/routes/panewslab/topic.ts +++ b/lib/routes/panewslab/topic.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['panewslab.com/'], - }, + radar: [ + { + source: ['panewslab.com/'], + }, + ], name: '专题', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/paradigm/writing.ts b/lib/routes/paradigm/writing.ts index dd994fbd3..ab9bf221b 100644 --- a/lib/routes/paradigm/writing.ts +++ b/lib/routes/paradigm/writing.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['paradigm.xyz/writing'], - }, + radar: [ + { + source: ['paradigm.xyz/writing'], + }, + ], name: 'Writing', maintainers: ['Fatpandac'], handler, diff --git a/lib/routes/paulgraham/article.ts b/lib/routes/paulgraham/article.ts index 1327ca1f5..8a07c4ae2 100644 --- a/lib/routes/paulgraham/article.ts +++ b/lib/routes/paulgraham/article.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['paulgraham.com/articles.html'], - }, + radar: [ + { + source: ['paulgraham.com/articles.html'], + }, + ], name: 'Essays', maintainers: ['Maecenas', 'nczitzk'], handler, diff --git a/lib/routes/penguin-random-house/articles.ts b/lib/routes/penguin-random-house/articles.ts index 2d6eca048..3673ab398 100644 --- a/lib/routes/penguin-random-house/articles.ts +++ b/lib/routes/penguin-random-house/articles.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['penguinrandomhouse.com/articles'], - }, + radar: [ + { + source: ['penguinrandomhouse.com/articles'], + }, + ], name: 'Articles', maintainers: ['StevenRCE0'], handler, diff --git a/lib/routes/penguin-random-house/thereaddown.ts b/lib/routes/penguin-random-house/thereaddown.ts index 31986da90..8a3321e56 100644 --- a/lib/routes/penguin-random-house/thereaddown.ts +++ b/lib/routes/penguin-random-house/thereaddown.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['penguinrandomhouse.com/the-read-down'], - }, + radar: [ + { + source: ['penguinrandomhouse.com/the-read-down'], + }, + ], name: 'Book Lists', maintainers: ['StevenRCE0'], handler, diff --git a/lib/routes/people/liuyan.ts b/lib/routes/people/liuyan.ts index f5927ac25..29ba22582 100644 --- a/lib/routes/people/liuyan.ts +++ b/lib/routes/people/liuyan.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['liuyan.people.com.cn/'], - }, + radar: [ + { + source: ['liuyan.people.com.cn/'], + }, + ], name: '领导留言板', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/people/xjpjh.ts b/lib/routes/people/xjpjh.ts index 35dd77ec4..21250193c 100644 --- a/lib/routes/people/xjpjh.ts +++ b/lib/routes/people/xjpjh.ts @@ -19,10 +19,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['people.com.cn/'], - target: '/:site?/:category?', - }, + radar: [ + { + source: ['people.com.cn/'], + target: '/:site?/:category?', + }, + ], name: '习近平系列重要讲话', maintainers: [], handler, diff --git a/lib/routes/peopo/topic.ts b/lib/routes/peopo/topic.ts index 459ca6c2f..874723103 100644 --- a/lib/routes/peopo/topic.ts +++ b/lib/routes/peopo/topic.ts @@ -19,10 +19,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['peopo.org/topic/:topicId'], - target: '/topic/:topicId', - }, + radar: [ + { + source: ['peopo.org/topic/:topicId'], + target: '/topic/:topicId', + }, + ], name: '新聞分類', maintainers: [], handler, diff --git a/lib/routes/phoronix/index.ts b/lib/routes/phoronix/index.ts index 7ebb88712..d4063906a 100644 --- a/lib/routes/phoronix/index.ts +++ b/lib/routes/phoronix/index.ts @@ -128,9 +128,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['phoronix.com/:category?/:topic?'], - }, + radar: [ + { + source: ['phoronix.com/:category?/:topic?'], + }, + ], name: 'News & Reviews', maintainers: ['oppliate', 'Rongronggg9'], handler, diff --git a/lib/routes/pianyuan/app.ts b/lib/routes/pianyuan/app.ts index 9b51595cd..7047bea63 100644 --- a/lib/routes/pianyuan/app.ts +++ b/lib/routes/pianyuan/app.ts @@ -21,10 +21,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['pianyuan.org/'], - target: '/index', - }, + radar: [ + { + source: ['pianyuan.org/'], + target: '/index', + }, + ], name: '最新资源', maintainers: ['greatcodeeer', 'jerry1119'], handler, diff --git a/lib/routes/pianyuan/search.ts b/lib/routes/pianyuan/search.ts index c9d8e1ef8..f69921688 100644 --- a/lib/routes/pianyuan/search.ts +++ b/lib/routes/pianyuan/search.ts @@ -5,10 +5,12 @@ import utils from './utils'; export const route: Route = { path: '/indexers/pianyuan/results/search/api', - radar: { - source: ['pianyuan.org/'], - target: '/index', - }, + radar: [ + { + source: ['pianyuan.org/'], + target: '/index', + }, + ], name: 'Unknown', maintainers: ['jerry1119'], handler, diff --git a/lib/routes/picnob/user.ts b/lib/routes/picnob/user.ts index 7e3190533..8bf9b6399 100644 --- a/lib/routes/picnob/user.ts +++ b/lib/routes/picnob/user.ts @@ -13,9 +13,11 @@ import puppeteer from '@/utils/puppeteer'; export const route: Route = { path: '/user/:id', - radar: { - source: ['picnob.com/profile/:id/*'], - }, + radar: [ + { + source: ['picnob.com/profile/:id/*'], + }, + ], name: 'Unknown', maintainers: ['TonyRL', 'micheal-death'], handler, diff --git a/lib/routes/picuki/profile.ts b/lib/routes/picuki/profile.ts index 6f6d673e7..b6c8b22a0 100644 --- a/lib/routes/picuki/profile.ts +++ b/lib/routes/picuki/profile.ts @@ -37,10 +37,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.picuki.com/profile/:id'], - target: '/profile/:id', - }, + radar: [ + { + source: ['www.picuki.com/profile/:id'], + target: '/profile/:id', + }, + ], name: 'User Profile - Picuki', maintainers: ['hoilc', 'Rongronggg9', 'devinmugen'], handler, diff --git a/lib/routes/pikabu/user.ts b/lib/routes/pikabu/user.ts index 824d25fe4..34f054f74 100644 --- a/lib/routes/pikabu/user.ts +++ b/lib/routes/pikabu/user.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['pikabu.ru/:name'], - }, + radar: [ + { + source: ['pikabu.ru/:name'], + }, + ], name: 'User', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/pincong/topic.ts b/lib/routes/pincong/topic.ts index 51e92d7b8..9c84da8f6 100644 --- a/lib/routes/pincong/topic.ts +++ b/lib/routes/pincong/topic.ts @@ -6,9 +6,11 @@ import { baseUrl, puppeteerGet } from './utils'; export const route: Route = { path: '/topic/:topic', - radar: { - source: ['pincong.rocks/topic/:topic'], - }, + radar: [ + { + source: ['pincong.rocks/topic/:topic'], + }, + ], name: 'Unknown', maintainers: ['zphw'], handler, diff --git a/lib/routes/pingwest/status.ts b/lib/routes/pingwest/status.ts index 849b38e24..9031f3895 100644 --- a/lib/routes/pingwest/status.ts +++ b/lib/routes/pingwest/status.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['pingwest.com/status', 'pingwest.com/'], - }, + radar: [ + { + source: ['pingwest.com/status', 'pingwest.com/'], + }, + ], name: '实时要闻', maintainers: ['sanmmm'], handler, diff --git a/lib/routes/pingwest/user.ts b/lib/routes/pingwest/user.ts index b632e3676..6f57f2245 100644 --- a/lib/routes/pingwest/user.ts +++ b/lib/routes/pingwest/user.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['pingwest.com/user/:uid/:type', 'pingwest.com/'], - target: '/user/:uid/:type', - }, + radar: [ + { + source: ['pingwest.com/user/:uid/:type', 'pingwest.com/'], + target: '/user/:uid/:type', + }, + ], name: '用户', maintainers: ['sanmmm'], handler, diff --git a/lib/routes/pixabay/search.ts b/lib/routes/pixabay/search.ts index f71fa8b64..a18ceac2a 100644 --- a/lib/routes/pixabay/search.ts +++ b/lib/routes/pixabay/search.ts @@ -27,10 +27,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['pixabay.com/:searchType/search/:q'], - target: '/search/:q', - }, + radar: [ + { + source: ['pixabay.com/:searchType/search/:q'], + target: '/search/:q', + }, + ], name: 'Search', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/pixiv/bookmarks.ts b/lib/routes/pixiv/bookmarks.ts index a6ab6de00..862cc2ead 100644 --- a/lib/routes/pixiv/bookmarks.ts +++ b/lib/routes/pixiv/bookmarks.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.pixiv.net/users/:id/bookmarks/artworks'], - }, + radar: [ + { + source: ['www.pixiv.net/users/:id/bookmarks/artworks'], + }, + ], name: 'User Bookmark', maintainers: ['EYHN'], handler, diff --git a/lib/routes/pixiv/illustfollow.ts b/lib/routes/pixiv/illustfollow.ts index 24e53a7b6..33072455f 100644 --- a/lib/routes/pixiv/illustfollow.ts +++ b/lib/routes/pixiv/illustfollow.ts @@ -24,9 +24,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.pixiv.net/bookmark_new_illust.php'], - }, + radar: [ + { + source: ['www.pixiv.net/bookmark_new_illust.php'], + }, + ], name: 'Following timeline', maintainers: ['ClarkeCheng'], handler, diff --git a/lib/routes/pixiv/novels.ts b/lib/routes/pixiv/novels.ts index 1c46d0bfc..9d9ccdf5b 100644 --- a/lib/routes/pixiv/novels.ts +++ b/lib/routes/pixiv/novels.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.pixiv.net/users/:id/novels'], - }, + radar: [ + { + source: ['www.pixiv.net/users/:id/novels'], + }, + ], name: 'User Novels', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/pixiv/user.ts b/lib/routes/pixiv/user.ts index 5e24048aa..bb1a185de 100644 --- a/lib/routes/pixiv/user.ts +++ b/lib/routes/pixiv/user.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.pixiv.net/users/:id'], - }, + radar: [ + { + source: ['www.pixiv.net/users/:id'], + }, + ], name: 'User Activity', maintainers: ['DIYgod'], handler, diff --git a/lib/routes/piyao/jrpy.ts b/lib/routes/piyao/jrpy.ts index 0267be058..ec6128538 100644 --- a/lib/routes/piyao/jrpy.ts +++ b/lib/routes/piyao/jrpy.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['piyao.org.cn/jrpy/index.htm'], - }, + radar: [ + { + source: ['piyao.org.cn/jrpy/index.htm'], + }, + ], name: '今日辟谣', maintainers: ['Fatpandac'], handler, diff --git a/lib/routes/pkmer/recent.ts b/lib/routes/pkmer/recent.ts index 43a81e6f9..2ef02f69d 100644 --- a/lib/routes/pkmer/recent.ts +++ b/lib/routes/pkmer/recent.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['pkmer.cn/page/*'], - }, + radar: [ + { + source: ['pkmer.cn/page/*'], + }, + ], name: '最近更新', maintainers: ['Gnoyong'], handler, diff --git a/lib/routes/pku/bbs/hot.ts b/lib/routes/pku/bbs/hot.ts index 5c8408632..f5bdc41fa 100644 --- a/lib/routes/pku/bbs/hot.ts +++ b/lib/routes/pku/bbs/hot.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bbs.pku.edu.cn/v2/hot-topic.php', 'bbs.pku.edu.cn/'], - }, + radar: [ + { + source: ['bbs.pku.edu.cn/v2/hot-topic.php', 'bbs.pku.edu.cn/'], + }, + ], name: '北大未名 BBS 全站十大', maintainers: ['wooddance'], handler, diff --git a/lib/routes/pku/cls/announcement.ts b/lib/routes/pku/cls/announcement.ts index 308813a1a..9523afe06 100644 --- a/lib/routes/pku/cls/announcement.ts +++ b/lib/routes/pku/cls/announcement.ts @@ -21,9 +21,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bio.pku.edu.cn/homes/Index/news/21/21.html', 'bio.pku.edu.cn/'], - }, + radar: [ + { + source: ['bio.pku.edu.cn/homes/Index/news/21/21.html', 'bio.pku.edu.cn/'], + }, + ], name: '生命科学学院通知公告', maintainers: ['william-swl'], handler, diff --git a/lib/routes/pku/cls/lecture.ts b/lib/routes/pku/cls/lecture.ts index 29021181b..8ce515f93 100644 --- a/lib/routes/pku/cls/lecture.ts +++ b/lib/routes/pku/cls/lecture.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bio.pku.edu.cn/homes/Index/news_jz/7/7.html', 'bio.pku.edu.cn/'], - }, + radar: [ + { + source: ['bio.pku.edu.cn/homes/Index/news_jz/7/7.html', 'bio.pku.edu.cn/'], + }, + ], name: '生命科学学院近期讲座', maintainers: ['TPOB'], handler, diff --git a/lib/routes/pku/hr.ts b/lib/routes/pku/hr.ts index 45eff614a..99d904d05 100644 --- a/lib/routes/pku/hr.ts +++ b/lib/routes/pku/hr.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['hr.pku.edu.cn/'], - }, + radar: [ + { + source: ['hr.pku.edu.cn/'], + }, + ], name: '人事处', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/pku/nsd.ts b/lib/routes/pku/nsd.ts index b9fa845b2..039ad8868 100644 --- a/lib/routes/pku/nsd.ts +++ b/lib/routes/pku/nsd.ts @@ -34,9 +34,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['nsd.pku.edu.cn/'], - }, + radar: [ + { + source: ['nsd.pku.edu.cn/'], + }, + ], name: '观点 - 国家发展研究院', maintainers: ['MisLink'], handler, diff --git a/lib/routes/pku/pkuyjs.ts b/lib/routes/pku/pkuyjs.ts index 3fd956103..5b09196ab 100644 --- a/lib/routes/pku/pkuyjs.ts +++ b/lib/routes/pku/pkuyjs.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['admission.pku.edu.cn/zsxx/sszs/index.htm', 'admission.pku.edu.cn/'], - }, + radar: [ + { + source: ['admission.pku.edu.cn/zsxx/sszs/index.htm', 'admission.pku.edu.cn/'], + }, + ], name: '研究生招生网', maintainers: ['pkuyjs'], handler, diff --git a/lib/routes/pku/rccp/mzyt.ts b/lib/routes/pku/rccp/mzyt.ts index 81023ff7f..9b05a588e 100644 --- a/lib/routes/pku/rccp/mzyt.ts +++ b/lib/routes/pku/rccp/mzyt.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.rccp.pku.edu.cn/'], - }, + radar: [ + { + source: ['www.rccp.pku.edu.cn/'], + }, + ], name: '每周一推 - 中国政治学研究中心', maintainers: ['vhxubo'], handler, diff --git a/lib/routes/pku/ss/admission.ts b/lib/routes/pku/ss/admission.ts index 0028c2146..267ada8b0 100644 --- a/lib/routes/pku/ss/admission.ts +++ b/lib/routes/pku/ss/admission.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ss.pku.edu.cn/admission/admnotice', 'ss.pku.edu.cn/'], - }, + radar: [ + { + source: ['ss.pku.edu.cn/admission/admnotice', 'ss.pku.edu.cn/'], + }, + ], name: '软件与微电子学院 - 招生通知', maintainers: ['legr4ndk'], handler, diff --git a/lib/routes/pku/ss/notice.ts b/lib/routes/pku/ss/notice.ts index 70ee3fc42..265675369 100644 --- a/lib/routes/pku/ss/notice.ts +++ b/lib/routes/pku/ss/notice.ts @@ -6,9 +6,11 @@ const host = `${baseUrl}/newscenter/notice/`; export const route: Route = { path: '/ss/notice', - radar: { - source: ['ss.pku.edu.cn/index.php/newscenter/notice', 'ss.pku.edu.cn/'], - }, + radar: [ + { + source: ['ss.pku.edu.cn/index.php/newscenter/notice', 'ss.pku.edu.cn/'], + }, + ], name: 'Unknown', maintainers: ['legr4ndk'], handler, diff --git a/lib/routes/pku/ss/pg-admin.ts b/lib/routes/pku/ss/pg-admin.ts index 7dc987ba2..ef6dbc21f 100644 --- a/lib/routes/pku/ss/pg-admin.ts +++ b/lib/routes/pku/ss/pg-admin.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ss.pku.edu.cn/admission/admbrochure/admission01', 'ss.pku.edu.cn/'], - }, + radar: [ + { + source: ['ss.pku.edu.cn/admission/admbrochure/admission01', 'ss.pku.edu.cn/'], + }, + ], name: '软件与微电子学院 - 硕士统考招生通知', maintainers: ['legr4ndk'], handler, diff --git a/lib/routes/playno1/st.ts b/lib/routes/playno1/st.ts index f51ce9514..5261557aa 100644 --- a/lib/routes/playno1/st.ts +++ b/lib/routes/playno1/st.ts @@ -20,10 +20,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['stno1.playno1.com/stno1/:catid/'], - target: '/st/:catid', - }, + radar: [ + { + source: ['stno1.playno1.com/stno1/:catid/'], + target: '/st/:catid', + }, + ], name: '情趣', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/playpcesor/rss.ts b/lib/routes/playpcesor/rss.ts index 022e2f273..e0e9778e8 100644 --- a/lib/routes/playpcesor/rss.ts +++ b/lib/routes/playpcesor/rss.ts @@ -5,10 +5,12 @@ import { load } from 'cheerio'; export const route: Route = { path: '/', - radar: { - source: ['playpcesor.com/'], - target: '', - }, + radar: [ + { + source: ['playpcesor.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['cnkmmk'], handler, diff --git a/lib/routes/plurk/anonymous.ts b/lib/routes/plurk/anonymous.ts index de9041fe8..453e76867 100644 --- a/lib/routes/plurk/anonymous.ts +++ b/lib/routes/plurk/anonymous.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['plurk.com/anonymous'], - }, + radar: [ + { + source: ['plurk.com/anonymous'], + }, + ], name: 'Anonymous', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/plurk/hotlinks.ts b/lib/routes/plurk/hotlinks.ts index 17172263a..503ef59a6 100644 --- a/lib/routes/plurk/hotlinks.ts +++ b/lib/routes/plurk/hotlinks.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['plurk.com/hotlinks'], - }, + radar: [ + { + source: ['plurk.com/hotlinks'], + }, + ], name: 'Hotlinks', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/plurk/news.ts b/lib/routes/plurk/news.ts index cb7bbde7e..29a9a1c1d 100644 --- a/lib/routes/plurk/news.ts +++ b/lib/routes/plurk/news.ts @@ -16,10 +16,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['plurk.com/news'], - target: '/news', - }, + radar: [ + { + source: ['plurk.com/news'], + target: '/news', + }, + ], name: 'Plurk News', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/plurk/topic.ts b/lib/routes/plurk/topic.ts index 52248b606..7f4f6e881 100644 --- a/lib/routes/plurk/topic.ts +++ b/lib/routes/plurk/topic.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['plurk.com/topic/:topic'], - }, + radar: [ + { + source: ['plurk.com/topic/:topic'], + }, + ], name: 'Topic', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/pnas/index.ts b/lib/routes/pnas/index.ts index fed48a52f..25c6de1f3 100644 --- a/lib/routes/pnas/index.ts +++ b/lib/routes/pnas/index.ts @@ -15,10 +15,12 @@ import puppeteer from '@/utils/puppeteer'; export const route: Route = { path: '/:topicPath{.+}?', - radar: { - source: ['pnas.org/*topicPath'], - target: '/:topicPath', - }, + radar: [ + { + source: ['pnas.org/*topicPath'], + target: '/:topicPath', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/pornhub/model.ts b/lib/routes/pornhub/model.ts index 7485cc753..e9f9ae788 100644 --- a/lib/routes/pornhub/model.ts +++ b/lib/routes/pornhub/model.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['pornhub.com/model/:username/*'], - target: '/model/:username', - }, + radar: [ + { + source: ['pornhub.com/model/:username/*'], + target: '/model/:username', + }, + ], name: 'Verified amateur / Model', maintainers: ['I2IMk', 'queensferryme'], handler, diff --git a/lib/routes/pornhub/pornstar.ts b/lib/routes/pornhub/pornstar.ts index 48ace7b5c..58faaa440 100644 --- a/lib/routes/pornhub/pornstar.ts +++ b/lib/routes/pornhub/pornstar.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['pornhub.com/pornstar/:username/*'], - target: '/pornstar/:username', - }, + radar: [ + { + source: ['pornhub.com/pornstar/:username/*'], + target: '/pornstar/:username', + }, + ], name: 'Verified model / Pornstar', maintainers: ['I2IMk', 'queensferryme'], handler, diff --git a/lib/routes/pornhub/users.ts b/lib/routes/pornhub/users.ts index 5c231ea74..a28314a09 100644 --- a/lib/routes/pornhub/users.ts +++ b/lib/routes/pornhub/users.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['pornhub.com/users/:username/*'], - target: '/users/:username', - }, + radar: [ + { + source: ['pornhub.com/users/:username/*'], + target: '/users/:username', + }, + ], name: 'Users', maintainers: ['I2IMk', 'queensferryme'], handler, diff --git a/lib/routes/postman/release-notes.ts b/lib/routes/postman/release-notes.ts index c3e137e82..9fa903c26 100644 --- a/lib/routes/postman/release-notes.ts +++ b/lib/routes/postman/release-notes.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['postman.com/downloads/release-notes', 'postman.com/'], - }, + radar: [ + { + source: ['postman.com/downloads/release-notes', 'postman.com/'], + }, + ], name: 'Release Notes', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/priconne-redive/news.ts b/lib/routes/priconne-redive/news.ts index 9ff273fae..345f768f8 100644 --- a/lib/routes/priconne-redive/news.ts +++ b/lib/routes/priconne-redive/news.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['priconne-redive.jp/news'], - }, + radar: [ + { + source: ['priconne-redive.jp/news'], + }, + ], name: '日服公告', maintainers: ['SayaSS'], handler, diff --git a/lib/routes/producthunt/today.ts b/lib/routes/producthunt/today.ts index 173077c0d..2554976a7 100644 --- a/lib/routes/producthunt/today.ts +++ b/lib/routes/producthunt/today.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.producthunt.com/'], - }, + radar: [ + { + source: ['www.producthunt.com/'], + }, + ], name: 'Today Popular', maintainers: ['miaoyafeng', 'Fatpandac'], handler, diff --git a/lib/routes/ps/monthly-games.ts b/lib/routes/ps/monthly-games.ts index 8fe30bbda..066c16b23 100644 --- a/lib/routes/ps/monthly-games.ts +++ b/lib/routes/ps/monthly-games.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.playstation.com/en-sg/ps-plus/whats-new'], - }, + radar: [ + { + source: ['www.playstation.com/en-sg/ps-plus/whats-new'], + }, + ], name: 'PlayStation Monthly Games', maintainers: ['justjustCC'], handler, diff --git a/lib/routes/pts/curations.ts b/lib/routes/pts/curations.ts index 6fd718b66..3557f3c8f 100644 --- a/lib/routes/pts/curations.ts +++ b/lib/routes/pts/curations.ts @@ -21,9 +21,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['news.pts.org.tw/curations', 'news.pts.org.tw/'], - }, + radar: [ + { + source: ['news.pts.org.tw/curations', 'news.pts.org.tw/'], + }, + ], name: '專題策展', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/pts/live.ts b/lib/routes/pts/live.ts index e0cc1e2fc..fb2eaa54c 100644 --- a/lib/routes/pts/live.ts +++ b/lib/routes/pts/live.ts @@ -21,9 +21,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['news.pts.org.tw/live/:id', 'news.pts.org.tw/'], - }, + radar: [ + { + source: ['news.pts.org.tw/live/:id', 'news.pts.org.tw/'], + }, + ], name: '整理報導', maintainers: [], handler, diff --git a/lib/routes/pts/projects.ts b/lib/routes/pts/projects.ts index 209d9d913..583e480ab 100644 --- a/lib/routes/pts/projects.ts +++ b/lib/routes/pts/projects.ts @@ -21,9 +21,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['news.pts.org.tw/projects', 'news.pts.org.tw/'], - }, + radar: [ + { + source: ['news.pts.org.tw/projects', 'news.pts.org.tw/'], + }, + ], name: '數位敘事', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/pumc/mdadmission.ts b/lib/routes/pumc/mdadmission.ts index 888509b4f..405c9df24 100644 --- a/lib/routes/pumc/mdadmission.ts +++ b/lib/routes/pumc/mdadmission.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['mdadmission.pumc.edu.cn/mdweb/site', 'mdadmission.pumc.edu.cn/'], - }, + radar: [ + { + source: ['mdadmission.pumc.edu.cn/mdweb/site', 'mdadmission.pumc.edu.cn/'], + }, + ], name: '“4+4” 试点班招生网通知公告', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/putty/changes.ts b/lib/routes/putty/changes.ts index c049f5680..d108a855f 100644 --- a/lib/routes/putty/changes.ts +++ b/lib/routes/putty/changes.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.chiark.greenend.org.uk/~sgtatham/putty/changes.html', 'www.chiark.greenend.org.uk/'], - }, + radar: [ + { + source: ['www.chiark.greenend.org.uk/~sgtatham/putty/changes.html', 'www.chiark.greenend.org.uk/'], + }, + ], name: 'Change Log', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/pwc/sustainability.ts b/lib/routes/pwc/sustainability.ts index f292faf25..eea06115c 100644 --- a/lib/routes/pwc/sustainability.ts +++ b/lib/routes/pwc/sustainability.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['strategyand.pwc.com/at/en/functions/sustainability-strategy/publications.html', 'strategyand.pwc.com/'], - }, + radar: [ + { + source: ['strategyand.pwc.com/at/en/functions/sustainability-strategy/publications.html', 'strategyand.pwc.com/'], + }, + ], name: 'Sustainability', maintainers: ['mintyfrankie'], handler, diff --git a/lib/routes/qbitai/category.ts b/lib/routes/qbitai/category.ts index b8706af5e..5b710bcb5 100644 --- a/lib/routes/qbitai/category.ts +++ b/lib/routes/qbitai/category.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['qbitai.com/category/:category'], - }, + radar: [ + { + source: ['qbitai.com/category/:category'], + }, + ], name: '分类', maintainers: ['FuryMartin'], handler, diff --git a/lib/routes/qbitai/tag.ts b/lib/routes/qbitai/tag.ts index 2965d917b..edea512d1 100644 --- a/lib/routes/qbitai/tag.ts +++ b/lib/routes/qbitai/tag.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['qbitai.com/tag/:tag'], - }, + radar: [ + { + source: ['qbitai.com/tag/:tag'], + }, + ], name: '标签', maintainers: ['FuryMartin'], handler, diff --git a/lib/routes/qbittorrent/news.ts b/lib/routes/qbittorrent/news.ts index 50de12921..2e2b50f63 100644 --- a/lib/routes/qbittorrent/news.ts +++ b/lib/routes/qbittorrent/news.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['qbittorrent.org/news.php', 'qbittorrent.org/'], - }, + radar: [ + { + source: ['qbittorrent.org/news.php', 'qbittorrent.org/'], + }, + ], name: 'News', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/qdu/houqin.ts b/lib/routes/qdu/houqin.ts index b499ee8ad..ed60c0d4c 100644 --- a/lib/routes/qdu/houqin.ts +++ b/lib/routes/qdu/houqin.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['houqin.qdu.edu.cn/tzgg.htm', 'houqin.qdu.edu.cn/'], - }, + radar: [ + { + source: ['houqin.qdu.edu.cn/tzgg.htm', 'houqin.qdu.edu.cn/'], + }, + ], name: '后勤管理处通知', maintainers: ['abc1763613206'], handler, diff --git a/lib/routes/qdu/jwc.ts b/lib/routes/qdu/jwc.ts index 6f1588001..58d4c5fff 100644 --- a/lib/routes/qdu/jwc.ts +++ b/lib/routes/qdu/jwc.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['jwc.qdu.edu.cn/jwtz.htm', 'jwc.qdu.edu.cn/'], - }, + radar: [ + { + source: ['jwc.qdu.edu.cn/jwtz.htm', 'jwc.qdu.edu.cn/'], + }, + ], name: '教务处通知', maintainers: ['abc1763613206'], handler, diff --git a/lib/routes/qianzhan/rank.ts b/lib/routes/qianzhan/rank.ts index 18120180c..f8500a53c 100644 --- a/lib/routes/qianzhan/rank.ts +++ b/lib/routes/qianzhan/rank.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['qianzhan.com/analyst', 'qianzhan.com/'], - target: '/analyst/rank', - }, + radar: [ + { + source: ['qianzhan.com/analyst', 'qianzhan.com/'], + target: '/analyst/rank', + }, + ], name: '排行榜', maintainers: ['moke8'], handler, diff --git a/lib/routes/qidian/author.ts b/lib/routes/qidian/author.ts index 96d333f72..bef7e0af0 100644 --- a/lib/routes/qidian/author.ts +++ b/lib/routes/qidian/author.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['my.qidian.com/author/:id'], - }, + radar: [ + { + source: ['my.qidian.com/author/:id'], + }, + ], name: '作者', maintainers: ['miles170'], handler, diff --git a/lib/routes/qidian/chapter.ts b/lib/routes/qidian/chapter.ts index fccf6819d..67e018b6a 100644 --- a/lib/routes/qidian/chapter.ts +++ b/lib/routes/qidian/chapter.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['book.qidian.com/info/:id'], - }, + radar: [ + { + source: ['book.qidian.com/info/:id'], + }, + ], name: '章节', maintainers: ['fuzy112'], handler, diff --git a/lib/routes/qidian/forum.ts b/lib/routes/qidian/forum.ts index f8fdeeb42..5c40a21a3 100644 --- a/lib/routes/qidian/forum.ts +++ b/lib/routes/qidian/forum.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['book.qidian.com/info/:id'], - }, + radar: [ + { + source: ['book.qidian.com/info/:id'], + }, + ], name: '讨论区', maintainers: ['fuzy112'], handler, diff --git a/lib/routes/qidian/free-next.ts b/lib/routes/qidian/free-next.ts index 3e85b2a7b..986ad0805 100644 --- a/lib/routes/qidian/free-next.ts +++ b/lib/routes/qidian/free-next.ts @@ -15,10 +15,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.qidian.com/free'], - target: '/free', - }, + radar: [ + { + source: ['www.qidian.com/free'], + target: '/free', + }, + ], name: '限时免费下期预告', maintainers: ['LogicJake'], handler, diff --git a/lib/routes/qidian/free.ts b/lib/routes/qidian/free.ts index 09695c6dc..82b64208a 100644 --- a/lib/routes/qidian/free.ts +++ b/lib/routes/qidian/free.ts @@ -16,10 +16,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.qidian.com/free'], - target: '/free', - }, + radar: [ + { + source: ['www.qidian.com/free'], + target: '/free', + }, + ], name: '限时免费', maintainers: ['LogicJake'], handler, diff --git a/lib/routes/qingting/podcast.ts b/lib/routes/qingting/podcast.ts index e0d597f9f..9211f3e8c 100644 --- a/lib/routes/qingting/podcast.ts +++ b/lib/routes/qingting/podcast.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: true, supportScihub: false, }, - radar: { - source: ['qingting.fm/channels/:id'], - }, + radar: [ + { + source: ['qingting.fm/channels/:id'], + }, + ], name: '播客', maintainers: ['RookieZoe', 'huyyi'], handler, diff --git a/lib/routes/qipamaijia/index.ts b/lib/routes/qipamaijia/index.ts index 84b6d9b40..1557623f2 100644 --- a/lib/routes/qipamaijia/index.ts +++ b/lib/routes/qipamaijia/index.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['qipamaijia.com/', 'qipamaijia.com/:cate'], - target: '/:cate', - }, + radar: [ + { + source: ['qipamaijia.com/', 'qipamaijia.com/:cate'], + target: '/:cate', + }, + ], name: 'Unknown', maintainers: ['Fatpandac', 'nczitzk'], handler, diff --git a/lib/routes/qlu/notice.ts b/lib/routes/qlu/notice.ts index 7429ae058..3db95edba 100644 --- a/lib/routes/qlu/notice.ts +++ b/lib/routes/qlu/notice.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['qlu.edu.cn/tzggsh/list1.htm'], - }, + radar: [ + { + source: ['qlu.edu.cn/tzggsh/list1.htm'], + }, + ], name: '通知公告', maintainers: ['SunBK201'], handler, diff --git a/lib/routes/qm120/news.ts b/lib/routes/qm120/news.ts index 899dbc93b..9660a8a74 100644 --- a/lib/routes/qm120/news.ts +++ b/lib/routes/qm120/news.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['qm120.com/'], - }, + radar: [ + { + source: ['qm120.com/'], + }, + ], name: '新闻', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/qq/ac/comic.ts b/lib/routes/qq/ac/comic.ts index 1ecf04838..5b308f452 100644 --- a/lib/routes/qq/ac/comic.ts +++ b/lib/routes/qq/ac/comic.ts @@ -6,10 +6,12 @@ import { rootUrl, mobileRootUrl } from './utils'; export const route: Route = { path: '/ac/comic/:id?', - radar: { - source: ['ac.qq.com/Comic/ComicInfo/id/:id', 'ac.qq.com/'], - target: '/ac/comic/:id', - }, + radar: [ + { + source: ['ac.qq.com/Comic/ComicInfo/id/:id', 'ac.qq.com/'], + target: '/ac/comic/:id', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/qq/ac/rank.ts b/lib/routes/qq/ac/rank.ts index cd1d8f32c..1c40c78c2 100644 --- a/lib/routes/qq/ac/rank.ts +++ b/lib/routes/qq/ac/rank.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ac.qq.com/Rank/comicRank/type/:type', 'ac.qq.com/'], - }, + radar: [ + { + source: ['ac.qq.com/Rank/comicRank/type/:type', 'ac.qq.com/'], + }, + ], name: '排行榜', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/qq/fact/index.ts b/lib/routes/qq/fact/index.ts index b58ba4553..d9273105e 100644 --- a/lib/routes/qq/fact/index.ts +++ b/lib/routes/qq/fact/index.ts @@ -31,9 +31,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['vp.fact.qq.com/home', 'vp.fact.qq.com/'], - }, + radar: [ + { + source: ['vp.fact.qq.com/home', 'vp.fact.qq.com/'], + }, + ], name: '最新辟谣', maintainers: ['hoilc'], handler, diff --git a/lib/routes/qqorw/index.ts b/lib/routes/qqorw/index.ts index 23723b86f..9438026d0 100644 --- a/lib/routes/qqorw/index.ts +++ b/lib/routes/qqorw/index.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['qqorw.cn/:category', 'qqorw.cn/'], - }, + radar: [ + { + source: ['qqorw.cn/:category', 'qqorw.cn/'], + }, + ], name: '每日早报', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/quicker/share.ts b/lib/routes/quicker/share.ts index bd0e6ec01..15fa08992 100644 --- a/lib/routes/quicker/share.ts +++ b/lib/routes/quicker/share.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['getquicker.net/Share/:category', 'getquicker.net/'], - }, + radar: [ + { + source: ['getquicker.net/Share/:category', 'getquicker.net/'], + }, + ], name: '动作分享', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/qust/jw.ts b/lib/routes/qust/jw.ts index 33edff56d..a6e74cf53 100644 --- a/lib/routes/qust/jw.ts +++ b/lib/routes/qust/jw.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['jw.qust.edu.cn/jwtz.htm', 'jw.qust.edu.cn/'], - }, + radar: [ + { + source: ['jw.qust.edu.cn/jwtz.htm', 'jw.qust.edu.cn/'], + }, + ], name: '教务通知', maintainers: ['Silent-wqh'], handler, diff --git a/lib/routes/radio-canada/latest.ts b/lib/routes/radio-canada/latest.ts index 63eab895b..82e4fc69e 100644 --- a/lib/routes/radio-canada/latest.ts +++ b/lib/routes/radio-canada/latest.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ici.radio-canada.ca/rci/:lang', 'ici.radio-canada.ca/'], - }, + radar: [ + { + source: ['ici.radio-canada.ca/rci/:lang', 'ici.radio-canada.ca/'], + }, + ], name: 'Latest News', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/rarehistoricalphotos/index.ts b/lib/routes/rarehistoricalphotos/index.ts index e4434dc10..52e875e0d 100644 --- a/lib/routes/rarehistoricalphotos/index.ts +++ b/lib/routes/rarehistoricalphotos/index.ts @@ -6,10 +6,12 @@ const baseUrl = 'https://rarehistoricalphotos.com'; export const route: Route = { path: '/', - radar: { - source: ['rarehistoricalphotos.com/'], - target: '', - }, + radar: [ + { + source: ['rarehistoricalphotos.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/rattibha/user.ts b/lib/routes/rattibha/user.ts index 9c92fab46..ea0e89da8 100644 --- a/lib/routes/rattibha/user.ts +++ b/lib/routes/rattibha/user.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['rattibha.com/:user'], - }, + radar: [ + { + source: ['rattibha.com/:user'], + }, + ], name: 'User Threads', maintainers: ['yshalsager'], handler, diff --git a/lib/routes/rawkuma/manga.ts b/lib/routes/rawkuma/manga.ts index b3befb5c0..cc44a2a91 100644 --- a/lib/routes/rawkuma/manga.ts +++ b/lib/routes/rawkuma/manga.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['rawkuma.com/manga/:id', 'rawkuma.com/'], - }, + radar: [ + { + source: ['rawkuma.com/manga/:id', 'rawkuma.com/'], + }, + ], name: 'Manga', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/reactnewsletter/reactnewsletter.ts b/lib/routes/reactnewsletter/reactnewsletter.ts index 3ec5778da..d763664de 100644 --- a/lib/routes/reactnewsletter/reactnewsletter.ts +++ b/lib/routes/reactnewsletter/reactnewsletter.ts @@ -6,10 +6,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/', - radar: { - source: ['bytes.dev/issues', 'bytes.dev/'], - target: '', - }, + radar: [ + { + source: ['bytes.dev/issues', 'bytes.dev/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['meixger'], handler, diff --git a/lib/routes/readhub/daily.ts b/lib/routes/readhub/daily.ts index ca44b077c..8ff1572ab 100644 --- a/lib/routes/readhub/daily.ts +++ b/lib/routes/readhub/daily.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['readhub.cn/daily'], - }, + radar: [ + { + source: ['readhub.cn/daily'], + }, + ], name: '每日早报', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/remnote/changelog.ts b/lib/routes/remnote/changelog.ts index e8b265d99..511cedcc4 100644 --- a/lib/routes/remnote/changelog.ts +++ b/lib/routes/remnote/changelog.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['remnote.com/changelog', 'remnote.com/'], - }, + radar: [ + { + source: ['remnote.com/changelog', 'remnote.com/'], + }, + ], name: 'Changelog', maintainers: ['TonyRL', 'amakerlife'], handler, diff --git a/lib/routes/researchgate/publications.ts b/lib/routes/researchgate/publications.ts index 2edf93016..d00f42ead 100644 --- a/lib/routes/researchgate/publications.ts +++ b/lib/routes/researchgate/publications.ts @@ -6,10 +6,12 @@ import puppeteer from '@/utils/puppeteer'; export const route: Route = { path: '/publications/:id', - radar: { - source: ['researchgate.net/profile/:username'], - target: '/publications/:username', - }, + radar: [ + { + source: ['researchgate.net/profile/:username'], + target: '/publications/:username', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/reuters/common.ts b/lib/routes/reuters/common.ts index 402c0b740..916d94d0f 100644 --- a/lib/routes/reuters/common.ts +++ b/lib/routes/reuters/common.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['reuters.com/:category/:topic?', 'reuters.com/'], - }, + radar: [ + { + source: ['reuters.com/:category/:topic?', 'reuters.com/'], + }, + ], name: 'Category/Topic/Author', maintainers: ['LyleLee', 'HenryQW', 'proletarius101', 'black-desk', 'nczitzk'], handler, diff --git a/lib/routes/rfi/news.ts b/lib/routes/rfi/news.ts index 7ef3a85db..51d2cadee 100644 --- a/lib/routes/rfi/news.ts +++ b/lib/routes/rfi/news.ts @@ -6,10 +6,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/:path{.+}?', - radar: { - source: ['rfi.fr/*path'], - target: '/:path', - }, + radar: [ + { + source: ['rfi.fr/*path'], + target: '/:path', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/rodong/news.ts b/lib/routes/rodong/news.ts index 16bcb3039..eb7856417 100644 --- a/lib/routes/rodong/news.ts +++ b/lib/routes/rodong/news.ts @@ -19,10 +19,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['rodong.rep.kp/cn/index.php', 'rodong.rep.kp/en/index.php', 'rodong.rep.kp/ko/index.php', 'rodong.rep.kp/cn', 'rodong.rep.kp/en', 'rodong.rep.kp/ko'], - target: '/news', - }, + radar: [ + { + source: ['rodong.rep.kp/cn/index.php', 'rodong.rep.kp/en/index.php', 'rodong.rep.kp/ko/index.php', 'rodong.rep.kp/cn', 'rodong.rep.kp/en', 'rodong.rep.kp/ko'], + target: '/news', + }, + ], name: 'News', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/routledge/book-series.ts b/lib/routes/routledge/book-series.ts index 20faf1fac..720ccc9e8 100644 --- a/lib/routes/routledge/book-series.ts +++ b/lib/routes/routledge/book-series.ts @@ -11,9 +11,11 @@ import * as path from 'node:path'; export const route: Route = { path: '/:bookName/book-series/:bookId', - radar: { - source: ['routledge.com/:bookName/book-series/:bookId'], - }, + radar: [ + { + source: ['routledge.com/:bookName/book-series/:bookId'], + }, + ], name: 'Unknown', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/rsshub/routes.ts b/lib/routes/rsshub/routes.ts index ca9b646db..0f09cc6bf 100644 --- a/lib/routes/rsshub/routes.ts +++ b/lib/routes/rsshub/routes.ts @@ -15,10 +15,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['docs.rsshub.app/*'], - target: '/routes', - }, + radar: [ + { + source: ['docs.rsshub.app/*'], + target: '/routes', + }, + ], name: 'New routes', maintainers: ['DIYgod'], handler, diff --git a/lib/routes/ruancan/category.ts b/lib/routes/ruancan/category.ts index 2faa3c280..ea61a6744 100644 --- a/lib/routes/ruancan/category.ts +++ b/lib/routes/ruancan/category.ts @@ -14,10 +14,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ruancan.com/cat/:category', 'ruancan.com/'], - target: '/category/:category', - }, + radar: [ + { + source: ['ruancan.com/cat/:category', 'ruancan.com/'], + target: '/category/:category', + }, + ], name: '分类', maintainers: [], handler, diff --git a/lib/routes/ruancan/index.ts b/lib/routes/ruancan/index.ts index f4c703c9e..de304f9b3 100644 --- a/lib/routes/ruancan/index.ts +++ b/lib/routes/ruancan/index.ts @@ -3,10 +3,12 @@ import fetchFeed from './utils'; export const route: Route = { path: '/', - radar: { - source: ['ruancan.com/'], - target: '', - }, + radar: [ + { + source: ['ruancan.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/ruancan/search.ts b/lib/routes/ruancan/search.ts index 9d2f78ac0..55a8fae37 100644 --- a/lib/routes/ruancan/search.ts +++ b/lib/routes/ruancan/search.ts @@ -14,10 +14,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ruancan.com/'], - target: '', - }, + radar: [ + { + source: ['ruancan.com/'], + target: '', + }, + ], name: '搜索', maintainers: [], handler, diff --git a/lib/routes/ruancan/user.ts b/lib/routes/ruancan/user.ts index 00a8f9bad..431e7bc48 100644 --- a/lib/routes/ruancan/user.ts +++ b/lib/routes/ruancan/user.ts @@ -3,9 +3,11 @@ import fetchFeed from './utils'; export const route: Route = { path: '/user/:id', - radar: { - source: ['ruancan.com/i/:id', 'ruancan.com/'], - }, + radar: [ + { + source: ['ruancan.com/i/:id', 'ruancan.com/'], + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/ruc/hr.ts b/lib/routes/ruc/hr.ts index ec8ab3974..d56dee1e1 100644 --- a/lib/routes/ruc/hr.ts +++ b/lib/routes/ruc/hr.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['hr.ruc.edu.cn/'], - }, + radar: [ + { + source: ['hr.ruc.edu.cn/'], + }, + ], name: '人事处', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/runtrail/posts.ts b/lib/routes/runtrail/posts.ts index 55edd4462..5e2be6f31 100644 --- a/lib/routes/runtrail/posts.ts +++ b/lib/routes/runtrail/posts.ts @@ -4,10 +4,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/', - radar: { - source: ['runtrail.cn/'], - target: '', - }, + radar: [ + { + source: ['runtrail.cn/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/rustcc/jobs.ts b/lib/routes/rustcc/jobs.ts index b0e60ebf5..191e67508 100644 --- a/lib/routes/rustcc/jobs.ts +++ b/lib/routes/rustcc/jobs.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['rustcc.cn/'], - }, + radar: [ + { + source: ['rustcc.cn/'], + }, + ], name: '招聘', maintainers: ['CcccFz'], handler, diff --git a/lib/routes/sakurazaka46/news.ts b/lib/routes/sakurazaka46/news.ts index 0faf1ea6d..58fb34729 100644 --- a/lib/routes/sakurazaka46/news.ts +++ b/lib/routes/sakurazaka46/news.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['sakurazaka46.com/s/s46/news/list', 'sakurazaka46.com/'], - }, + radar: [ + { + source: ['sakurazaka46.com/s/s46/news/list', 'sakurazaka46.com/'], + }, + ], name: 'Sakurazaka46 News 櫻坂 46 新闻', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/samsung/research/blog.ts b/lib/routes/samsung/research/blog.ts index 51accf925..750d82bd3 100644 --- a/lib/routes/samsung/research/blog.ts +++ b/lib/routes/samsung/research/blog.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['research.samsung.com/blog', 'research.samsung.com/'], - }, + radar: [ + { + source: ['research.samsung.com/blog', 'research.samsung.com/'], + }, + ], name: 'Research Blog', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/sass/gs/index.ts b/lib/routes/sass/gs/index.ts index 03f3730c0..507ba1181 100644 --- a/lib/routes/sass/gs/index.ts +++ b/lib/routes/sass/gs/index.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gs.sass.org.cn/:type/list.htm'], - }, + radar: [ + { + source: ['gs.sass.org.cn/:type/list.htm'], + }, + ], name: '研究生院', maintainers: ['yanbot-team'], handler, diff --git a/lib/routes/scau/yjs.ts b/lib/routes/scau/yjs.ts index 826679584..36e164b58 100644 --- a/lib/routes/scau/yjs.ts +++ b/lib/routes/scau/yjs.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yzb.scau.edu.cn/2136/list1.htm', 'yzb.scau.edu.cn/'], - }, + radar: [ + { + source: ['yzb.scau.edu.cn/2136/list1.htm', 'yzb.scau.edu.cn/'], + }, + ], name: '华农研讯', maintainers: ['shengmaosu'], handler, diff --git a/lib/routes/scau/yjsy.ts b/lib/routes/scau/yjsy.ts index ae903bd09..0cdcb77a2 100644 --- a/lib/routes/scau/yjsy.ts +++ b/lib/routes/scau/yjsy.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yjsy.scau.edu.cn/208/list.htm', 'yjsy.scau.edu.cn/'], - }, + radar: [ + { + source: ['yjsy.scau.edu.cn/208/list.htm', 'yjsy.scau.edu.cn/'], + }, + ], name: '研究生院通知', maintainers: ['Chunssu'], handler, diff --git a/lib/routes/science/blogs.ts b/lib/routes/science/blogs.ts index ef1e79a59..86049f484 100644 --- a/lib/routes/science/blogs.ts +++ b/lib/routes/science/blogs.ts @@ -19,10 +19,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['science.org/blogs/:name'], - target: '/blogs/:name', - }, + radar: [ + { + source: ['science.org/blogs/:name'], + target: '/blogs/:name', + }, + ], name: 'Blogs', maintainers: ['TomHodson'], handler, diff --git a/lib/routes/science/cover.ts b/lib/routes/science/cover.ts index f1bfc1f3c..7962750f5 100644 --- a/lib/routes/science/cover.ts +++ b/lib/routes/science/cover.ts @@ -31,9 +31,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['science.org/'], - }, + radar: [ + { + source: ['science.org/'], + }, + ], name: 'Cover Story', maintainers: ['y9c', 'TonyRL'], handler, diff --git a/lib/routes/science/current.ts b/lib/routes/science/current.ts index af2aab37e..6d74a64d9 100644 --- a/lib/routes/science/current.ts +++ b/lib/routes/science/current.ts @@ -27,10 +27,12 @@ export const route: Route = { supportPodcast: false, supportScihub: true, }, - radar: { - source: ['science.org/journal/:journal', 'science.org/toc/:journal/current'], - target: '/current/:journal', - }, + radar: [ + { + source: ['science.org/journal/:journal', 'science.org/toc/:journal/current'], + target: '/current/:journal', + }, + ], name: 'Current Issue', maintainers: ['y9c', 'TonyRL'], handler, diff --git a/lib/routes/science/early.ts b/lib/routes/science/early.ts index 644557dc8..c3d006061 100644 --- a/lib/routes/science/early.ts +++ b/lib/routes/science/early.ts @@ -19,10 +19,12 @@ export const route: Route = { supportPodcast: false, supportScihub: true, }, - radar: { - source: ['science.org/journal/:journal', 'science.org/toc/:journal/0/0'], - target: '/early/:journal', - }, + radar: [ + { + source: ['science.org/journal/:journal', 'science.org/toc/:journal/0/0'], + target: '/early/:journal', + }, + ], name: 'First Release', maintainers: ['y9c', 'TonyRL'], handler, diff --git a/lib/routes/sciencedirect/journal.ts b/lib/routes/sciencedirect/journal.ts index 554e96fbc..cc5364049 100644 --- a/lib/routes/sciencedirect/journal.ts +++ b/lib/routes/sciencedirect/journal.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['sciencedirect.com/journal/:id', 'sciencedirect.com/'], - }, + radar: [ + { + source: ['sciencedirect.com/journal/:id', 'sciencedirect.com/'], + }, + ], name: 'Journal', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/sciencenet/user.ts b/lib/routes/sciencenet/user.ts index 40d50e265..fbf375456 100644 --- a/lib/routes/sciencenet/user.ts +++ b/lib/routes/sciencenet/user.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['blog.sciencenet.cn/u/:id', 'blog.sciencenet.cn/'], - }, + radar: [ + { + source: ['blog.sciencenet.cn/u/:id', 'blog.sciencenet.cn/'], + }, + ], name: '用户博客', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/scmp/index.ts b/lib/routes/scmp/index.ts index 8d9c72f07..6c279811b 100644 --- a/lib/routes/scmp/index.ts +++ b/lib/routes/scmp/index.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['scmp.com/rss/:category_id/feed'], - }, + radar: [ + { + source: ['scmp.com/rss/:category_id/feed'], + }, + ], name: 'News', maintainers: ['proletarius101'], handler, diff --git a/lib/routes/scmp/topic.ts b/lib/routes/scmp/topic.ts index 55992aba3..97e53528c 100644 --- a/lib/routes/scmp/topic.ts +++ b/lib/routes/scmp/topic.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['scmp.com/topics/:topic'], - }, + radar: [ + { + source: ['scmp.com/topics/:topic'], + }, + ], name: 'Topics', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/scnu/cs/match.ts b/lib/routes/scnu/cs/match.ts index d639f9b21..17ef9bd8e 100644 --- a/lib/routes/scnu/cs/match.ts +++ b/lib/routes/scnu/cs/match.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['cs.scnu.edu.cn/xueshenggongzuo/chengchangfazhan/kejichuangxin/', 'cs.scnu.edu.cn/'], - }, + radar: [ + { + source: ['cs.scnu.edu.cn/xueshenggongzuo/chengchangfazhan/kejichuangxin/', 'cs.scnu.edu.cn/'], + }, + ], name: '计算机学院竞赛通知', maintainers: ['fengkx'], handler, diff --git a/lib/routes/scnu/jw.ts b/lib/routes/scnu/jw.ts index 75fbdf763..8bfe1bd14 100644 --- a/lib/routes/scnu/jw.ts +++ b/lib/routes/scnu/jw.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['jw.scnu.edu.cn/ann/index.html', 'jw.scnu.edu.cn/'], - }, + radar: [ + { + source: ['jw.scnu.edu.cn/ann/index.html', 'jw.scnu.edu.cn/'], + }, + ], name: '教务处通知', maintainers: ['fengkx'], handler, diff --git a/lib/routes/scnu/library.ts b/lib/routes/scnu/library.ts index 454d56dc2..f64b3f932 100644 --- a/lib/routes/scnu/library.ts +++ b/lib/routes/scnu/library.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['lib.scnu.edu.cn/news/zuixingonggao', 'lib.scnu.edu.cn/'], - }, + radar: [ + { + source: ['lib.scnu.edu.cn/news/zuixingonggao', 'lib.scnu.edu.cn/'], + }, + ], name: '图书馆通知', maintainers: ['fengkx'], handler, diff --git a/lib/routes/scnu/ss.ts b/lib/routes/scnu/ss.ts index 8b819a696..7f2ec38a8 100644 --- a/lib/routes/scnu/ss.ts +++ b/lib/routes/scnu/ss.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ss.scnu.edu.cn/tongzhigonggao', 'ss.scnu.edu.cn/'], - }, + radar: [ + { + source: ['ss.scnu.edu.cn/tongzhigonggao', 'ss.scnu.edu.cn/'], + }, + ], name: '软件学院通知公告', maintainers: ['shengmaosu'], handler, diff --git a/lib/routes/scnu/yjs.ts b/lib/routes/scnu/yjs.ts index 65f19c1e0..ff2b571ea 100644 --- a/lib/routes/scnu/yjs.ts +++ b/lib/routes/scnu/yjs.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yz.scnu.edu.cn/tongzhigonggao/ssgg', 'yz.scnu.edu.cn/'], - }, + radar: [ + { + source: ['yz.scnu.edu.cn/tongzhigonggao/ssgg', 'yz.scnu.edu.cn/'], + }, + ], name: '研究生院通知公告', maintainers: ['shengmaosu'], handler, diff --git a/lib/routes/scut/seie/news-ccenter.ts b/lib/routes/scut/seie/news-ccenter.ts index 4148ad8ee..f08dbbcf4 100644 --- a/lib/routes/scut/seie/news-ccenter.ts +++ b/lib/routes/scut/seie/news-ccenter.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www2.scut.edu.cn/ee/16285/list.htm'], - }, + radar: [ + { + source: ['www2.scut.edu.cn/ee/16285/list.htm'], + }, + ], name: '电子与信息学院 - 新闻速递', maintainers: ['auto-bot-ty'], handler, diff --git a/lib/routes/scut/yjs.ts b/lib/routes/scut/yjs.ts index 12b2c36ee..4e95cfd10 100644 --- a/lib/routes/scut/yjs.ts +++ b/lib/routes/scut/yjs.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www2.scut.edu.cn/graduate/14562/list.htm'], - }, + radar: [ + { + source: ['www2.scut.edu.cn/graduate/14562/list.htm'], + }, + ], name: '研究生院通知公告', maintainers: ['shengmaosu'], handler, diff --git a/lib/routes/scvtc/xygg.ts b/lib/routes/scvtc/xygg.ts index c00c5ee44..b2aabc852 100644 --- a/lib/routes/scvtc/xygg.ts +++ b/lib/routes/scvtc/xygg.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['scvtc.edu.cn/ggfw1/xygg.htm', 'scvtc.edu.cn/'], - }, + radar: [ + { + source: ['scvtc.edu.cn/ggfw1/xygg.htm', 'scvtc.edu.cn/'], + }, + ], name: '学院公告', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/seekingalpha/index.ts b/lib/routes/seekingalpha/index.ts index 28ed0fbed..64dd20548 100644 --- a/lib/routes/seekingalpha/index.ts +++ b/lib/routes/seekingalpha/index.ts @@ -19,10 +19,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['seekingalpha.com/symbol/:symbol/:category', 'seekingalpha.com/symbol/:symbol/earnings/:category'], - target: '/:symbol/:category', - }, + radar: [ + { + source: ['seekingalpha.com/symbol/:symbol/:category', 'seekingalpha.com/symbol/:symbol/earnings/:category'], + target: '/:symbol/:category', + }, + ], name: 'Summary', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/sega/pjsekai.ts b/lib/routes/sega/pjsekai.ts index 437d1730b..03f6db774 100644 --- a/lib/routes/sega/pjsekai.ts +++ b/lib/routes/sega/pjsekai.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['pjsekai.sega.jp/news/index.html'], - }, + radar: [ + { + source: ['pjsekai.sega.jp/news/index.html'], + }, + ], name: '世界计划 多彩舞台 | ProjectSekai | プロセカ', maintainers: ['15x15G'], handler, diff --git a/lib/routes/segmentfault/blogs.ts b/lib/routes/segmentfault/blogs.ts index 35a6b45b7..c81fcf4eb 100644 --- a/lib/routes/segmentfault/blogs.ts +++ b/lib/routes/segmentfault/blogs.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['segmentfault.com/t/:tag/blogs'], - }, + radar: [ + { + source: ['segmentfault.com/t/:tag/blogs'], + }, + ], name: '博客', maintainers: ['shiluanzzz'], handler, diff --git a/lib/routes/segmentfault/channel.ts b/lib/routes/segmentfault/channel.ts index ae5e31393..ab764a7e1 100644 --- a/lib/routes/segmentfault/channel.ts +++ b/lib/routes/segmentfault/channel.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['segmentfault.com/channel/:name'], - }, + radar: [ + { + source: ['segmentfault.com/channel/:name'], + }, + ], name: '频道', maintainers: ['LogicJake', 'Fatpandac'], handler, diff --git a/lib/routes/segmentfault/user.ts b/lib/routes/segmentfault/user.ts index 599992222..4d2dfd9b4 100644 --- a/lib/routes/segmentfault/user.ts +++ b/lib/routes/segmentfault/user.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['segmentfault.com/u/:name'], - }, + radar: [ + { + source: ['segmentfault.com/u/:name'], + }, + ], name: '用户', maintainers: ['leyuuu', 'Fatpandac'], handler, diff --git a/lib/routes/sensortower/blog.ts b/lib/routes/sensortower/blog.ts index ef986e283..520ff84cb 100644 --- a/lib/routes/sensortower/blog.ts +++ b/lib/routes/sensortower/blog.ts @@ -22,10 +22,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['sensortower.com/blog', 'sensortower.com/zh-CN/blog', 'sensortower.com/ja/blog', 'sensortower.com/ko/blog', 'sensortower.com/'], - target: '/blog', - }, + radar: [ + { + source: ['sensortower.com/blog', 'sensortower.com/zh-CN/blog', 'sensortower.com/ja/blog', 'sensortower.com/ko/blog', 'sensortower.com/'], + target: '/blog', + }, + ], name: 'Blog', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/setn/index.ts b/lib/routes/setn/index.ts index 87ddd5e06..6b30d1b9f 100644 --- a/lib/routes/setn/index.ts +++ b/lib/routes/setn/index.ts @@ -56,10 +56,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['setn.com/ViewAll.aspx', 'setn.com/'], - target: '', - }, + radar: [ + { + source: ['setn.com/ViewAll.aspx', 'setn.com/'], + target: '', + }, + ], name: '新聞', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/seu/cse/index.ts b/lib/routes/seu/cse/index.ts index 3a52bdb90..35524343a 100644 --- a/lib/routes/seu/cse/index.ts +++ b/lib/routes/seu/cse/index.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['cse.seu.edu.cn/:type/list.htm', 'cse.seu.edu.cn/'], - }, + radar: [ + { + source: ['cse.seu.edu.cn/:type/list.htm', 'cse.seu.edu.cn/'], + }, + ], name: '计算机技术与工程学院', maintainers: ['LogicJake'], handler, diff --git a/lib/routes/seu/radio/academic.ts b/lib/routes/seu/radio/academic.ts index bf3e7478e..aa3569d6c 100644 --- a/lib/routes/seu/radio/academic.ts +++ b/lib/routes/seu/radio/academic.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['radio.seu.edu.cn/_s29/15986/list.psp', 'radio.seu.edu.cn/'], - }, + radar: [ + { + source: ['radio.seu.edu.cn/_s29/15986/list.psp', 'radio.seu.edu.cn/'], + }, + ], name: '信息科学与工程学院学术活动', maintainers: ['HenryQW'], handler, diff --git a/lib/routes/seu/yjs.ts b/lib/routes/seu/yjs.ts index f60df402e..792d26419 100644 --- a/lib/routes/seu/yjs.ts +++ b/lib/routes/seu/yjs.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['seugs.seu.edu.cn/26671/list.htm', 'seugs.seu.edu.cn/'], - }, + radar: [ + { + source: ['seugs.seu.edu.cn/26671/list.htm', 'seugs.seu.edu.cn/'], + }, + ], name: '研究生院全部公告', maintainers: ['Denkiyohou'], handler, diff --git a/lib/routes/seu/yzb/index.ts b/lib/routes/seu/yzb/index.ts index 1a617e3aa..44578a06e 100644 --- a/lib/routes/seu/yzb/index.ts +++ b/lib/routes/seu/yzb/index.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yzb.seu.edu.cn/:type/list.htm'], - }, + radar: [ + { + source: ['yzb.seu.edu.cn/:type/list.htm'], + }, + ], name: '研究生招生网通知公告', maintainers: ['fuzy112'], handler, diff --git a/lib/routes/sfacg/novel-chapter.ts b/lib/routes/sfacg/novel-chapter.ts index b5d741095..965f0c16c 100644 --- a/lib/routes/sfacg/novel-chapter.ts +++ b/lib/routes/sfacg/novel-chapter.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['book.sfacg.com/Novel/:id/*'], - }, + radar: [ + { + source: ['book.sfacg.com/Novel/:id/*'], + }, + ], name: '章节', maintainers: ['keocheung'], handler, diff --git a/lib/routes/shcstheatre/programs.ts b/lib/routes/shcstheatre/programs.ts index e972f9bc5..3c91393c2 100644 --- a/lib/routes/shcstheatre/programs.ts +++ b/lib/routes/shcstheatre/programs.ts @@ -23,9 +23,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.shcstheatre.com/Program/programList.aspx'], - }, + radar: [ + { + source: ['www.shcstheatre.com/Program/programList.aspx'], + }, + ], name: '节目列表', maintainers: ['fuzy112'], handler, diff --git a/lib/routes/shisu/news.ts b/lib/routes/shisu/news.ts index c6a73ac29..6fed5ae42 100644 --- a/lib/routes/shisu/news.ts +++ b/lib/routes/shisu/news.ts @@ -21,9 +21,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['news.shisu.edu.cn/:category/index.html'], - }, + radar: [ + { + source: ['news.shisu.edu.cn/:category/index.html'], + }, + ], name: '上外新闻', maintainers: ['Duuckjing'], handler, diff --git a/lib/routes/shmeea/self-study.ts b/lib/routes/shmeea/self-study.ts index b10c2dbf9..4c2a10d8c 100644 --- a/lib/routes/shmeea/self-study.ts +++ b/lib/routes/shmeea/self-study.ts @@ -52,9 +52,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.shmeea.edu.cn/page/04000/index.html', 'www.shmeea.edu.cn/'], - }, + radar: [ + { + source: ['www.shmeea.edu.cn/page/04000/index.html', 'www.shmeea.edu.cn/'], + }, + ], name: '自学考试通知公告', maintainers: ['h2ws'], handler, diff --git a/lib/routes/shmtu/jwc.ts b/lib/routes/shmtu/jwc.ts index fdc369bd8..9b51d6dd6 100644 --- a/lib/routes/shmtu/jwc.ts +++ b/lib/routes/shmtu/jwc.ts @@ -36,9 +36,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['jwc.shmtu.edu.cn/:type'], - }, + radar: [ + { + source: ['jwc.shmtu.edu.cn/:type'], + }, + ], name: '教务信息', maintainers: ['imbytecat', 'simonsmh'], handler, diff --git a/lib/routes/shmtu/portal.ts b/lib/routes/shmtu/portal.ts index 7f2820772..ab527a2ca 100644 --- a/lib/routes/shmtu/portal.ts +++ b/lib/routes/shmtu/portal.ts @@ -55,9 +55,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['portal.shmtu.edu.cn/:type'], - }, + radar: [ + { + source: ['portal.shmtu.edu.cn/:type'], + }, + ], name: '数字平台', maintainers: ['imbytecat'], handler, diff --git a/lib/routes/shmtu/www.ts b/lib/routes/shmtu/www.ts index a961b9b5a..5c86c2a4d 100644 --- a/lib/routes/shmtu/www.ts +++ b/lib/routes/shmtu/www.ts @@ -36,9 +36,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.shmtu.edu.cn/:type'], - }, + radar: [ + { + source: ['www.shmtu.edu.cn/:type'], + }, + ], name: '官网信息', maintainers: ['imbytecat', 'simonsmh'], handler, diff --git a/lib/routes/shoac/recent-show.ts b/lib/routes/shoac/recent-show.ts index 3671b130f..243b370ca 100644 --- a/lib/routes/shoac/recent-show.ts +++ b/lib/routes/shoac/recent-show.ts @@ -21,9 +21,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['shoac.com.cn/'], - }, + radar: [ + { + source: ['shoac.com.cn/'], + }, + ], name: '演出月历', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/shopback/store.ts b/lib/routes/shopback/store.ts index 83e2f77f1..2c9f7776c 100644 --- a/lib/routes/shopback/store.ts +++ b/lib/routes/shopback/store.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['shopback.com.tw/:category', 'shopback.com.tw/'], - }, + radar: [ + { + source: ['shopback.com.tw/:category', 'shopback.com.tw/'], + }, + ], name: 'Store', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/shoppingdesign/posts.ts b/lib/routes/shoppingdesign/posts.ts index 24a902a9a..f88871180 100644 --- a/lib/routes/shoppingdesign/posts.ts +++ b/lib/routes/shoppingdesign/posts.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.shoppingdesign.com.tw/post'], - }, + radar: [ + { + source: ['www.shoppingdesign.com.tw/post'], + }, + ], name: '文章列表', maintainers: ['miles170'], handler, diff --git a/lib/routes/showstart/artist.ts b/lib/routes/showstart/artist.ts index a54a07160..062c17160 100644 --- a/lib/routes/showstart/artist.ts +++ b/lib/routes/showstart/artist.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.showstart.com/artist/:id'], - }, + radar: [ + { + source: ['www.showstart.com/artist/:id'], + }, + ], name: '音乐人 - 演出更新', maintainers: ['lchtao26'], handler, diff --git a/lib/routes/showstart/brand.ts b/lib/routes/showstart/brand.ts index ce4665bb1..51f5b0010 100644 --- a/lib/routes/showstart/brand.ts +++ b/lib/routes/showstart/brand.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.showstart.com/host/:id'], - }, + radar: [ + { + source: ['www.showstart.com/host/:id'], + }, + ], name: '厂牌 - 演出更新', maintainers: ['lchtao26'], handler, diff --git a/lib/routes/shu/index.ts b/lib/routes/shu/index.ts index deb0150ec..33dabbd88 100644 --- a/lib/routes/shu/index.ts +++ b/lib/routes/shu/index.ts @@ -26,10 +26,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.shu.edu.cn/:type'], - target: '/:type', - }, + radar: [ + { + source: ['www.shu.edu.cn/:type'], + target: '/:type', + }, + ], name: '官网信息', maintainers: ['lonelyion'], handler, diff --git a/lib/routes/shu/jwb.ts b/lib/routes/shu/jwb.ts index f1447821f..6870cf345 100644 --- a/lib/routes/shu/jwb.ts +++ b/lib/routes/shu/jwb.ts @@ -13,10 +13,12 @@ const alias = new Map([ export const route: Route = { path: ['/jwc/:type?', '/jwb/:type?'], - radar: { - source: ['www.shu.edu.cn/:type'], - target: '/:type', - }, + radar: [ + { + source: ['www.shu.edu.cn/:type'], + target: '/:type', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/shuiguopai/index.ts b/lib/routes/shuiguopai/index.ts index 9f04574cd..155e506be 100644 --- a/lib/routes/shuiguopai/index.ts +++ b/lib/routes/shuiguopai/index.ts @@ -12,10 +12,12 @@ import * as path from 'node:path'; export const route: Route = { path: '/', - radar: { - source: ['shuiguopai.com/'], - target: '', - }, + radar: [ + { + source: ['shuiguopai.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/sicau/dky.ts b/lib/routes/sicau/dky.ts index 5b5b2179a..8e6d7e739 100644 --- a/lib/routes/sicau/dky.ts +++ b/lib/routes/sicau/dky.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['dky.sicau.edu.cn/'], - }, + radar: [ + { + source: ['dky.sicau.edu.cn/'], + }, + ], name: '动物科技学院', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/sicau/yan.ts b/lib/routes/sicau/yan.ts index e518e9a66..4b9f75a04 100644 --- a/lib/routes/sicau/yan.ts +++ b/lib/routes/sicau/yan.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yan.sicau.edu.cn/'], - }, + radar: [ + { + source: ['yan.sicau.edu.cn/'], + }, + ], name: '研究生院', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/sicau/zsjy.ts b/lib/routes/sicau/zsjy.ts index afecc141a..131cf6d4c 100644 --- a/lib/routes/sicau/zsjy.ts +++ b/lib/routes/sicau/zsjy.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['dky.sicau.edu.cn/'], - }, + radar: [ + { + source: ['dky.sicau.edu.cn/'], + }, + ], name: '招生就业', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/sigsac/ccs.ts b/lib/routes/sigsac/ccs.ts index 98194bf24..2db3c39c5 100644 --- a/lib/routes/sigsac/ccs.ts +++ b/lib/routes/sigsac/ccs.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['sigsac.org/ccs.html', 'sigsac.org/'], - }, + radar: [ + { + source: ['sigsac.org/ccs.html', 'sigsac.org/'], + }, + ], name: 'The ACM Conference on Computer and Communications Security', maintainers: [], handler, diff --git a/lib/routes/simpleinfo/index.ts b/lib/routes/simpleinfo/index.ts index 49ddabc9b..7708d68b3 100644 --- a/lib/routes/simpleinfo/index.ts +++ b/lib/routes/simpleinfo/index.ts @@ -23,10 +23,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['blog.simpleinfo.cc/blog/:category'], - target: '/:category', - }, + radar: [ + { + source: ['blog.simpleinfo.cc/blog/:category'], + target: '/:category', + }, + ], name: '志祺七七', maintainers: ['haukeng'], handler, diff --git a/lib/routes/sina/chuangshiji.ts b/lib/routes/sina/chuangshiji.ts index 20a4a05ef..74e8a4723 100644 --- a/lib/routes/sina/chuangshiji.ts +++ b/lib/routes/sina/chuangshiji.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['tech.sina.com.cn/chuangshiji', 'tech.sina.com.cn/'], - }, + radar: [ + { + source: ['tech.sina.com.cn/chuangshiji', 'tech.sina.com.cn/'], + }, + ], name: '专栏 - 创事记', maintainers: ['xapool'], handler, diff --git a/lib/routes/sina/finance/china.ts b/lib/routes/sina/finance/china.ts index 6e2df44df..975fb1379 100644 --- a/lib/routes/sina/finance/china.ts +++ b/lib/routes/sina/finance/china.ts @@ -15,10 +15,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['finance.sina.com.cn/china', 'finance.sina.com.cn/'], - target: '/finance/china', - }, + radar: [ + { + source: ['finance.sina.com.cn/china', 'finance.sina.com.cn/'], + target: '/finance/china', + }, + ], name: '财经-国內', maintainers: ['yubinbai'], handler, diff --git a/lib/routes/sina/finance/stock/usstock.ts b/lib/routes/sina/finance/stock/usstock.ts index 4ded80c55..ddeed513b 100644 --- a/lib/routes/sina/finance/stock/usstock.ts +++ b/lib/routes/sina/finance/stock/usstock.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['finance.sina.com.cn/stock/usstock', 'finance.sina.com.cn/'], - target: '/finance/stock/usstock', - }, + radar: [ + { + source: ['finance.sina.com.cn/stock/usstock', 'finance.sina.com.cn/'], + target: '/finance/stock/usstock', + }, + ], name: '美股', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/sinchew/index.ts b/lib/routes/sinchew/index.ts index b4db67cf0..6e20e589a 100644 --- a/lib/routes/sinchew/index.ts +++ b/lib/routes/sinchew/index.ts @@ -13,10 +13,12 @@ import * as path from 'node:path'; export const route: Route = { path: '*', - radar: { - source: ['sinchew.com.my/'], - target: '', - }, + radar: [ + { + source: ['sinchew.com.my/'], + target: '', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/sjtu/gs.ts b/lib/routes/sjtu/gs.ts index 7155a87cc..bf6c93903 100644 --- a/lib/routes/sjtu/gs.ts +++ b/lib/routes/sjtu/gs.ts @@ -19,10 +19,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gs.sjtu.edu.cn/announcement/:type'], - target: '/gs/:type', - }, + radar: [ + { + source: ['gs.sjtu.edu.cn/announcement/:type'], + target: '/gs/:type', + }, + ], name: '研究生通知公告', maintainers: ['dzx-dzx'], handler, diff --git a/lib/routes/slowmist/slowmist.ts b/lib/routes/slowmist/slowmist.ts index 0b859ca5b..3ca828b79 100644 --- a/lib/routes/slowmist/slowmist.ts +++ b/lib/routes/slowmist/slowmist.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['slowmist.com/zh/news.html'], - }, + radar: [ + { + source: ['slowmist.com/zh/news.html'], + }, + ], name: '动态', maintainers: ['AtlasQuan'], handler, diff --git a/lib/routes/smashingmagazine/category.ts b/lib/routes/smashingmagazine/category.ts index 2162da629..3137dc8dd 100644 --- a/lib/routes/smashingmagazine/category.ts +++ b/lib/routes/smashingmagazine/category.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['smashingmagazine.com/category/:category'], - target: '/:category', - }, + radar: [ + { + source: ['smashingmagazine.com/category/:category'], + target: '/:category', + }, + ], name: 'Category', maintainers: ['Rjnishant530'], handler, diff --git a/lib/routes/smzdm/article.ts b/lib/routes/smzdm/article.ts index b7666e3af..45bcef75f 100644 --- a/lib/routes/smzdm/article.ts +++ b/lib/routes/smzdm/article.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['zhiyou.smzdm.com/member/:uid/article'], - }, + radar: [ + { + source: ['zhiyou.smzdm.com/member/:uid/article'], + }, + ], name: '用户文章', maintainers: ['xfangbao'], handler, diff --git a/lib/routes/smzdm/baoliao.ts b/lib/routes/smzdm/baoliao.ts index d81ac3c94..931aa07b3 100644 --- a/lib/routes/smzdm/baoliao.ts +++ b/lib/routes/smzdm/baoliao.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['zhiyou.smzdm.com/member/:uid/baoliao'], - }, + radar: [ + { + source: ['zhiyou.smzdm.com/member/:uid/baoliao'], + }, + ], name: '用户爆料', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/smzdm/haowen-fenlei.ts b/lib/routes/smzdm/haowen-fenlei.ts index 005c1d12c..bfd0a5f7f 100644 --- a/lib/routes/smzdm/haowen-fenlei.ts +++ b/lib/routes/smzdm/haowen-fenlei.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['post.smzdm.com/fenlei/:name'], - target: '/haowen/fenlei/:name', - }, + radar: [ + { + source: ['post.smzdm.com/fenlei/:name'], + target: '/haowen/fenlei/:name', + }, + ], name: '好文分类', maintainers: ['LogicJake'], handler, diff --git a/lib/routes/snowpeak/us-new-arrivals.ts b/lib/routes/snowpeak/us-new-arrivals.ts index 8fb97dcc5..e3134ecee 100644 --- a/lib/routes/snowpeak/us-new-arrivals.ts +++ b/lib/routes/snowpeak/us-new-arrivals.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['snowpeak.com/collections/new-arrivals', 'snowpeak.com/'], - }, + radar: [ + { + source: ['snowpeak.com/collections/new-arrivals', 'snowpeak.com/'], + }, + ], name: 'New Arrivals(USA)', maintainers: ['EthanWng97'], handler, diff --git a/lib/routes/sobooks/date.ts b/lib/routes/sobooks/date.ts index d617042ac..1a559a831 100644 --- a/lib/routes/sobooks/date.ts +++ b/lib/routes/sobooks/date.ts @@ -14,10 +14,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['sobooks.net/:category'], - target: '/:category', - }, + radar: [ + { + source: ['sobooks.net/:category'], + target: '/:category', + }, + ], name: '归档', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/sobooks/index.ts b/lib/routes/sobooks/index.ts index 45b1214f7..4e724d492 100644 --- a/lib/routes/sobooks/index.ts +++ b/lib/routes/sobooks/index.ts @@ -14,10 +14,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['sobooks.net/:category'], - target: '/:category', - }, + radar: [ + { + source: ['sobooks.net/:category'], + target: '/:category', + }, + ], name: '首页', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/sobooks/tag.ts b/lib/routes/sobooks/tag.ts index fe3f3aadd..9f542e936 100644 --- a/lib/routes/sobooks/tag.ts +++ b/lib/routes/sobooks/tag.ts @@ -14,10 +14,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['sobooks.net/books/tag/:tag'], - target: '/tag/:tag', - }, + radar: [ + { + source: ['sobooks.net/books/tag/:tag'], + target: '/tag/:tag', + }, + ], name: '标签', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/sony/downloads.ts b/lib/routes/sony/downloads.ts index 63651e174..66c421798 100644 --- a/lib/routes/sony/downloads.ts +++ b/lib/routes/sony/downloads.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['sony.com/electronics/support/:productType/:productId/downloads'], - }, + radar: [ + { + source: ['sony.com/electronics/support/:productType/:productId/downloads'], + }, + ], name: 'Software Downloads', maintainers: ['EthanWng97'], handler, diff --git a/lib/routes/soundofhope/channel.ts b/lib/routes/soundofhope/channel.ts index c4d7c764a..f0a030ae5 100644 --- a/lib/routes/soundofhope/channel.ts +++ b/lib/routes/soundofhope/channel.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['soundofhope.org/:channel/:id'], - }, + radar: [ + { + source: ['soundofhope.org/:channel/:id'], + }, + ], name: '频道', maintainers: ['Fatpandac'], handler, diff --git a/lib/routes/spotify/artist.ts b/lib/routes/spotify/artist.ts index 4d8b048d7..e25f78842 100644 --- a/lib/routes/spotify/artist.ts +++ b/lib/routes/spotify/artist.ts @@ -25,9 +25,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['open.spotify.com/artist/:id'], - }, + radar: [ + { + source: ['open.spotify.com/artist/:id'], + }, + ], name: 'Artist Albums', maintainers: ['outloudvi'], handler, diff --git a/lib/routes/spotify/artists-top.ts b/lib/routes/spotify/artists-top.ts index 24e63bee8..0a8497d71 100644 --- a/lib/routes/spotify/artists-top.ts +++ b/lib/routes/spotify/artists-top.ts @@ -28,9 +28,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['open.spotify.com/'], - }, + radar: [ + { + source: ['open.spotify.com/'], + }, + ], name: 'Personal Top Artists', maintainers: ['outloudvi'], handler, diff --git a/lib/routes/spotify/playlist.ts b/lib/routes/spotify/playlist.ts index e7c873c19..b1888db12 100644 --- a/lib/routes/spotify/playlist.ts +++ b/lib/routes/spotify/playlist.ts @@ -25,9 +25,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['open.spotify.com/playlist/:id'], - }, + radar: [ + { + source: ['open.spotify.com/playlist/:id'], + }, + ], name: 'Playlist', maintainers: ['outloudvi'], handler, diff --git a/lib/routes/spotify/saved.ts b/lib/routes/spotify/saved.ts index a985dcac2..7aeafbc79 100644 --- a/lib/routes/spotify/saved.ts +++ b/lib/routes/spotify/saved.ts @@ -29,10 +29,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['open.spotify.com/collection/tracks'], - target: '/saved', - }, + radar: [ + { + source: ['open.spotify.com/collection/tracks'], + target: '/saved', + }, + ], name: 'Personal Saved Tracks', maintainers: ['outloudvi'], handler, diff --git a/lib/routes/spotify/show.ts b/lib/routes/spotify/show.ts index 1c3162493..8302fa484 100644 --- a/lib/routes/spotify/show.ts +++ b/lib/routes/spotify/show.ts @@ -25,9 +25,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['open.spotify.com/show/:id'], - }, + radar: [ + { + source: ['open.spotify.com/show/:id'], + }, + ], name: 'Show', maintainers: ['caiohsramos'], handler, diff --git a/lib/routes/spotify/tracks-top.ts b/lib/routes/spotify/tracks-top.ts index ea7587434..3ab80540b 100644 --- a/lib/routes/spotify/tracks-top.ts +++ b/lib/routes/spotify/tracks-top.ts @@ -28,9 +28,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['open.spotify.com/'], - }, + radar: [ + { + source: ['open.spotify.com/'], + }, + ], name: 'Personal Top Tracks', maintainers: ['outloudvi'], handler, diff --git a/lib/routes/springer/journal.ts b/lib/routes/springer/journal.ts index c82c08b7b..452a5ac7b 100644 --- a/lib/routes/springer/journal.ts +++ b/lib/routes/springer/journal.ts @@ -24,9 +24,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.springer.com/journal/:journal/*'], - }, + radar: [ + { + source: ['www.springer.com/journal/:journal/*'], + }, + ], name: 'Journal', maintainers: ['Derekmini', 'TonyRL'], handler, diff --git a/lib/routes/sqmc/www.ts b/lib/routes/sqmc/www.ts index f110aee71..5d695ebda 100644 --- a/lib/routes/sqmc/www.ts +++ b/lib/routes/sqmc/www.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['sqmc.edu.cn/:category/list.htm'], - }, + radar: [ + { + source: ['sqmc.edu.cn/:category/list.htm'], + }, + ], name: '官网信息', maintainers: ['nyaShine'], handler, diff --git a/lib/routes/sse/inquire.ts b/lib/routes/sse/inquire.ts index 0937f5e98..0e2a812a5 100644 --- a/lib/routes/sse/inquire.ts +++ b/lib/routes/sse/inquire.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.sse.com.cn/disclosure/credibility/supervision/inquiries', 'www.sse.com.cn/'], - }, + radar: [ + { + source: ['www.sse.com.cn/disclosure/credibility/supervision/inquiries', 'www.sse.com.cn/'], + }, + ], name: '监管问询', maintainers: ['Jeason0228'], handler, diff --git a/lib/routes/sse/renewal.ts b/lib/routes/sse/renewal.ts index dae0829bd..77d296c7e 100644 --- a/lib/routes/sse/renewal.ts +++ b/lib/routes/sse/renewal.ts @@ -26,9 +26,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['kcb.sse.com.cn/home', 'kcb.sse.com.cn/'], - }, + radar: [ + { + source: ['kcb.sse.com.cn/home', 'kcb.sse.com.cn/'], + }, + ], name: '科创板项目动态', maintainers: ['Jeason0228'], handler, diff --git a/lib/routes/ssm/news.ts b/lib/routes/ssm/news.ts index 68fa2d1c3..4f1bf58e5 100644 --- a/lib/routes/ssm/news.ts +++ b/lib/routes/ssm/news.ts @@ -24,9 +24,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.ssm.gov.mo/', 'www.ssm.gov.mo/portal'], - }, + radar: [ + { + source: ['www.ssm.gov.mo/', 'www.ssm.gov.mo/portal'], + }, + ], name: '最新消息', maintainers: ['Fatpandac'], handler, diff --git a/lib/routes/sspai/activity.ts b/lib/routes/sspai/activity.ts index 4f196a0c9..bb1855d5a 100644 --- a/lib/routes/sspai/activity.ts +++ b/lib/routes/sspai/activity.ts @@ -15,10 +15,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['sspai.com/u/:id/updates'], - target: '/activity/:id', - }, + radar: [ + { + source: ['sspai.com/u/:id/updates'], + target: '/activity/:id', + }, + ], name: '作者动态', maintainers: ['umm233'], handler, diff --git a/lib/routes/sspai/author.ts b/lib/routes/sspai/author.ts index 38eebbe41..120785b32 100644 --- a/lib/routes/sspai/author.ts +++ b/lib/routes/sspai/author.ts @@ -32,9 +32,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['sspai.com/u/:id/posts'], - }, + radar: [ + { + source: ['sspai.com/u/:id/posts'], + }, + ], name: '作者', maintainers: ['SunShinenny', 'hoilc'], handler, diff --git a/lib/routes/sspai/bookmarks.ts b/lib/routes/sspai/bookmarks.ts index 596ee098b..5fba4ec04 100644 --- a/lib/routes/sspai/bookmarks.ts +++ b/lib/routes/sspai/bookmarks.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['sspai.com/u/:slug/bookmark_posts'], - }, + radar: [ + { + source: ['sspai.com/u/:slug/bookmark_posts'], + }, + ], name: '用户收藏', maintainers: ['curly210102'], handler, diff --git a/lib/routes/sspai/column.ts b/lib/routes/sspai/column.ts index beb878a7d..63e27c34b 100644 --- a/lib/routes/sspai/column.ts +++ b/lib/routes/sspai/column.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['sspai.com/column/:id'], - }, + radar: [ + { + source: ['sspai.com/column/:id'], + }, + ], name: '专栏', maintainers: ['LogicJake'], handler, diff --git a/lib/routes/sspai/index.ts b/lib/routes/sspai/index.ts index 81e09e587..00eb6070e 100644 --- a/lib/routes/sspai/index.ts +++ b/lib/routes/sspai/index.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['sspai.com/index'], - }, + radar: [ + { + source: ['sspai.com/index'], + }, + ], name: '首页', maintainers: ['HenryQW'], handler, diff --git a/lib/routes/sspai/matrix.ts b/lib/routes/sspai/matrix.ts index 66501ea13..2ade91768 100644 --- a/lib/routes/sspai/matrix.ts +++ b/lib/routes/sspai/matrix.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['sspai.com/matrix'], - }, + radar: [ + { + source: ['sspai.com/matrix'], + }, + ], name: 'Matrix', maintainers: ['feigaoxyz'], handler, diff --git a/lib/routes/sspai/series-update.ts b/lib/routes/sspai/series-update.ts index 53cf8c13b..a0626a700 100644 --- a/lib/routes/sspai/series-update.ts +++ b/lib/routes/sspai/series-update.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['sspai.com/series/:id', 'sspai.com/series/:id/list', 'sspai.com/series/:id/metadata'], - }, + radar: [ + { + source: ['sspai.com/series/:id', 'sspai.com/series/:id/list', 'sspai.com/series/:id/metadata'], + }, + ], name: '付费专栏文章更新', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/sspai/series.ts b/lib/routes/sspai/series.ts index 2e5a1777c..0c930f77f 100644 --- a/lib/routes/sspai/series.ts +++ b/lib/routes/sspai/series.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['sspai.com/series'], - }, + radar: [ + { + source: ['sspai.com/series'], + }, + ], name: '最新上架付费专栏', maintainers: ['HenryQW'], handler, diff --git a/lib/routes/sspai/shortcuts-gallery.ts b/lib/routes/sspai/shortcuts-gallery.ts index 168711e37..751fde0de 100644 --- a/lib/routes/sspai/shortcuts-gallery.ts +++ b/lib/routes/sspai/shortcuts-gallery.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['shortcuts.sspai.com/*'], - }, + radar: [ + { + source: ['shortcuts.sspai.com/*'], + }, + ], name: 'Shortcuts Gallery', maintainers: ['Andiedie'], handler, diff --git a/lib/routes/sspai/tag.ts b/lib/routes/sspai/tag.ts index 9ac4e4160..5e4c40e7f 100644 --- a/lib/routes/sspai/tag.ts +++ b/lib/routes/sspai/tag.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['sspai.com/tag/:keyword'], - }, + radar: [ + { + source: ['sspai.com/tag/:keyword'], + }, + ], name: '标签订阅', maintainers: ['Jeason0228'], handler, diff --git a/lib/routes/sspai/topic.ts b/lib/routes/sspai/topic.ts index 71b522555..5ca450d5e 100644 --- a/lib/routes/sspai/topic.ts +++ b/lib/routes/sspai/topic.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['sspai.com/topic/:id'], - }, + radar: [ + { + source: ['sspai.com/topic/:id'], + }, + ], name: '专题内文章更新', maintainers: ['SunShinenny'], handler, diff --git a/lib/routes/sspai/topics.ts b/lib/routes/sspai/topics.ts index 922a89be4..c23b96df7 100644 --- a/lib/routes/sspai/topics.ts +++ b/lib/routes/sspai/topics.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['sspai.com/topics'], - }, + radar: [ + { + source: ['sspai.com/topics'], + }, + ], name: '专题', maintainers: ['SunShinenny'], handler, diff --git a/lib/routes/sspu/jwc.ts b/lib/routes/sspu/jwc.ts index 3d4e15c76..908915611 100644 --- a/lib/routes/sspu/jwc.ts +++ b/lib/routes/sspu/jwc.ts @@ -7,9 +7,11 @@ import timezone from '@/utils/timezone'; export const route: Route = { path: '/jwc/:listId', - radar: { - source: ['jwc.sspu.edu.cn/jwc/:listId/list.htm'], - }, + radar: [ + { + source: ['jwc.sspu.edu.cn/jwc/:listId/list.htm'], + }, + ], name: 'Unknown', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/sspu/pe.ts b/lib/routes/sspu/pe.ts index 2f8ab8971..1987ba322 100644 --- a/lib/routes/sspu/pe.ts +++ b/lib/routes/sspu/pe.ts @@ -6,10 +6,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/pe/:id?', - radar: { - source: ['pe2016.sspu.edu.cn/:id/list.htm'], - target: '/pe/:id', - }, + radar: [ + { + source: ['pe2016.sspu.edu.cn/:id/list.htm'], + target: '/pe/:id', + }, + ], name: 'Unknown', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/startuplatte/index.ts b/lib/routes/startuplatte/index.ts index e19e5ed9f..731db7e49 100644 --- a/lib/routes/startuplatte/index.ts +++ b/lib/routes/startuplatte/index.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['startuplatte.com/category/:category', 'startuplatte.com/'], - }, + radar: [ + { + source: ['startuplatte.com/category/:category', 'startuplatte.com/'], + }, + ], name: '分类', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/stbu/jsjxy.ts b/lib/routes/stbu/jsjxy.ts index a3087a37b..259f037bf 100644 --- a/lib/routes/stbu/jsjxy.ts +++ b/lib/routes/stbu/jsjxy.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['jsjxy.stbu.edu.cn/news', 'jsjxy.stbu.edu.cn/'], - }, + radar: [ + { + source: ['jsjxy.stbu.edu.cn/news', 'jsjxy.stbu.edu.cn/'], + }, + ], name: '计算机学院通知公告', maintainers: ['HyperCherry'], handler, diff --git a/lib/routes/stbu/xyxw.ts b/lib/routes/stbu/xyxw.ts index fe74e78c7..ec9a75c10 100644 --- a/lib/routes/stbu/xyxw.ts +++ b/lib/routes/stbu/xyxw.ts @@ -9,9 +9,11 @@ import timezone from '@/utils/timezone'; const gbk2utf8 = (s) => iconv.decode(s, 'gbk'); export const route: Route = { path: '/xyxw', - radar: { - source: ['stbu.edu.cn/html/news/xueyuan', 'stbu.edu.cn/'], - }, + radar: [ + { + source: ['stbu.edu.cn/html/news/xueyuan', 'stbu.edu.cn/'], + }, + ], name: 'Unknown', maintainers: ['HyperCherry'], handler, diff --git a/lib/routes/stockedge/daily-news.ts b/lib/routes/stockedge/daily-news.ts index 7fdc50a21..9664a566f 100644 --- a/lib/routes/stockedge/daily-news.ts +++ b/lib/routes/stockedge/daily-news.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['web.stockedge.com/daily-updates/news'], - }, + radar: [ + { + source: ['web.stockedge.com/daily-updates/news'], + }, + ], name: 'Daily Updates News', maintainers: ['Rjnishant530'], handler, diff --git a/lib/routes/storm/index.ts b/lib/routes/storm/index.ts index 4c2ea00d6..b63d91022 100644 --- a/lib/routes/storm/index.ts +++ b/lib/routes/storm/index.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['storm.mg/:category/:id'], - }, + radar: [ + { + source: ['storm.mg/:category/:id'], + }, + ], name: '分类', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/storyfm/episodes.ts b/lib/routes/storyfm/episodes.ts index 0b188987f..43f43cbb5 100644 --- a/lib/routes/storyfm/episodes.ts +++ b/lib/routes/storyfm/episodes.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: true, supportScihub: false, }, - radar: { - source: ['storyfm.cn/episodes-list', 'storyfm.cn/'], - }, + radar: [ + { + source: ['storyfm.cn/episodes-list', 'storyfm.cn/'], + }, + ], name: '播客', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/storyfm/index.ts b/lib/routes/storyfm/index.ts index 7cbd6b8f0..286535f6f 100644 --- a/lib/routes/storyfm/index.ts +++ b/lib/routes/storyfm/index.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['storyfm.cn/'], - }, + radar: [ + { + source: ['storyfm.cn/'], + }, + ], name: '首页', maintainers: ['sanmmm'], handler, diff --git a/lib/routes/studygolang/go.ts b/lib/routes/studygolang/go.ts index 1daa5af9c..1a699e119 100644 --- a/lib/routes/studygolang/go.ts +++ b/lib/routes/studygolang/go.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['studygolang.com/go/:id', 'studygolang.com/'], - }, + radar: [ + { + source: ['studygolang.com/go/:id', 'studygolang.com/'], + }, + ], name: '板块', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/supchina/index.ts b/lib/routes/supchina/index.ts index 97ef410d4..f130f8697 100644 --- a/lib/routes/supchina/index.ts +++ b/lib/routes/supchina/index.ts @@ -6,10 +6,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/', - radar: { - source: ['supchina.com/feed', 'supchina.com/'], - target: '', - }, + radar: [ + { + source: ['supchina.com/feed', 'supchina.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/supchina/podcasts.ts b/lib/routes/supchina/podcasts.ts index 7d15e39bc..ad9a0499a 100644 --- a/lib/routes/supchina/podcasts.ts +++ b/lib/routes/supchina/podcasts.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['supchina.com/podcasts', 'supchina.com/'], - }, + radar: [ + { + source: ['supchina.com/podcasts', 'supchina.com/'], + }, + ], name: 'Podcasts', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/sustech/bidding.ts b/lib/routes/sustech/bidding.ts index 442345ca4..1ec548dfa 100644 --- a/lib/routes/sustech/bidding.ts +++ b/lib/routes/sustech/bidding.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['biddingoffice.sustech.edu.cn/'], - }, + radar: [ + { + source: ['biddingoffice.sustech.edu.cn/'], + }, + ], name: '采购与招标管理部', maintainers: ['sparkcyf'], handler, diff --git a/lib/routes/sustech/newshub-zh.ts b/lib/routes/sustech/newshub-zh.ts index 586f8cf0b..8744a8b99 100644 --- a/lib/routes/sustech/newshub-zh.ts +++ b/lib/routes/sustech/newshub-zh.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['newshub.sustech.edu.cn/news'], - }, + radar: [ + { + source: ['newshub.sustech.edu.cn/news'], + }, + ], name: '新闻网(中文)', maintainers: ['sparkcyf'], handler, diff --git a/lib/routes/sustech/yjs.ts b/lib/routes/sustech/yjs.ts index b52ff9e5a..e88e325f0 100644 --- a/lib/routes/sustech/yjs.ts +++ b/lib/routes/sustech/yjs.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gs.sustech.edu.cn/'], - }, + radar: [ + { + source: ['gs.sustech.edu.cn/'], + }, + ], name: '研究生网通知公告', maintainers: ['shengmaosu'], handler, diff --git a/lib/routes/swissinfo/index.ts b/lib/routes/swissinfo/index.ts index 7c9dc5701..aa2bc3a1a 100644 --- a/lib/routes/swissinfo/index.ts +++ b/lib/routes/swissinfo/index.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['swissinfo.ch/:language/:category', 'swissinfo.ch/'], - }, + radar: [ + { + source: ['swissinfo.ch/:language/:category', 'swissinfo.ch/'], + }, + ], name: 'Category', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/swjtu/jwc.ts b/lib/routes/swjtu/jwc.ts index badf64fa3..0bce77dac 100644 --- a/lib/routes/swjtu/jwc.ts +++ b/lib/routes/swjtu/jwc.ts @@ -57,9 +57,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['jwc.swjtu.edu.cn/vatuu/WebAction', 'jwc.swjtu.edu.cn/'], - }, + radar: [ + { + source: ['jwc.swjtu.edu.cn/vatuu/WebAction', 'jwc.swjtu.edu.cn/'], + }, + ], name: '教务网', maintainers: ['mobyw'], handler, diff --git a/lib/routes/swjtu/jyzpxx.ts b/lib/routes/swjtu/jyzpxx.ts index f018882de..1c3b3d130 100644 --- a/lib/routes/swjtu/jyzpxx.ts +++ b/lib/routes/swjtu/jyzpxx.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['jiuye.swjtu.edu.cn/career', 'jiuye.swjtu.edu.cn/'], - }, + radar: [ + { + source: ['jiuye.swjtu.edu.cn/career', 'jiuye.swjtu.edu.cn/'], + }, + ], name: '就业招聘信息', maintainers: ['qizidog'], handler, diff --git a/lib/routes/swjtu/xg.ts b/lib/routes/swjtu/xg.ts index 674f0c54b..8103faa59 100644 --- a/lib/routes/swjtu/xg.ts +++ b/lib/routes/swjtu/xg.ts @@ -62,10 +62,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['xg.swjtu.edu.cn/web/Home/PushNewsList', 'xg.swjtu.edu.cn/web/Home/NewsList', 'xg.swjtu.edu.cn/web/Home/ColourfulCollegeNewsList', 'xg.swjtu.edu.cn/web/Publicity/List', 'xg.swjtu.edu.cn/'], - target: '/xg', - }, + radar: [ + { + source: ['xg.swjtu.edu.cn/web/Home/PushNewsList', 'xg.swjtu.edu.cn/web/Home/NewsList', 'xg.swjtu.edu.cn/web/Home/ColourfulCollegeNewsList', 'xg.swjtu.edu.cn/web/Publicity/List', 'xg.swjtu.edu.cn/'], + target: '/xg', + }, + ], name: '扬华素质网', maintainers: ['mobyw'], handler, diff --git a/lib/routes/swpu/bgw.ts b/lib/routes/swpu/bgw.ts index 7dfac4d4a..062bab150 100644 --- a/lib/routes/swpu/bgw.ts +++ b/lib/routes/swpu/bgw.ts @@ -19,10 +19,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['swpu.edu.cn/'], - target: '', - }, + radar: [ + { + source: ['swpu.edu.cn/'], + target: '', + }, + ], name: '办公网', maintainers: ['CYTMWIA'], handler, diff --git a/lib/routes/swpu/cjxy.ts b/lib/routes/swpu/cjxy.ts index c38bb35c1..ef36972d4 100644 --- a/lib/routes/swpu/cjxy.ts +++ b/lib/routes/swpu/cjxy.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['swpu.edu.cn/'], - target: '', - }, + radar: [ + { + source: ['swpu.edu.cn/'], + target: '', + }, + ], name: '财经学院', maintainers: ['RiverTwilight'], handler, diff --git a/lib/routes/swpu/dean.ts b/lib/routes/swpu/dean.ts index bb83462a3..9072e813e 100644 --- a/lib/routes/swpu/dean.ts +++ b/lib/routes/swpu/dean.ts @@ -19,10 +19,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['swpu.edu.cn/'], - target: '', - }, + radar: [ + { + source: ['swpu.edu.cn/'], + target: '', + }, + ], name: '教务处', maintainers: ['CYTMWIA'], handler, diff --git a/lib/routes/swpu/dxy.ts b/lib/routes/swpu/dxy.ts index c687a0fbe..404b524d0 100644 --- a/lib/routes/swpu/dxy.ts +++ b/lib/routes/swpu/dxy.ts @@ -19,10 +19,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['swpu.edu.cn/'], - target: '', - }, + radar: [ + { + source: ['swpu.edu.cn/'], + target: '', + }, + ], name: '电气信息学院', maintainers: ['CYTMWIA'], handler, diff --git a/lib/routes/swpu/is.ts b/lib/routes/swpu/is.ts index 00ce43968..0a9307543 100644 --- a/lib/routes/swpu/is.ts +++ b/lib/routes/swpu/is.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['swpu.edu.cn/'], - target: '', - }, + radar: [ + { + source: ['swpu.edu.cn/'], + target: '', + }, + ], name: '信息学院', maintainers: ['RiverTwilight'], handler, diff --git a/lib/routes/swpu/scs.ts b/lib/routes/swpu/scs.ts index d67d82f9b..63d5f1564 100644 --- a/lib/routes/swpu/scs.ts +++ b/lib/routes/swpu/scs.ts @@ -19,10 +19,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['swpu.edu.cn/'], - target: '', - }, + radar: [ + { + source: ['swpu.edu.cn/'], + target: '', + }, + ], name: '计算机科学学院', maintainers: ['CYTMWIA'], handler, diff --git a/lib/routes/syosetu/chapter.ts b/lib/routes/syosetu/chapter.ts index 199b7974e..5fb22c035 100644 --- a/lib/routes/syosetu/chapter.ts +++ b/lib/routes/syosetu/chapter.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['novel18.syosetu.com/:id'], - }, + radar: [ + { + source: ['novel18.syosetu.com/:id'], + }, + ], name: 'chapter', maintainers: ['huangliangshusheng'], handler, diff --git a/lib/routes/sysu/cse.ts b/lib/routes/sysu/cse.ts index f39aed733..e40575e89 100644 --- a/lib/routes/sysu/cse.ts +++ b/lib/routes/sysu/cse.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['cse.sysu.edu.cn/'], - }, + radar: [ + { + source: ['cse.sysu.edu.cn/'], + }, + ], name: '数据科学与计算机学院动态', maintainers: [], handler, diff --git a/lib/routes/sysu/ygafz.ts b/lib/routes/sysu/ygafz.ts index 55fd6eaf8..51a4dbdf0 100644 --- a/lib/routes/sysu/ygafz.ts +++ b/lib/routes/sysu/ygafz.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ygafz.sysu.edu.cn/:type?'], - }, + radar: [ + { + source: ['ygafz.sysu.edu.cn/:type?'], + }, + ], name: 'Unknown', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/szse/inquire.ts b/lib/routes/szse/inquire.ts index c7a7b38b5..5832a40f3 100644 --- a/lib/routes/szse/inquire.ts +++ b/lib/routes/szse/inquire.ts @@ -20,10 +20,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['szse.cn/disclosure/supervision/inquire/index.html', 'szse.cn/'], - target: '/inquire', - }, + radar: [ + { + source: ['szse.cn/disclosure/supervision/inquire/index.html', 'szse.cn/'], + target: '/inquire', + }, + ], name: '问询函件', maintainers: ['Jeason0228', 'nczitzk'], handler, diff --git a/lib/routes/szse/notice.ts b/lib/routes/szse/notice.ts index 89da2cb73..2c4a7df90 100644 --- a/lib/routes/szse/notice.ts +++ b/lib/routes/szse/notice.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['szse.cn/disclosure/notice/company/index.html', 'szse.cn/'], - }, + radar: [ + { + source: ['szse.cn/disclosure/notice/company/index.html', 'szse.cn/'], + }, + ], name: '上市公告 - 可转换债券', maintainers: ['Jeason0228', 'nczitzk'], handler, diff --git a/lib/routes/szse/projectdynamic.ts b/lib/routes/szse/projectdynamic.ts index 6c90cc1bb..1ed5ac60b 100644 --- a/lib/routes/szse/projectdynamic.ts +++ b/lib/routes/szse/projectdynamic.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['listing.szse.cn/projectdynamic/1/index.html', 'listing.szse.cn/projectdynamic/2/index.html', 'listing.szse.cn/projectdynamic/3/index.html', 'listing.szse.cn/'], - }, + radar: [ + { + source: ['listing.szse.cn/projectdynamic/1/index.html', 'listing.szse.cn/projectdynamic/2/index.html', 'listing.szse.cn/projectdynamic/3/index.html', 'listing.szse.cn/'], + }, + ], name: '创业板项目动态', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/szse/rule.ts b/lib/routes/szse/rule.ts index 8f23ee75b..0c9b2d116 100644 --- a/lib/routes/szse/rule.ts +++ b/lib/routes/szse/rule.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['szse.cn/lawrules/rule/new', 'szse.cn/'], - }, + radar: [ + { + source: ['szse.cn/lawrules/rule/new', 'szse.cn/'], + }, + ], name: '最新规则', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/taiwannews/hot.ts b/lib/routes/taiwannews/hot.ts index ac238b01c..018089cfb 100644 --- a/lib/routes/taiwannews/hot.ts +++ b/lib/routes/taiwannews/hot.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['taiwannews.com.tw/:lang/index'], - target: '/hot/:lang', - }, + radar: [ + { + source: ['taiwannews.com.tw/:lang/index'], + target: '/hot/:lang', + }, + ], name: 'Hot News', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/tangshufang/index.ts b/lib/routes/tangshufang/index.ts index a8bf0de09..8195f72c9 100644 --- a/lib/routes/tangshufang/index.ts +++ b/lib/routes/tangshufang/index.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['tangshufang.com/:category', 'tangshufang.com/'], - }, + radar: [ + { + source: ['tangshufang.com/:category', 'tangshufang.com/'], + }, + ], name: '分类', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/taoguba/blog.ts b/lib/routes/taoguba/blog.ts index 6d423a4ae..871c0938a 100644 --- a/lib/routes/taoguba/blog.ts +++ b/lib/routes/taoguba/blog.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['taoguba.com.cn/blog/:id', 'taoguba.com.cn/'], - }, + radar: [ + { + source: ['taoguba.com.cn/blog/:id', 'taoguba.com.cn/'], + }, + ], name: '用户博客', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/taptap/changelog.ts b/lib/routes/taptap/changelog.ts index d83cb33d3..7f7d124da 100644 --- a/lib/routes/taptap/changelog.ts +++ b/lib/routes/taptap/changelog.ts @@ -16,10 +16,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['taptap.com/app/:id'], - target: '/changelog/:id', - }, + radar: [ + { + source: ['taptap.com/app/:id'], + target: '/changelog/:id', + }, + ], name: '游戏更新', maintainers: ['hoilc', 'ETiV'], handler, diff --git a/lib/routes/taptap/review.ts b/lib/routes/taptap/review.ts index 0fc0ac67e..e274c994b 100644 --- a/lib/routes/taptap/review.ts +++ b/lib/routes/taptap/review.ts @@ -117,10 +117,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['taptap.com/app/:id/review', 'taptap.com/app/:id'], - target: '/review/:id', - }, + radar: [ + { + source: ['taptap.com/app/:id/review', 'taptap.com/app/:id'], + target: '/review/:id', + }, + ], name: '游戏评价', maintainers: ['hoilc', 'TonyRL'], handler, diff --git a/lib/routes/taptap/topic.ts b/lib/routes/taptap/topic.ts index bcc9863d4..5e9ca8e18 100644 --- a/lib/routes/taptap/topic.ts +++ b/lib/routes/taptap/topic.ts @@ -36,10 +36,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['taptap.com/app/:id/topic', 'taptap.com/app/:id'], - target: '/topic/:id', - }, + radar: [ + { + source: ['taptap.com/app/:id/topic', 'taptap.com/app/:id'], + target: '/topic/:id', + }, + ], name: '游戏论坛', maintainers: ['hoilc', 'TonyRL'], handler, diff --git a/lib/routes/tass/news.ts b/lib/routes/tass/news.ts index 9ad8205ad..fd5f6088e 100644 --- a/lib/routes/tass/news.ts +++ b/lib/routes/tass/news.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['tass.com/:category'], - target: '/:category', - }, + radar: [ + { + source: ['tass.com/:category'], + target: '/:category', + }, + ], name: 'News', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/techcrunch/news.ts b/lib/routes/techcrunch/news.ts index 7f642bdac..5780e78f6 100644 --- a/lib/routes/techcrunch/news.ts +++ b/lib/routes/techcrunch/news.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['techcrunch.com/'], - }, + radar: [ + { + source: ['techcrunch.com/'], + }, + ], name: 'News', maintainers: ['EthanWng97'], handler, diff --git a/lib/routes/techflowpost/express.ts b/lib/routes/techflowpost/express.ts index 7d574371d..029f888bd 100644 --- a/lib/routes/techflowpost/express.ts +++ b/lib/routes/techflowpost/express.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['techflowpost.com/newsletter/index.html'], - }, + radar: [ + { + source: ['techflowpost.com/newsletter/index.html'], + }, + ], name: '快讯', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/techflowpost/index.ts b/lib/routes/techflowpost/index.ts index 1e182e953..78b728bbe 100644 --- a/lib/routes/techflowpost/index.ts +++ b/lib/routes/techflowpost/index.ts @@ -5,10 +5,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/', - radar: { - source: ['techflowpost.com/'], - target: '', - }, + radar: [ + { + source: ['techflowpost.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/techpowerup/index.ts b/lib/routes/techpowerup/index.ts index 6d9feeacf..7b038c62a 100644 --- a/lib/routes/techpowerup/index.ts +++ b/lib/routes/techpowerup/index.ts @@ -7,10 +7,12 @@ import { baseUrl, headers, fixImages, parseReviews } from './utils'; export const route: Route = { path: '/', - radar: { - source: ['techpowerup.com/'], - target: '', - }, + radar: [ + { + source: ['techpowerup.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/techpowerup/review.ts b/lib/routes/techpowerup/review.ts index 6a51d294d..c1be7f19c 100644 --- a/lib/routes/techpowerup/review.ts +++ b/lib/routes/techpowerup/review.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['techpowerup.com/'], - target: '', - }, + radar: [ + { + source: ['techpowerup.com/'], + target: '', + }, + ], name: 'Reviews', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/telegram/blog.ts b/lib/routes/telegram/blog.ts index 7ffe77ff4..28b0253ea 100644 --- a/lib/routes/telegram/blog.ts +++ b/lib/routes/telegram/blog.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['telegram.org/blog'], - }, + radar: [ + { + source: ['telegram.org/blog'], + }, + ], name: 'Telegram Blog', maintainers: ['fengkx'], handler, diff --git a/lib/routes/telegram/channel.ts b/lib/routes/telegram/channel.ts index 0300bf46b..341f299f6 100644 --- a/lib/routes/telegram/channel.ts +++ b/lib/routes/telegram/channel.ts @@ -68,10 +68,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['t.me/s/:username'], - target: '/channel/:username', - }, + radar: [ + { + source: ['t.me/s/:username'], + target: '/channel/:username', + }, + ], name: 'Channel', maintainers: ['DIYgod', 'Rongronggg9'], handler, diff --git a/lib/routes/tencent/news/author.ts b/lib/routes/tencent/news/author.ts index eac4a6291..2e1008a6c 100644 --- a/lib/routes/tencent/news/author.ts +++ b/lib/routes/tencent/news/author.ts @@ -23,9 +23,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['new.qq.com/omn/author/:mid'], - }, + radar: [ + { + source: ['new.qq.com/omn/author/:mid'], + }, + ], name: '更新', maintainers: ['LogicJake', 'miles170'], handler, diff --git a/lib/routes/tencent/news/coronavirus/total.ts b/lib/routes/tencent/news/coronavirus/total.ts index 3b2f9a6c0..9a7a8a91b 100644 --- a/lib/routes/tencent/news/coronavirus/total.ts +++ b/lib/routes/tencent/news/coronavirus/total.ts @@ -9,9 +9,11 @@ import * as path from 'node:path'; export const route: Route = { path: '/news/coronavirus/total', - radar: { - source: ['new.qq.com/zt2020/page/feiyan.htm'], - }, + radar: [ + { + source: ['new.qq.com/zt2020/page/feiyan.htm'], + }, + ], name: 'Unknown', maintainers: ['CaoMeiYouRen'], handler, diff --git a/lib/routes/tesla/price/index.ts b/lib/routes/tesla/price/index.ts index ad54c1673..090598e99 100644 --- a/lib/routes/tesla/price/index.ts +++ b/lib/routes/tesla/price/index.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['tesla.cn/model3/design', 'tesla.cn/'], - }, + radar: [ + { + source: ['tesla.cn/model3/design', 'tesla.cn/'], + }, + ], name: '价格', maintainers: ['xiaokyo'], handler, diff --git a/lib/routes/theatlantic/news.ts b/lib/routes/theatlantic/news.ts index c04cf0d3b..eab56646a 100644 --- a/lib/routes/theatlantic/news.ts +++ b/lib/routes/theatlantic/news.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.theatlantic.com/:category'], - }, + radar: [ + { + source: ['www.theatlantic.com/:category'], + }, + ], name: 'News', maintainers: ['EthanWng97'], handler, diff --git a/lib/routes/thecatcity/index.ts b/lib/routes/thecatcity/index.ts index 4c5d756f9..9a849cbb3 100644 --- a/lib/routes/thecatcity/index.ts +++ b/lib/routes/thecatcity/index.ts @@ -19,10 +19,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['thecatcity.com/'], - target: '', - }, + radar: [ + { + source: ['thecatcity.com/'], + target: '', + }, + ], name: '分類', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/thehindu/topic.ts b/lib/routes/thehindu/topic.ts index 7f12b76d1..54f8c4f50 100644 --- a/lib/routes/thehindu/topic.ts +++ b/lib/routes/thehindu/topic.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['thehindu.com/topic/:topic'], - }, + radar: [ + { + source: ['thehindu.com/topic/:topic'], + }, + ], name: 'Topic', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/thepaper/839studio/category.ts b/lib/routes/thepaper/839studio/category.ts index 05c290e7e..d742b93b8 100644 --- a/lib/routes/thepaper/839studio/category.ts +++ b/lib/routes/thepaper/839studio/category.ts @@ -4,9 +4,11 @@ import { load } from 'cheerio'; export const route: Route = { path: '/839studio/:id', - radar: { - source: ['thepaper.cn/'], - }, + radar: [ + { + source: ['thepaper.cn/'], + }, + ], name: 'Unknown', maintainers: ['umm233'], handler, diff --git a/lib/routes/thepaper/factpaper.ts b/lib/routes/thepaper/factpaper.ts index 529b43690..14bd34d6d 100644 --- a/lib/routes/thepaper/factpaper.ts +++ b/lib/routes/thepaper/factpaper.ts @@ -22,10 +22,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['factpaper.cn/'], - target: '/factpaper/:status', - }, + radar: [ + { + source: ['factpaper.cn/'], + target: '/factpaper/:status', + }, + ], name: '明查', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/thepaper/featured.ts b/lib/routes/thepaper/featured.ts index cb2b51ec4..b660d38f4 100644 --- a/lib/routes/thepaper/featured.ts +++ b/lib/routes/thepaper/featured.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['thepaper.cn/'], - }, + radar: [ + { + source: ['thepaper.cn/'], + }, + ], name: '首页头条', maintainers: ['HenryQW', 'nczitzk', 'bigfei'], handler, diff --git a/lib/routes/thepaper/sidebar.ts b/lib/routes/thepaper/sidebar.ts index 09e011ca2..9a82e8e8e 100644 --- a/lib/routes/thepaper/sidebar.ts +++ b/lib/routes/thepaper/sidebar.ts @@ -10,10 +10,12 @@ const sections = { export const route: Route = { path: '/sidebar/:sec?', - radar: { - source: ['thepaper.cn/'], - target: '/sidebar', - }, + radar: [ + { + source: ['thepaper.cn/'], + target: '/sidebar', + }, + ], name: 'Unknown', maintainers: ['bigfei'], handler, diff --git a/lib/routes/theverge/index.ts b/lib/routes/theverge/index.ts index 41fa5f9cb..a659a25ae 100644 --- a/lib/routes/theverge/index.ts +++ b/lib/routes/theverge/index.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['theverge.com/:hub', 'theverge.com/'], - }, + radar: [ + { + source: ['theverge.com/:hub', 'theverge.com/'], + }, + ], name: 'The Verge', maintainers: ['HenryQW', 'vbali'], handler, diff --git a/lib/routes/thwiki/index.ts b/lib/routes/thwiki/index.ts index 2ec822de5..92399fb12 100644 --- a/lib/routes/thwiki/index.ts +++ b/lib/routes/thwiki/index.ts @@ -15,10 +15,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['thwiki.cc/', 'thwiki.cc/日程表'], - target: '/calendar', - }, + radar: [ + { + source: ['thwiki.cc/', 'thwiki.cc/日程表'], + target: '/calendar', + }, + ], name: 'Calendar', maintainers: ['aether17'], handler, diff --git a/lib/routes/tiktok/user.ts b/lib/routes/tiktok/user.ts index 3efad0864..4c0e713ec 100644 --- a/lib/routes/tiktok/user.ts +++ b/lib/routes/tiktok/user.ts @@ -25,10 +25,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['tiktok.com/:user'], - target: '/user/:user', - }, + radar: [ + { + source: ['tiktok.com/:user'], + target: '/user/:user', + }, + ], name: 'User', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/tingshuitz/dalian.ts b/lib/routes/tingshuitz/dalian.ts index 493afe0ae..1d1811890 100644 --- a/lib/routes/tingshuitz/dalian.ts +++ b/lib/routes/tingshuitz/dalian.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['swj.dl.gov.cn/col/col4296/index.html', 'swj.dl.gov.cn/'], - }, + radar: [ + { + source: ['swj.dl.gov.cn/col/col4296/index.html', 'swj.dl.gov.cn/'], + }, + ], name: '大连市', maintainers: ['DIYgod'], handler, diff --git a/lib/routes/tingshuitz/hangzhou.ts b/lib/routes/tingshuitz/hangzhou.ts index ca98a5b28..a08bc595f 100644 --- a/lib/routes/tingshuitz/hangzhou.ts +++ b/lib/routes/tingshuitz/hangzhou.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.hzwgc.com/public/stop_the_water', 'www.hzwgc.com/'], - }, + radar: [ + { + source: ['www.hzwgc.com/public/stop_the_water', 'www.hzwgc.com/'], + }, + ], name: '杭州市', maintainers: ['znhocn'], handler, diff --git a/lib/routes/tingshuitz/nanjing.ts b/lib/routes/tingshuitz/nanjing.ts index 0042460c4..6543194e4 100644 --- a/lib/routes/tingshuitz/nanjing.ts +++ b/lib/routes/tingshuitz/nanjing.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['jlwater.com/portal/10000013', 'jlwater.com/'], - }, + radar: [ + { + source: ['jlwater.com/portal/10000013', 'jlwater.com/'], + }, + ], name: '南京市', maintainers: ['ocleo1'], handler, diff --git a/lib/routes/tingshuitz/shenzhen.ts b/lib/routes/tingshuitz/shenzhen.ts index f144fff23..47aee57a4 100644 --- a/lib/routes/tingshuitz/shenzhen.ts +++ b/lib/routes/tingshuitz/shenzhen.ts @@ -21,9 +21,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['sz-water.com.cn/*'], - }, + radar: [ + { + source: ['sz-water.com.cn/*'], + }, + ], name: '深圳市', maintainers: ['lilPiper'], handler, diff --git a/lib/routes/tingshuitz/wuhan.ts b/lib/routes/tingshuitz/wuhan.ts index 2ea27480f..f2a03e8f5 100644 --- a/lib/routes/tingshuitz/wuhan.ts +++ b/lib/routes/tingshuitz/wuhan.ts @@ -5,10 +5,12 @@ const baseUrl = 'https://www.whwater.com'; export const route: Route = { path: '/wuhan/:channelId?', - radar: { - source: ['whwater.com/IWater.shtml', 'whwater.com/'], - target: '/wuhan', - }, + radar: [ + { + source: ['whwater.com/IWater.shtml', 'whwater.com/'], + target: '/wuhan', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/tingshuitz/xiaoshan.ts b/lib/routes/tingshuitz/xiaoshan.ts index 3a7460544..1b9589a9a 100644 --- a/lib/routes/tingshuitz/xiaoshan.ts +++ b/lib/routes/tingshuitz/xiaoshan.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.xswater.com/gongshui/channels/227.html', 'www.xswater.com/'], - }, + radar: [ + { + source: ['www.xswater.com/gongshui/channels/227.html', 'www.xswater.com/'], + }, + ], name: '萧山区', maintainers: ['znhocn'], handler, diff --git a/lib/routes/tingshuitz/yangjiang.ts b/lib/routes/tingshuitz/yangjiang.ts index 59ef3dedb..2fa69129c 100644 --- a/lib/routes/tingshuitz/yangjiang.ts +++ b/lib/routes/tingshuitz/yangjiang.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yjsswjt.com/zxdt_list.jsp', 'yjsswjt.com/'], - }, + radar: [ + { + source: ['yjsswjt.com/zxdt_list.jsp', 'yjsswjt.com/'], + }, + ], name: '阳江市', maintainers: ['ciaranchen'], handler, diff --git a/lib/routes/tingtingfm/program.ts b/lib/routes/tingtingfm/program.ts index 68b087dc0..633c4ccbc 100644 --- a/lib/routes/tingtingfm/program.ts +++ b/lib/routes/tingtingfm/program.ts @@ -23,9 +23,11 @@ export const route: Route = { supportPodcast: true, supportScihub: false, }, - radar: { - source: ['mobile.tingtingfm.com/v3/program/:programId'], - }, + radar: [ + { + source: ['mobile.tingtingfm.com/v3/program/:programId'], + }, + ], name: '节目', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/tokeninsight/blog.ts b/lib/routes/tokeninsight/blog.ts index 112e24855..9adc43c7a 100644 --- a/lib/routes/tokeninsight/blog.ts +++ b/lib/routes/tokeninsight/blog.ts @@ -20,10 +20,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['tokeninsight.com/:lang/blogs'], - target: '/blog/:lang', - }, + radar: [ + { + source: ['tokeninsight.com/:lang/blogs'], + target: '/blog/:lang', + }, + ], name: 'Blogs', maintainers: ['fuergaosi233'], handler, diff --git a/lib/routes/tokeninsight/bulletin.ts b/lib/routes/tokeninsight/bulletin.ts index af40ed8dc..fc50d30e3 100644 --- a/lib/routes/tokeninsight/bulletin.ts +++ b/lib/routes/tokeninsight/bulletin.ts @@ -26,10 +26,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['tokeninsight.com/:lang/latest'], - target: '/bulletin/:lang', - }, + radar: [ + { + source: ['tokeninsight.com/:lang/latest'], + target: '/bulletin/:lang', + }, + ], name: 'Latest', maintainers: [], handler, diff --git a/lib/routes/tokeninsight/report.ts b/lib/routes/tokeninsight/report.ts index 7ba58343d..e4182e4c7 100644 --- a/lib/routes/tokeninsight/report.ts +++ b/lib/routes/tokeninsight/report.ts @@ -20,10 +20,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['tokeninsight.com/:lang/report'], - target: '/report/:lang', - }, + radar: [ + { + source: ['tokeninsight.com/:lang/report'], + target: '/report/:lang', + }, + ], name: 'Research', maintainers: [], handler, diff --git a/lib/routes/tongji/bks.ts b/lib/routes/tongji/bks.ts index 0d1547984..01266aa1e 100644 --- a/lib/routes/tongji/bks.ts +++ b/lib/routes/tongji/bks.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['bksy.tongji.edu.cn/'], - }, + radar: [ + { + source: ['bksy.tongji.edu.cn/'], + }, + ], name: '本科生院通知公告', maintainers: ['shiquda'], handler, diff --git a/lib/routes/tongji/yjs.ts b/lib/routes/tongji/yjs.ts index a26108341..639857745 100644 --- a/lib/routes/tongji/yjs.ts +++ b/lib/routes/tongji/yjs.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yz.tongji.edu.cn/zsxw/ggtz.htm', 'yz.tongji.edu.cn/'], - }, + radar: [ + { + source: ['yz.tongji.edu.cn/zsxw/ggtz.htm', 'yz.tongji.edu.cn/'], + }, + ], name: '研究生院通知公告', maintainers: ['shengmaosu'], handler, diff --git a/lib/routes/tophub/index.ts b/lib/routes/tophub/index.ts index f07028854..e98709d68 100644 --- a/lib/routes/tophub/index.ts +++ b/lib/routes/tophub/index.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['tophub.today/n/:id'], - }, + radar: [ + { + source: ['tophub.today/n/:id'], + }, + ], name: '榜单', maintainers: ['LogicJake'], handler, diff --git a/lib/routes/tophub/list.ts b/lib/routes/tophub/list.ts index add655ab3..669e96be7 100644 --- a/lib/routes/tophub/list.ts +++ b/lib/routes/tophub/list.ts @@ -27,9 +27,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['tophub.today/n/:id'], - }, + radar: [ + { + source: ['tophub.today/n/:id'], + }, + ], name: '榜单列表', maintainers: ['akynazh'], handler, diff --git a/lib/routes/topys/index.ts b/lib/routes/topys/index.ts index 9bf1a21ff..2fb933d31 100644 --- a/lib/routes/topys/index.ts +++ b/lib/routes/topys/index.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['topys.cn/search/:keyword', 'topys.cn/'], - }, + radar: [ + { + source: ['topys.cn/search/:keyword', 'topys.cn/'], + }, + ], name: '关键字', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/tradingview/desktop.ts b/lib/routes/tradingview/desktop.ts index 96d913d9b..09375cc71 100644 --- a/lib/routes/tradingview/desktop.ts +++ b/lib/routes/tradingview/desktop.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['tradingview.com/support/solutions/43000673888-tradingview-desktop-releases-and-release-notes/'], - }, + radar: [ + { + source: ['tradingview.com/support/solutions/43000673888-tradingview-desktop-releases-and-release-notes/'], + }, + ], name: 'Desktop releases and release notes', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/tradingview/pine.ts b/lib/routes/tradingview/pine.ts index a332a7196..cc2167dab 100644 --- a/lib/routes/tradingview/pine.ts +++ b/lib/routes/tradingview/pine.ts @@ -5,10 +5,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/pine/:version?', - radar: { - source: ['tradingview.com/pine-script-docs/en/:version/Release_notes.html'], - target: '/pine/:version', - }, + radar: [ + { + source: ['tradingview.com/pine-script-docs/en/:version/Release_notes.html'], + target: '/pine/:version', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/transcriptforest/index.ts b/lib/routes/transcriptforest/index.ts index b212785e1..477512e65 100644 --- a/lib/routes/transcriptforest/index.ts +++ b/lib/routes/transcriptforest/index.ts @@ -23,10 +23,12 @@ const bakeTimestamp = (seconds) => { export const route: Route = { path: '/:channel?', - radar: { - source: ['www.transcriptforest.com/en/channel'], - target: '', - }, + radar: [ + { + source: ['www.transcriptforest.com/en/channel'], + target: '', + }, + ], name: 'Unknown', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/tribalfootball/latest.ts b/lib/routes/tribalfootball/latest.ts index e915f9c67..8d6a21e61 100644 --- a/lib/routes/tribalfootball/latest.ts +++ b/lib/routes/tribalfootball/latest.ts @@ -13,10 +13,12 @@ const rssUrl = 'https://www.tribalfootball.com/rss/mediafed/general/rss.xml'; export const route: Route = { path: '/', - radar: { - source: ['tribalfootball.com/'], - target: '', - }, + radar: [ + { + source: ['tribalfootball.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['Rongronggg9'], handler, diff --git a/lib/routes/trow/portal.ts b/lib/routes/trow/portal.ts index 06ce86bf1..421f944c9 100644 --- a/lib/routes/trow/portal.ts +++ b/lib/routes/trow/portal.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['trow.cc/'], - }, + radar: [ + { + source: ['trow.cc/'], + }, + ], name: '首页更新', maintainers: ['shiningdracon'], handler, diff --git a/lib/routes/tvb/news.ts b/lib/routes/tvb/news.ts index 66b7d7cdb..544b5b994 100644 --- a/lib/routes/tvb/news.ts +++ b/lib/routes/tvb/news.ts @@ -59,9 +59,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['tvb.com/:language/:category', 'tvb.com/'], - }, + radar: [ + { + source: ['tvb.com/:language/:category', 'tvb.com/'], + }, + ], name: '新闻', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/twitch/schedule.ts b/lib/routes/twitch/schedule.ts index 69ccd90e7..ce72407b3 100644 --- a/lib/routes/twitch/schedule.ts +++ b/lib/routes/twitch/schedule.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.twitch.tv/:login/schedule'], - }, + radar: [ + { + source: ['www.twitch.tv/:login/schedule'], + }, + ], name: 'Stream Schedule', maintainers: ['hoilc'], handler, diff --git a/lib/routes/twitch/video.ts b/lib/routes/twitch/video.ts index e3a052ea4..dd85d9e09 100644 --- a/lib/routes/twitch/video.ts +++ b/lib/routes/twitch/video.ts @@ -24,10 +24,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.twitch.tv/:login/videos'], - target: '/video/:login', - }, + radar: [ + { + source: ['www.twitch.tv/:login/videos'], + target: '/video/:login', + }, + ], name: 'Channel Video', maintainers: ['hoilc'], handler, diff --git a/lib/routes/twitter/keyword.ts b/lib/routes/twitter/keyword.ts index 101f11af4..d9c35ecf7 100644 --- a/lib/routes/twitter/keyword.ts +++ b/lib/routes/twitter/keyword.ts @@ -26,9 +26,11 @@ export const route: Route = { name: 'Keyword', maintainers: ['DIYgod', 'yindaheng98', 'Rongronggg9'], handler, - radar: { - source: ['twitter.com/search'], - }, + radar: [ + { + source: ['twitter.com/search'], + }, + ], }; async function handler(ctx) { diff --git a/lib/routes/twitter/media.ts b/lib/routes/twitter/media.ts index d24083014..a52451677 100644 --- a/lib/routes/twitter/media.ts +++ b/lib/routes/twitter/media.ts @@ -26,10 +26,12 @@ export const route: Route = { name: 'User media', maintainers: ['yindaheng98', 'Rongronggg9'], handler, - radar: { - source: ['twitter.com/:id/media'], - target: '/twitter/media/:id', - }, + radar: [ + { + source: ['twitter.com/:id/media'], + target: '/media/:id', + }, + ], }; async function handler(ctx) { diff --git a/lib/routes/twitter/user.ts b/lib/routes/twitter/user.ts index 94981f8ef..9c255d584 100644 --- a/lib/routes/twitter/user.ts +++ b/lib/routes/twitter/user.ts @@ -30,10 +30,12 @@ export const route: Route = { name: 'User timeline', maintainers: ['DIYgod', 'yindaheng98', 'Rongronggg9'], handler, - radar: { - source: ['twitter.com/:id'], - target: '/twitter/user/:id', - }, + radar: [ + { + source: ['twitter.com/:id'], + target: '/user/:id', + }, + ], }; async function handler(ctx) { diff --git a/lib/routes/twreporter/newest.ts b/lib/routes/twreporter/newest.ts index 931ff7001..f8b56e69d 100644 --- a/lib/routes/twreporter/newest.ts +++ b/lib/routes/twreporter/newest.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['twreporter.org/'], - }, + radar: [ + { + source: ['twreporter.org/'], + }, + ], name: '最新', maintainers: ['emdoe'], handler, diff --git a/lib/routes/tynu/tynu.ts b/lib/routes/tynu/tynu.ts index f19ba14b1..bf53ba059 100644 --- a/lib/routes/tynu/tynu.ts +++ b/lib/routes/tynu/tynu.ts @@ -7,10 +7,12 @@ const baseUrl = 'http://www.tynu.edu.cn'; export const route: Route = { path: '/', - radar: { - source: ['tynu.edu.cn/index/tzgg.htm', 'tynu.edu.cn/index.htm', 'tynu.edu.cn/'], - target: '', - }, + radar: [ + { + source: ['tynu.edu.cn/index/tzgg.htm', 'tynu.edu.cn/index.htm', 'tynu.edu.cn/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['2PoL'], handler, diff --git a/lib/routes/typora/changelog-dev.ts b/lib/routes/typora/changelog-dev.ts index 7833bcbc9..fd59818f3 100644 --- a/lib/routes/typora/changelog-dev.ts +++ b/lib/routes/typora/changelog-dev.ts @@ -15,10 +15,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['support.typora.io/'], - target: '/changelog', - }, + radar: [ + { + source: ['support.typora.io/'], + target: '/changelog', + }, + ], name: 'Dev Release Changelog', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/typora/changelog.ts b/lib/routes/typora/changelog.ts index 6a27ca563..35aefca17 100644 --- a/lib/routes/typora/changelog.ts +++ b/lib/routes/typora/changelog.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['support.typora.io/'], - }, + radar: [ + { + source: ['support.typora.io/'], + }, + ], name: 'Changelog', maintainers: ['cnzgray'], handler, diff --git a/lib/routes/u9a9/index.ts b/lib/routes/u9a9/index.ts index 43868c936..d45105404 100644 --- a/lib/routes/u9a9/index.ts +++ b/lib/routes/u9a9/index.ts @@ -9,10 +9,12 @@ const baseUrl = 'https://u9a9.com'; export const route: Route = { path: ['/:preview?', '/search/:keyword/:preview?'], - radar: { - source: ['u9a9.com/'], - target: '', - }, + radar: [ + { + source: ['u9a9.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/uber/blog.ts b/lib/routes/uber/blog.ts index 7b59e93ad..284d88097 100644 --- a/lib/routes/uber/blog.ts +++ b/lib/routes/uber/blog.ts @@ -19,10 +19,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.uber.com/blog/pittsburgh/engineering'], - target: '/blog', - }, + radar: [ + { + source: ['www.uber.com/blog/pittsburgh/engineering'], + target: '/blog', + }, + ], name: 'Engineering', maintainers: ['hulb'], handler, diff --git a/lib/routes/ucas/ai.ts b/lib/routes/ucas/ai.ts index b857c76a5..778faf40b 100644 --- a/lib/routes/ucas/ai.ts +++ b/lib/routes/ucas/ai.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ai.ucas.ac.cn/index.php/zh-cn/tzgg', 'ai.ucas.ac.cn/'], - }, + radar: [ + { + source: ['ai.ucas.ac.cn/index.php/zh-cn/tzgg', 'ai.ucas.ac.cn/'], + }, + ], name: '人工智能学院', maintainers: ['shengmaosu'], handler, diff --git a/lib/routes/uchicago/current.ts b/lib/routes/uchicago/current.ts index 557b48397..b27ddd679 100644 --- a/lib/routes/uchicago/current.ts +++ b/lib/routes/uchicago/current.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['journals.uchicago.edu/toc/:journal/current', 'journals.uchicago.edu/journal/:journal'], - }, + radar: [ + { + source: ['journals.uchicago.edu/toc/:journal/current', 'journals.uchicago.edu/journal/:journal'], + }, + ], name: 'Current Issue', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/udn/breaking-news.ts b/lib/routes/udn/breaking-news.ts index d32f290cb..797a996f7 100644 --- a/lib/routes/udn/breaking-news.ts +++ b/lib/routes/udn/breaking-news.ts @@ -23,9 +23,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['udn.com/news/breaknews/1/:id', 'udn.com/'], - }, + radar: [ + { + source: ['udn.com/news/breaknews/1/:id', 'udn.com/'], + }, + ], name: '即時新聞', maintainers: ['miles170'], handler, diff --git a/lib/routes/udn/global/index.ts b/lib/routes/udn/global/index.ts index a120e24dd..436a2e27d 100644 --- a/lib/routes/udn/global/index.ts +++ b/lib/routes/udn/global/index.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['global.udn.com/global_vision/index/:category', 'global.udn.com/'], - }, + radar: [ + { + source: ['global.udn.com/global_vision/index/:category', 'global.udn.com/'], + }, + ], name: '轉角國際 - 首頁', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/udn/global/tag.ts b/lib/routes/udn/global/tag.ts index acd8e7a34..679a59ef5 100644 --- a/lib/routes/udn/global/tag.ts +++ b/lib/routes/udn/global/tag.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['global.udn.com/search/tagging/1020/:tag', 'global.udn.com/'], - }, + radar: [ + { + source: ['global.udn.com/search/tagging/1020/:tag', 'global.udn.com/'], + }, + ], name: '轉角國際 - 標籤', maintainers: ['emdoe', 'nczitzk'], handler, diff --git a/lib/routes/uestc/auto.ts b/lib/routes/uestc/auto.ts index 2cc9e4577..99242a233 100644 --- a/lib/routes/uestc/auto.ts +++ b/lib/routes/uestc/auto.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['auto.uestc.edu.cn/'], - }, + radar: [ + { + source: ['auto.uestc.edu.cn/'], + }, + ], name: '自动化工程学院', maintainers: ['talengu', 'mobyw'], handler, diff --git a/lib/routes/uestc/cqe.ts b/lib/routes/uestc/cqe.ts index 2385a73ac..a06de72b0 100644 --- a/lib/routes/uestc/cqe.ts +++ b/lib/routes/uestc/cqe.ts @@ -28,10 +28,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['cqe.uestc.edu.cn/'], - target: '/cqe', - }, + radar: [ + { + source: ['cqe.uestc.edu.cn/'], + target: '/cqe', + }, + ], name: '文化素质教育中心', maintainers: ['truobel', 'mobyw'], handler, diff --git a/lib/routes/uestc/gr.ts b/lib/routes/uestc/gr.ts index f571426f2..e7a635683 100644 --- a/lib/routes/uestc/gr.ts +++ b/lib/routes/uestc/gr.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gr.uestc.edu.cn/'], - }, + radar: [ + { + source: ['gr.uestc.edu.cn/'], + }, + ], name: '研究生院', maintainers: ['huyyi', 'mobyw'], handler, diff --git a/lib/routes/uestc/jwc.ts b/lib/routes/uestc/jwc.ts index de29eb05d..02fe7b33d 100644 --- a/lib/routes/uestc/jwc.ts +++ b/lib/routes/uestc/jwc.ts @@ -29,10 +29,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['jwc.uestc.edu.cn/'], - target: '/jwc', - }, + radar: [ + { + source: ['jwc.uestc.edu.cn/'], + target: '/jwc', + }, + ], name: '教务处', maintainers: ['achjqz', 'mobyw'], handler, diff --git a/lib/routes/uestc/news.ts b/lib/routes/uestc/news.ts index ae3cf8514..6eb4cd98f 100644 --- a/lib/routes/uestc/news.ts +++ b/lib/routes/uestc/news.ts @@ -26,10 +26,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['news.uestc.edu.cn/'], - target: '/news', - }, + radar: [ + { + source: ['news.uestc.edu.cn/'], + target: '/news', + }, + ], name: '新闻中心', maintainers: ['achjqz', 'mobyw'], handler, diff --git a/lib/routes/uestc/scse.ts b/lib/routes/uestc/scse.ts index 04f8215cd..669c6580f 100644 --- a/lib/routes/uestc/scse.ts +++ b/lib/routes/uestc/scse.ts @@ -33,9 +33,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['scse.uestc.edu.cn/'], - }, + radar: [ + { + source: ['scse.uestc.edu.cn/'], + }, + ], name: '计算机科学与工程学院', maintainers: ['talengu', 'mobyw'], handler, diff --git a/lib/routes/uestc/sice.ts b/lib/routes/uestc/sice.ts index 2ec07c088..e228df07e 100644 --- a/lib/routes/uestc/sice.ts +++ b/lib/routes/uestc/sice.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['sice.uestc.edu.cn/'], - }, + radar: [ + { + source: ['sice.uestc.edu.cn/'], + }, + ], name: '信息与通信工程学院', maintainers: ['huyyi', 'mobyw'], handler, diff --git a/lib/routes/uestc/sise.ts b/lib/routes/uestc/sise.ts index 27bcd74e5..522114338 100644 --- a/lib/routes/uestc/sise.ts +++ b/lib/routes/uestc/sise.ts @@ -43,10 +43,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['sise.uestc.edu.cn/'], - target: '/sise', - }, + radar: [ + { + source: ['sise.uestc.edu.cn/'], + target: '/sise', + }, + ], name: '信息与软件工程学院', maintainers: ['Yadomin', 'mobyw'], handler, diff --git a/lib/routes/uibe/hr.ts b/lib/routes/uibe/hr.ts index e9c3f5ad5..4843c8253 100644 --- a/lib/routes/uibe/hr.ts +++ b/lib/routes/uibe/hr.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['hr.uibe.edu.cn/:category/:type', 'hr.uibe.edu.cn/:category', 'hr.uibe.edu.cn/'], - }, + radar: [ + { + source: ['hr.uibe.edu.cn/:category/:type', 'hr.uibe.edu.cn/:category', 'hr.uibe.edu.cn/'], + }, + ], name: '人力资源处', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/ulapia/research.ts b/lib/routes/ulapia/research.ts index 89c12cb0d..414746438 100644 --- a/lib/routes/ulapia/research.ts +++ b/lib/routes/ulapia/research.ts @@ -21,9 +21,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.ulapia.com/'], - }, + radar: [ + { + source: ['www.ulapia.com/'], + }, + ], name: '最新研报', maintainers: [], handler, diff --git a/lib/routes/unraid/community-apps.ts b/lib/routes/unraid/community-apps.ts index 13e090185..6cb0eb42c 100644 --- a/lib/routes/unraid/community-apps.ts +++ b/lib/routes/unraid/community-apps.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['unraid.net/community/apps'], - }, + radar: [ + { + source: ['unraid.net/community/apps'], + }, + ], name: 'Community Apps', maintainers: ['KTachibanaM'], handler, diff --git a/lib/routes/unusualwhales/news.ts b/lib/routes/unusualwhales/news.ts index d29aa0050..1309f99f4 100644 --- a/lib/routes/unusualwhales/news.ts +++ b/lib/routes/unusualwhales/news.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['unusualwhales.com/news', 'unusualwhales.com/'], - }, + radar: [ + { + source: ['unusualwhales.com/news', 'unusualwhales.com/'], + }, + ], name: 'News Flow', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/upc/yjs.ts b/lib/routes/upc/yjs.ts index 99337337c..585f4b6d4 100644 --- a/lib/routes/upc/yjs.ts +++ b/lib/routes/upc/yjs.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['zs.gs.upc.edu.cn/sszs/list.htm', 'zs.gs.upc.edu.cn/'], - }, + radar: [ + { + source: ['zs.gs.upc.edu.cn/sszs/list.htm', 'zs.gs.upc.edu.cn/'], + }, + ], name: '研究生院通知公告', maintainers: ['shengmaosu'], handler, diff --git a/lib/routes/uptimerobot/rss.ts b/lib/routes/uptimerobot/rss.ts index c029925eb..e3697b622 100644 --- a/lib/routes/uptimerobot/rss.ts +++ b/lib/routes/uptimerobot/rss.ts @@ -70,10 +70,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['rss.uptimerobot.com/:id'], - target: '/rss/:id', - }, + radar: [ + { + source: ['rss.uptimerobot.com/:id'], + target: '/rss/:id', + }, + ], name: 'RSS', maintainers: ['Rongronggg9'], handler, diff --git a/lib/routes/uraaka-joshi/uraaka-joshi-user.ts b/lib/routes/uraaka-joshi/uraaka-joshi-user.ts index 7fe6105cf..f21851e46 100644 --- a/lib/routes/uraaka-joshi/uraaka-joshi-user.ts +++ b/lib/routes/uraaka-joshi/uraaka-joshi-user.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['uraaka-joshi.com/:id'], - }, + radar: [ + { + source: ['uraaka-joshi.com/:id'], + }, + ], name: 'User', maintainers: ['SettingDust', 'Halcao'], handler, diff --git a/lib/routes/uraaka-joshi/uraaka-joshi.ts b/lib/routes/uraaka-joshi/uraaka-joshi.ts index 640e80fbb..f1f927fbb 100644 --- a/lib/routes/uraaka-joshi/uraaka-joshi.ts +++ b/lib/routes/uraaka-joshi/uraaka-joshi.ts @@ -5,10 +5,12 @@ import puppeteer from '@/utils/puppeteer'; export const route: Route = { path: '/', - radar: { - source: ['uraaka-joshi.com/'], - target: '', - }, + radar: [ + { + source: ['uraaka-joshi.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['SettingDust', 'Halcao'], handler, diff --git a/lib/routes/urbandictionary/random.ts b/lib/routes/urbandictionary/random.ts index 54354025c..c65c0123b 100644 --- a/lib/routes/urbandictionary/random.ts +++ b/lib/routes/urbandictionary/random.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['urbandictionary.com/random.php', 'urbandictionary.com/'], - }, + radar: [ + { + source: ['urbandictionary.com/random.php', 'urbandictionary.com/'], + }, + ], name: 'Random words', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/usenix/usenix.ts b/lib/routes/usenix/usenix.ts index df018b771..9af5aa236 100644 --- a/lib/routes/usenix/usenix.ts +++ b/lib/routes/usenix/usenix.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['usenix.org/conferences/all', 'usenix.org/conferences', 'usenix.org/'], - }, + radar: [ + { + source: ['usenix.org/conferences/all', 'usenix.org/conferences', 'usenix.org/'], + }, + ], name: 'Security Symposia', maintainers: ['ZeddYu'], handler, diff --git a/lib/routes/ustb/yjsy/news.ts b/lib/routes/ustb/yjsy/news.ts index 41592ea11..9968f1645 100644 --- a/lib/routes/ustb/yjsy/news.ts +++ b/lib/routes/ustb/yjsy/news.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gs.ustb.edu.cn/:type'], - }, + radar: [ + { + source: ['gs.ustb.edu.cn/:type'], + }, + ], name: '研究生院', maintainers: ['DA1Y1'], handler, diff --git a/lib/routes/ustb/yzxc/tzgg.ts b/lib/routes/ustb/yzxc/tzgg.ts index 0c263a64d..7af45c210 100644 --- a/lib/routes/ustb/yzxc/tzgg.ts +++ b/lib/routes/ustb/yzxc/tzgg.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yzxc.ustb.edu.cn/'], - }, + radar: [ + { + source: ['yzxc.ustb.edu.cn/'], + }, + ], name: '研究生招生信息网', maintainers: ['yanbot-team'], handler, diff --git a/lib/routes/ustc/eeis.ts b/lib/routes/ustc/eeis.ts index a8004877c..e32d2aed9 100644 --- a/lib/routes/ustc/eeis.ts +++ b/lib/routes/ustc/eeis.ts @@ -25,10 +25,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['eeis.ustc.edu.cn/'], - target: '/eeis', - }, + radar: [ + { + source: ['eeis.ustc.edu.cn/'], + target: '/eeis', + }, + ], name: '电子工程与信息科学系', maintainers: ['jasongzy'], handler, diff --git a/lib/routes/ustc/gs.ts b/lib/routes/ustc/gs.ts index b574000ec..ff5b61fa1 100644 --- a/lib/routes/ustc/gs.ts +++ b/lib/routes/ustc/gs.ts @@ -25,10 +25,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gradschool.ustc.edu.cn/'], - target: '/gs', - }, + radar: [ + { + source: ['gradschool.ustc.edu.cn/'], + target: '/gs', + }, + ], name: '研究生院', maintainers: ['jasongzy'], handler, diff --git a/lib/routes/ustc/index.ts b/lib/routes/ustc/index.ts index a68bb2587..07bba24d8 100644 --- a/lib/routes/ustc/index.ts +++ b/lib/routes/ustc/index.ts @@ -40,10 +40,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ustc.edu.cn/'], - target: '/news', - }, + radar: [ + { + source: ['ustc.edu.cn/'], + target: '/news', + }, + ], name: '官网通知公告', maintainers: ['hang333', 'jasongzy'], handler, diff --git a/lib/routes/ustc/job.ts b/lib/routes/ustc/job.ts index ab29cb937..ea0e27ade 100644 --- a/lib/routes/ustc/job.ts +++ b/lib/routes/ustc/job.ts @@ -23,10 +23,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['job.ustc.edu.cn/'], - target: '/job', - }, + radar: [ + { + source: ['job.ustc.edu.cn/'], + target: '/job', + }, + ], name: '就业信息网', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/ustc/jwc.ts b/lib/routes/ustc/jwc.ts index c530fe04a..414ebdf63 100644 --- a/lib/routes/ustc/jwc.ts +++ b/lib/routes/ustc/jwc.ts @@ -20,10 +20,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.teach.ustc.edu.cn/'], - target: '/jwc', - }, + radar: [ + { + source: ['www.teach.ustc.edu.cn/'], + target: '/jwc', + }, + ], name: '教务处通知新闻', maintainers: ['hang333'], handler, diff --git a/lib/routes/ustc/sist.ts b/lib/routes/ustc/sist.ts index f90c3a7e7..dd49cc0cd 100644 --- a/lib/routes/ustc/sist.ts +++ b/lib/routes/ustc/sist.ts @@ -25,10 +25,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['sist.ustc.edu.cn/'], - target: '/sist', - }, + radar: [ + { + source: ['sist.ustc.edu.cn/'], + target: '/sist', + }, + ], name: '信息科学技术学院', maintainers: ['jasongzy'], handler, diff --git a/lib/routes/utgd/category.ts b/lib/routes/utgd/category.ts index 2783b3d61..4e4c45f26 100644 --- a/lib/routes/utgd/category.ts +++ b/lib/routes/utgd/category.ts @@ -26,10 +26,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['utgd.net/category/s/:category', 'utgd.net/'], - target: '/:category', - }, + radar: [ + { + source: ['utgd.net/category/s/:category', 'utgd.net/'], + target: '/:category', + }, + ], name: '分类', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/utgd/timeline.ts b/lib/routes/utgd/timeline.ts index 221a70071..09a4592ef 100644 --- a/lib/routes/utgd/timeline.ts +++ b/lib/routes/utgd/timeline.ts @@ -26,9 +26,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['utgd.net/'], - }, + radar: [ + { + source: ['utgd.net/'], + }, + ], name: '时间线', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/utgd/topic.ts b/lib/routes/utgd/topic.ts index 46eb6e6c0..5504a4be8 100644 --- a/lib/routes/utgd/topic.ts +++ b/lib/routes/utgd/topic.ts @@ -26,10 +26,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['utgd.net/topic', 'utgd.net/'], - target: '/topic/:topic', - }, + radar: [ + { + source: ['utgd.net/topic', 'utgd.net/'], + target: '/topic/:topic', + }, + ], name: '专题', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/uw/gix/news.ts b/lib/routes/uw/gix/news.ts index f0d5b8072..b48d42766 100644 --- a/lib/routes/uw/gix/news.ts +++ b/lib/routes/uw/gix/news.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gixnetwork.org/news/:category'], - }, + radar: [ + { + source: ['gixnetwork.org/news/:category'], + }, + ], name: 'Global Innovation Exchange News', maintainers: ['dykderrick'], handler, diff --git a/lib/routes/v1tx/index.ts b/lib/routes/v1tx/index.ts index cce5b7e87..a82e16b67 100644 --- a/lib/routes/v1tx/index.ts +++ b/lib/routes/v1tx/index.ts @@ -6,10 +6,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/', - radar: { - source: ['v1tx.com/'], - target: '', - }, + radar: [ + { + source: ['v1tx.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/v2ex/post.ts b/lib/routes/v2ex/post.ts index da113e743..f346c94cb 100644 --- a/lib/routes/v2ex/post.ts +++ b/lib/routes/v2ex/post.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['v2ex.com/t/:postid'], - }, + radar: [ + { + source: ['v2ex.com/t/:postid'], + }, + ], name: '帖子', maintainers: ['kt286'], handler, diff --git a/lib/routes/v2rayshare/index.ts b/lib/routes/v2rayshare/index.ts index ae5615e4f..86d8f3dd0 100644 --- a/lib/routes/v2rayshare/index.ts +++ b/lib/routes/v2rayshare/index.ts @@ -4,10 +4,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/', - radar: { - source: ['v2rayshare.com/'], - target: '', - }, + radar: [ + { + source: ['v2rayshare.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['77taibai'], handler, diff --git a/lib/routes/vcb-s/category.ts b/lib/routes/vcb-s/category.ts index 9e4e01401..f7a421c25 100644 --- a/lib/routes/vcb-s/category.ts +++ b/lib/routes/vcb-s/category.ts @@ -25,9 +25,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['vcb-s.com/archives/category/:cate'], - }, + radar: [ + { + source: ['vcb-s.com/archives/category/:cate'], + }, + ], name: '分类文章', maintainers: ['cxfksword'], handler, diff --git a/lib/routes/vcb-s/index.ts b/lib/routes/vcb-s/index.ts index eeb2cce34..333a6e13f 100644 --- a/lib/routes/vcb-s/index.ts +++ b/lib/routes/vcb-s/index.ts @@ -12,10 +12,12 @@ const postsAPIUrl = `${rootUrl}/wp-json/wp/v2/posts`; export const route: Route = { path: '/', - radar: { - source: ['vcb-s.com/'], - target: '', - }, + radar: [ + { + source: ['vcb-s.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['cxfksword'], handler, diff --git a/lib/routes/verfghbw/press.ts b/lib/routes/verfghbw/press.ts index b62d98efe..e664861c2 100644 --- a/lib/routes/verfghbw/press.ts +++ b/lib/routes/verfghbw/press.ts @@ -16,10 +16,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['verfgh.baden-wuerttemberg.de/de/presse-und-service/pressemitteilungen/'], - target: '/press', - }, + radar: [ + { + source: ['verfgh.baden-wuerttemberg.de/de/presse-und-service/pressemitteilungen/'], + target: '/press', + }, + ], name: 'Press releases', maintainers: ['quinn-dev'], handler, diff --git a/lib/routes/vimeo/channel.ts b/lib/routes/vimeo/channel.ts index 17d094aa7..a245c8542 100644 --- a/lib/routes/vimeo/channel.ts +++ b/lib/routes/vimeo/channel.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['vimeo.com/channels/:channel', 'vimeo.com/channels/:channel/videos', 'vimeo.com/channels/:channel/videos/:sort/:format'], - }, + radar: [ + { + source: ['vimeo.com/channels/:channel', 'vimeo.com/channels/:channel/videos', 'vimeo.com/channels/:channel/videos/:sort/:format'], + }, + ], name: 'Channel', maintainers: ['MisteryMonster'], handler, diff --git a/lib/routes/vocus/publication.ts b/lib/routes/vocus/publication.ts index e44679229..e144d1003 100644 --- a/lib/routes/vocus/publication.ts +++ b/lib/routes/vocus/publication.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['vocus.cc/:id/home', 'vocus.cc/:id/introduce'], - }, + radar: [ + { + source: ['vocus.cc/:id/home', 'vocus.cc/:id/introduce'], + }, + ], name: '出版專題', maintainers: ['Maecenas'], handler, diff --git a/lib/routes/vom/featured.ts b/lib/routes/vom/featured.ts index 33d20d242..21230d588 100644 --- a/lib/routes/vom/featured.ts +++ b/lib/routes/vom/featured.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['vom.mn/:lang', 'vom.mn/'], - target: '/featured/:lang', - }, + radar: [ + { + source: ['vom.mn/:lang', 'vom.mn/'], + target: '/featured/:lang', + }, + ], name: 'News', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/wallhaven/index.ts b/lib/routes/wallhaven/index.ts index 12f067728..4ec01b837 100644 --- a/lib/routes/wallhaven/index.ts +++ b/lib/routes/wallhaven/index.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['wallhaven.cc/'], - }, + radar: [ + { + source: ['wallhaven.cc/'], + }, + ], name: 'Search', maintainers: ['nczitzk', 'Fatpandac'], handler, diff --git a/lib/routes/wallpaperhub/index.ts b/lib/routes/wallpaperhub/index.ts index e5d29c1b1..dfe0a6add 100644 --- a/lib/routes/wallpaperhub/index.ts +++ b/lib/routes/wallpaperhub/index.ts @@ -9,10 +9,12 @@ import * as path from 'node:path'; export const route: Route = { path: '/', - radar: { - source: ['wallpaperhub.app/wallpaperhub', 'wallpaperhub.app/'], - target: '', - }, + radar: [ + { + source: ['wallpaperhub.app/wallpaperhub', 'wallpaperhub.app/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/wallstreetcn/hot.ts b/lib/routes/wallstreetcn/hot.ts index 08bce5b0a..9adc7ea9a 100644 --- a/lib/routes/wallstreetcn/hot.ts +++ b/lib/routes/wallstreetcn/hot.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['wallstreetcn.com/'], - }, + radar: [ + { + source: ['wallstreetcn.com/'], + }, + ], name: '最热文章', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/wallstreetcn/live.ts b/lib/routes/wallstreetcn/live.ts index 3b7c5724e..05d200278 100644 --- a/lib/routes/wallstreetcn/live.ts +++ b/lib/routes/wallstreetcn/live.ts @@ -30,10 +30,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['wallstreetcn.com/live/:category', 'wallstreetcn.com/'], - target: '/live/:category?', - }, + radar: [ + { + source: ['wallstreetcn.com/live/:category', 'wallstreetcn.com/'], + target: '/live/:category?', + }, + ], name: '实时快讯', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/wallstreetcn/news.ts b/lib/routes/wallstreetcn/news.ts index eb65f89df..30c1ef781 100644 --- a/lib/routes/wallstreetcn/news.ts +++ b/lib/routes/wallstreetcn/news.ts @@ -19,9 +19,11 @@ const titles = { export const route: Route = { path: ['/news/:category?', '/:category?'], - radar: { - source: ['wallstreetcn.com/news/:category', 'wallstreetcn.com/'], - }, + radar: [ + { + source: ['wallstreetcn.com/news/:category', 'wallstreetcn.com/'], + }, + ], name: 'Unknown', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/wanqu/news.ts b/lib/routes/wanqu/news.ts index 48784d529..59053cb91 100644 --- a/lib/routes/wanqu/news.ts +++ b/lib/routes/wanqu/news.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['wanqu.co/'], - }, + radar: [ + { + source: ['wanqu.co/'], + }, + ], name: '最新推荐', maintainers: ['Fatpandac'], handler, diff --git a/lib/routes/warthunder/news.ts b/lib/routes/warthunder/news.ts index 33a92c475..17fa321de 100644 --- a/lib/routes/warthunder/news.ts +++ b/lib/routes/warthunder/news.ts @@ -23,9 +23,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['warthunder.com/en/news', 'warthunder.com/'], - }, + radar: [ + { + source: ['warthunder.com/en/news', 'warthunder.com/'], + }, + ], name: 'News', maintainers: ['axojhf'], handler, diff --git a/lib/routes/wechat/announce.ts b/lib/routes/wechat/announce.ts index dff7801b3..1880079aa 100644 --- a/lib/routes/wechat/announce.ts +++ b/lib/routes/wechat/announce.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['mp.weixin.qq.com/cgi-bin/announce'], - }, + radar: [ + { + source: ['mp.weixin.qq.com/cgi-bin/announce'], + }, + ], name: '公众平台系统公告栏目', maintainers: ['xyqfer'], handler, diff --git a/lib/routes/wechat/ce.ts b/lib/routes/wechat/ce.ts index bdbdb0673..21f94788a 100644 --- a/lib/routes/wechat/ce.ts +++ b/lib/routes/wechat/ce.ts @@ -23,9 +23,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['cimidata.com/a/:id'], - }, + radar: [ + { + source: ['cimidata.com/a/:id'], + }, + ], name: '公众号(CareerEngine 来源)', maintainers: ['HenryQW'], handler, diff --git a/lib/routes/wechat/data258.ts b/lib/routes/wechat/data258.ts index b1ce643e4..a4babfa3a 100644 --- a/lib/routes/wechat/data258.ts +++ b/lib/routes/wechat/data258.ts @@ -21,9 +21,11 @@ const parsePage = ($item, hyperlinkSelector, timeSelector) => { export const route: Route = { path: '/data258/:id?', - radar: { - source: ['mp.data258.com/', 'mp.data258.com/article/category/:id'], - }, + radar: [ + { + source: ['mp.data258.com/', 'mp.data258.com/article/category/:id'], + }, + ], name: 'Unknown', maintainers: ['Rongronggg9'], handler, diff --git a/lib/routes/weekendhk/posts.ts b/lib/routes/weekendhk/posts.ts index 179e1b135..6b84ae2fd 100644 --- a/lib/routes/weekendhk/posts.ts +++ b/lib/routes/weekendhk/posts.ts @@ -4,10 +4,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/', - radar: { - source: ['weekendhk.com/'], - target: '', - }, + radar: [ + { + source: ['weekendhk.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/weibo/friends.ts b/lib/routes/weibo/friends.ts index 5b5c9ec3b..c6d04e730 100644 --- a/lib/routes/weibo/friends.ts +++ b/lib/routes/weibo/friends.ts @@ -24,10 +24,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['weibo.com/'], - target: '/friends', - }, + radar: [ + { + source: ['weibo.com/'], + target: '/friends', + }, + ], name: '最新关注时间线', maintainers: ['CaoMeiYouRen'], handler, diff --git a/lib/routes/weibo/oasis/user.ts b/lib/routes/weibo/oasis/user.ts index aa490b536..b413232d8 100644 --- a/lib/routes/weibo/oasis/user.ts +++ b/lib/routes/weibo/oasis/user.ts @@ -15,10 +15,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['m.weibo.cn/u/:uid', 'm.weibo.cn/profile/:uid'], - target: '/user/:uid', - }, + radar: [ + { + source: ['m.weibo.cn/u/:uid', 'm.weibo.cn/profile/:uid'], + target: '/user/:uid', + }, + ], name: '用户', maintainers: ['kt286'], handler, diff --git a/lib/routes/weibo/search/hot.ts b/lib/routes/weibo/search/hot.ts index 8a0efae33..6dd5137d1 100644 --- a/lib/routes/weibo/search/hot.ts +++ b/lib/routes/weibo/search/hot.ts @@ -27,9 +27,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['s.weibo.com/top/summary'], - }, + radar: [ + { + source: ['s.weibo.com/top/summary'], + }, + ], name: '热搜榜', maintainers: ['xyqfer', 'shinemoon'], handler, diff --git a/lib/routes/weibo/super-index.ts b/lib/routes/weibo/super-index.ts index a52113d61..f4da6960f 100644 --- a/lib/routes/weibo/super-index.ts +++ b/lib/routes/weibo/super-index.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['weibo.com/p/:id/super_index'], - target: '/super_index/:id', - }, + radar: [ + { + source: ['weibo.com/p/:id/super_index'], + target: '/super_index/:id', + }, + ], name: '超话', maintainers: ['zengxs', 'Rongronggg9'], handler, diff --git a/lib/routes/weibo/user.ts b/lib/routes/weibo/user.ts index 9ab4651ce..153baaad4 100644 --- a/lib/routes/weibo/user.ts +++ b/lib/routes/weibo/user.ts @@ -21,10 +21,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['m.weibo.cn/u/:uid', 'm.weibo.cn/profile/:uid'], - target: '/user/:uid', - }, + radar: [ + { + source: ['m.weibo.cn/u/:uid', 'm.weibo.cn/profile/:uid'], + target: '/user/:uid', + }, + ], name: '博主', maintainers: ['DIYgod', 'iplusx', 'Rongronggg9'], handler, diff --git a/lib/routes/wfdf/news.ts b/lib/routes/wfdf/news.ts index 40d042747..4d3e901e4 100644 --- a/lib/routes/wfdf/news.ts +++ b/lib/routes/wfdf/news.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['wfdf.sport/news/', 'wfdf.sport/'], - }, + radar: [ + { + source: ['wfdf.sport/news/', 'wfdf.sport/'], + }, + ], name: 'News', maintainers: ['HankChow'], handler, diff --git a/lib/routes/wfu/jwc.ts b/lib/routes/wfu/jwc.ts index 19332c3fe..a57b573f9 100644 --- a/lib/routes/wfu/jwc.ts +++ b/lib/routes/wfu/jwc.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['jwc.wfu.edu.cn/'], - }, + radar: [ + { + source: ['jwc.wfu.edu.cn/'], + }, + ], name: '教务处通知', maintainers: ['cccht'], handler, diff --git a/lib/routes/wfu/news.ts b/lib/routes/wfu/news.ts index 1c2d73e52..eefca4f5b 100644 --- a/lib/routes/wfu/news.ts +++ b/lib/routes/wfu/news.ts @@ -59,10 +59,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['news.wfu.edu.cn/'], - target: '/news', - }, + radar: [ + { + source: ['news.wfu.edu.cn/'], + target: '/news', + }, + ], name: '新闻', maintainers: ['cccht'], handler, diff --git a/lib/routes/whitehouse/briefing-room.ts b/lib/routes/whitehouse/briefing-room.ts index 09a7dcebc..ef2c241d9 100644 --- a/lib/routes/whitehouse/briefing-room.ts +++ b/lib/routes/whitehouse/briefing-room.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['whitehouse.gov/briefing-room/:category', 'whitehouse.gov/'], - target: '/briefing-room/:category', - }, + radar: [ + { + source: ['whitehouse.gov/briefing-room/:category', 'whitehouse.gov/'], + target: '/briefing-room/:category', + }, + ], name: 'Briefing Room', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/whitehouse/ostp.ts b/lib/routes/whitehouse/ostp.ts index 7cf4b2592..fcf549f52 100644 --- a/lib/routes/whitehouse/ostp.ts +++ b/lib/routes/whitehouse/ostp.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['whitehouse.gov/ostp', 'whitehouse.gov/'], - }, + radar: [ + { + source: ['whitehouse.gov/ostp', 'whitehouse.gov/'], + }, + ], name: 'Office of Science and Technology Policy', maintainers: ['LyleLee'], handler, diff --git a/lib/routes/who/news-room.ts b/lib/routes/who/news-room.ts index 6bbb06346..d26b832f5 100644 --- a/lib/routes/who/news-room.ts +++ b/lib/routes/who/news-room.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['who.int/news-room/:type'], - target: '/news-room/:type', - }, + radar: [ + { + source: ['who.int/news-room/:type'], + target: '/news-room/:type', + }, + ], name: 'Newsroom', maintainers: ['LogicJake', 'nczitzk'], handler, diff --git a/lib/routes/who/news.ts b/lib/routes/who/news.ts index 47342ac8a..eb12506ba 100644 --- a/lib/routes/who/news.ts +++ b/lib/routes/who/news.ts @@ -16,10 +16,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['who.int/news'], - target: '/news', - }, + radar: [ + { + source: ['who.int/news'], + target: '/news', + }, + ], name: 'News', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/who/speeches.ts b/lib/routes/who/speeches.ts index 7b1e95ed4..0a4cd246d 100644 --- a/lib/routes/who/speeches.ts +++ b/lib/routes/who/speeches.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['who.int/director-general/speeches'], - target: '/speeches', - }, + radar: [ + { + source: ['who.int/director-general/speeches'], + target: '/speeches', + }, + ], name: 'Speeches', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/whu/gs/index.ts b/lib/routes/whu/gs/index.ts index 57253e24d..250f01023 100644 --- a/lib/routes/whu/gs/index.ts +++ b/lib/routes/whu/gs/index.ts @@ -29,10 +29,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gs.whu.edu.cn/index.htm', 'gs.whu.edu.cn/'], - target: '/gs', - }, + radar: [ + { + source: ['gs.whu.edu.cn/index.htm', 'gs.whu.edu.cn/'], + target: '/gs', + }, + ], name: '研究生院', maintainers: ['Delreyaa'], handler, diff --git a/lib/routes/wikinews/index.ts b/lib/routes/wikinews/index.ts index 1e5e5e573..0a35733aa 100644 --- a/lib/routes/wikinews/index.ts +++ b/lib/routes/wikinews/index.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['zh.wikinews.org/wiki/Special:新闻订阅'], - }, + radar: [ + { + source: ['zh.wikinews.org/wiki/Special:新闻订阅'], + }, + ], name: '最新新闻', maintainers: ['KotoriK'], handler, diff --git a/lib/routes/winstall/update.ts b/lib/routes/winstall/update.ts index e219f4fd6..e8b824a8b 100644 --- a/lib/routes/winstall/update.ts +++ b/lib/routes/winstall/update.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['winstall.app/apps/:appId'], - }, + radar: [ + { + source: ['winstall.app/apps/:appId'], + }, + ], name: 'Apps Update', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/wizfile/index.ts b/lib/routes/wizfile/index.ts index e971b6db8..bcf9b2f72 100644 --- a/lib/routes/wizfile/index.ts +++ b/lib/routes/wizfile/index.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['antibody-software.com/wizfile/download'], - }, + radar: [ + { + source: ['antibody-software.com/wizfile/download'], + }, + ], name: 'Version History', maintainers: ['Fatpandac'], handler, diff --git a/lib/routes/wnacg/index.ts b/lib/routes/wnacg/index.ts index d90d03475..2bfdc11fa 100644 --- a/lib/routes/wnacg/index.ts +++ b/lib/routes/wnacg/index.ts @@ -32,10 +32,12 @@ const baseUrl = 'https://www.wnacg.com'; export const route: Route = { path: ['/', '/category/:cid', '/tag/:tag'], - radar: { - source: ['wnacg.org/albums.html', 'wnacg.org/'], - target: '', - }, + radar: [ + { + source: ['wnacg.org/albums.html', 'wnacg.org/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['KenMizz'], handler, diff --git a/lib/routes/worldjournal/index.ts b/lib/routes/worldjournal/index.ts index 12c1d5a61..f83aa98a6 100644 --- a/lib/routes/worldjournal/index.ts +++ b/lib/routes/worldjournal/index.ts @@ -9,10 +9,12 @@ const baseUrl = 'https://www.worldjournal.com'; export const route: Route = { path: '/:path{.+}?', - radar: { - source: ['worldjournal.com/wj/*path'], - target: '/:path', - }, + radar: [ + { + source: ['worldjournal.com/wj/*path'], + target: '/:path', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/woshipm/popular.ts b/lib/routes/woshipm/popular.ts index 270123d6b..49d43fdf7 100644 --- a/lib/routes/woshipm/popular.ts +++ b/lib/routes/woshipm/popular.ts @@ -23,10 +23,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['woshipm.com/'], - target: '/popular', - }, + radar: [ + { + source: ['woshipm.com/'], + target: '/popular', + }, + ], name: '热门文章', maintainers: ['WenryXu'], handler, diff --git a/lib/routes/woshipm/user-article.ts b/lib/routes/woshipm/user-article.ts index 7c8cd84c6..d85c757e3 100644 --- a/lib/routes/woshipm/user-article.ts +++ b/lib/routes/woshipm/user-article.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['woshipm.com/u/:id'], - }, + radar: [ + { + source: ['woshipm.com/u/:id'], + }, + ], name: '用户文章', maintainers: ['LogicJake'], handler, diff --git a/lib/routes/woshipm/wen.ts b/lib/routes/woshipm/wen.ts index 007c2fcab..a0c3e91cc 100644 --- a/lib/routes/woshipm/wen.ts +++ b/lib/routes/woshipm/wen.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['wen.woshipm.com/'], - }, + radar: [ + { + source: ['wen.woshipm.com/'], + }, + ], name: '天天问', maintainers: ['WenryXu'], handler, diff --git a/lib/routes/wtu/job.ts b/lib/routes/wtu/job.ts index a688723aa..a49071b9c 100644 --- a/lib/routes/wtu/job.ts +++ b/lib/routes/wtu/job.ts @@ -48,9 +48,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['wtu.91wllm.com/news/index/tag/:type'], - }, + radar: [ + { + source: ['wtu.91wllm.com/news/index/tag/:type'], + }, + ], name: '就业信息', maintainers: ['ticks-tan'], handler, diff --git a/lib/routes/wyzxwk/article.ts b/lib/routes/wyzxwk/article.ts index 251ff575d..8dd4e8d99 100644 --- a/lib/routes/wyzxwk/article.ts +++ b/lib/routes/wyzxwk/article.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['wyzxwk.com/Article/:id', 'wyzxwk.com/'], - }, + radar: [ + { + source: ['wyzxwk.com/Article/:id', 'wyzxwk.com/'], + }, + ], name: '栏目', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/x-mol/news.ts b/lib/routes/x-mol/news.ts index d37cafde1..6ed3fae95 100644 --- a/lib/routes/x-mol/news.ts +++ b/lib/routes/x-mol/news.ts @@ -24,10 +24,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['x-mol.com/news/index'], - target: '/news', - }, + radar: [ + { + source: ['x-mol.com/news/index'], + target: '/news', + }, + ], name: 'News', maintainers: ['cssxsh'], handler, diff --git a/lib/routes/xboxfan/news.ts b/lib/routes/xboxfan/news.ts index 2055a4e6a..65206e7a4 100644 --- a/lib/routes/xboxfan/news.ts +++ b/lib/routes/xboxfan/news.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['xboxfan.com/'], - }, + radar: [ + { + source: ['xboxfan.com/'], + }, + ], name: '资讯', maintainers: ['XXY233'], handler, diff --git a/lib/routes/xiaohongshu/board.ts b/lib/routes/xiaohongshu/board.ts index 2eb00a1ad..17d7c9c3e 100644 --- a/lib/routes/xiaohongshu/board.ts +++ b/lib/routes/xiaohongshu/board.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['xiaohongshu.com/board/:board_id'], - }, + radar: [ + { + source: ['xiaohongshu.com/board/:board_id'], + }, + ], name: '专辑', maintainers: ['lotosbin'], handler, diff --git a/lib/routes/xiaohongshu/notes.ts b/lib/routes/xiaohongshu/notes.ts index 03cfc5fdc..fa0267322 100644 --- a/lib/routes/xiaohongshu/notes.ts +++ b/lib/routes/xiaohongshu/notes.ts @@ -4,10 +4,12 @@ import { getNotes, formatText, formatNote } from './util'; export const route: Route = { path: '/user/:user_id/notes/fulltext', - radar: { - source: ['xiaohongshu.com/user/profile/:user_id'], - target: '/user/:user_id/notes', - }, + radar: [ + { + source: ['xiaohongshu.com/user/profile/:user_id'], + target: '/user/:user_id/notes', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/xiaomiyoupin/crowdfunding.ts b/lib/routes/xiaomiyoupin/crowdfunding.ts index 9f23e18f2..f81ff985c 100644 --- a/lib/routes/xiaomiyoupin/crowdfunding.ts +++ b/lib/routes/xiaomiyoupin/crowdfunding.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['xiaomiyoupin.com/'], - }, + radar: [ + { + source: ['xiaomiyoupin.com/'], + }, + ], name: '小米有品众筹', maintainers: ['bigfei'], handler, diff --git a/lib/routes/xiaomiyoupin/latest.ts b/lib/routes/xiaomiyoupin/latest.ts index 2de6af4c6..7a6513425 100644 --- a/lib/routes/xiaomiyoupin/latest.ts +++ b/lib/routes/xiaomiyoupin/latest.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['xiaomiyoupin.com/'], - }, + radar: [ + { + source: ['xiaomiyoupin.com/'], + }, + ], name: '小米有品每日上新', maintainers: ['xyqfer', 'DIYgod', 'bigfei'], handler, diff --git a/lib/routes/xiaote/index.ts b/lib/routes/xiaote/index.ts index c2b3463a6..34819d1b2 100644 --- a/lib/routes/xiaote/index.ts +++ b/lib/routes/xiaote/index.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['xiaote.com/'], - }, + radar: [ + { + source: ['xiaote.com/'], + }, + ], name: '首页帖子', maintainers: ['wxsimon'], handler, diff --git a/lib/routes/xiaoyuzhou/pickup.ts b/lib/routes/xiaoyuzhou/pickup.ts index 59de9b660..2c0aef6df 100644 --- a/lib/routes/xiaoyuzhou/pickup.ts +++ b/lib/routes/xiaoyuzhou/pickup.ts @@ -81,10 +81,12 @@ const ProcessFeed = async () => { export const route: Route = { path: '/', - radar: { - source: ['xiaoyuzhoufm.com/'], - target: '', - }, + radar: [ + { + source: ['xiaoyuzhoufm.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['prnake', 'Maecenas'], handler, diff --git a/lib/routes/xiaoyuzhou/podcast.ts b/lib/routes/xiaoyuzhou/podcast.ts index 21e8f7937..c208e89d9 100644 --- a/lib/routes/xiaoyuzhou/podcast.ts +++ b/lib/routes/xiaoyuzhou/podcast.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['xiaoyuzhoufm.com/podcast/:id'], - }, + radar: [ + { + source: ['xiaoyuzhoufm.com/podcast/:id'], + }, + ], name: '播客', maintainers: ['hondajojo', 'jtsang4'], handler, diff --git a/lib/routes/xiaozhuanlan/column.ts b/lib/routes/xiaozhuanlan/column.ts index 0fce850eb..3d1daa65b 100644 --- a/lib/routes/xiaozhuanlan/column.ts +++ b/lib/routes/xiaozhuanlan/column.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['xiaozhuanlan.com/:id'], - }, + radar: [ + { + source: ['xiaozhuanlan.com/:id'], + }, + ], name: '专栏', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/xjtu/ee.ts b/lib/routes/xjtu/ee.ts index eb90f8078..402e3b49d 100644 --- a/lib/routes/xjtu/ee.ts +++ b/lib/routes/xjtu/ee.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ee.xjtu.edu.cn/'], - }, + radar: [ + { + source: ['ee.xjtu.edu.cn/'], + }, + ], name: '电气学院', maintainers: ['DylanXie123'], handler, diff --git a/lib/routes/xjtu/gs/tzgg.ts b/lib/routes/xjtu/gs/tzgg.ts index f3e5e10e7..abaf5099f 100644 --- a/lib/routes/xjtu/gs/tzgg.ts +++ b/lib/routes/xjtu/gs/tzgg.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['gs.xjtu.edu.cn/'], - }, + radar: [ + { + source: ['gs.xjtu.edu.cn/'], + }, + ], name: '研究生院通知公告', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/xmanhua/index.ts b/lib/routes/xmanhua/index.ts index a7fdd6d0a..2ba263f23 100644 --- a/lib/routes/xmanhua/index.ts +++ b/lib/routes/xmanhua/index.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['xmanhua.com/:uid'], - }, + radar: [ + { + source: ['xmanhua.com/:uid'], + }, + ], name: '最新动态', maintainers: ['Ye11'], handler, diff --git a/lib/routes/xmnn/epaper.ts b/lib/routes/xmnn/epaper.ts index 66d432d58..62af3aebe 100644 --- a/lib/routes/xmnn/epaper.ts +++ b/lib/routes/xmnn/epaper.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['epaper.xmnn.cn/:id'], - target: '/epaper/:id', - }, + radar: [ + { + source: ['epaper.xmnn.cn/:id'], + target: '/epaper/:id', + }, + ], name: '数字媒体', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/xueqiu/column.ts b/lib/routes/xueqiu/column.ts index 094f1e6e1..b2053248c 100644 --- a/lib/routes/xueqiu/column.ts +++ b/lib/routes/xueqiu/column.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['xueqiu.com/:id/column'], - }, + radar: [ + { + source: ['xueqiu.com/:id/column'], + }, + ], name: '用户专栏', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/xueqiu/favorite.ts b/lib/routes/xueqiu/favorite.ts index c6b2cc859..22906ccbe 100644 --- a/lib/routes/xueqiu/favorite.ts +++ b/lib/routes/xueqiu/favorite.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['xueqiu.com/u/:id'], - }, + radar: [ + { + source: ['xueqiu.com/u/:id'], + }, + ], name: '用户收藏动态', maintainers: ['imlonghao'], handler, diff --git a/lib/routes/xueqiu/hots.ts b/lib/routes/xueqiu/hots.ts index 006756ebd..dabdf33bd 100644 --- a/lib/routes/xueqiu/hots.ts +++ b/lib/routes/xueqiu/hots.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['xueqiu.com/'], - }, + radar: [ + { + source: ['xueqiu.com/'], + }, + ], name: '热帖', maintainers: ['hillerliao'], handler, diff --git a/lib/routes/xueqiu/snb.ts b/lib/routes/xueqiu/snb.ts index c5d219cf6..fb98179ff 100644 --- a/lib/routes/xueqiu/snb.ts +++ b/lib/routes/xueqiu/snb.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['xueqiu.com/P/:id', 'xueqiu.com/p/:id'], - }, + radar: [ + { + source: ['xueqiu.com/P/:id', 'xueqiu.com/p/:id'], + }, + ], name: '组合最新调仓信息', maintainers: ['ZhishanZhang'], handler, diff --git a/lib/routes/xueqiu/stock-comments.ts b/lib/routes/xueqiu/stock-comments.ts index 733f94967..4382e81cf 100644 --- a/lib/routes/xueqiu/stock-comments.ts +++ b/lib/routes/xueqiu/stock-comments.ts @@ -23,9 +23,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['xueqiu.com/S/:id'], - }, + radar: [ + { + source: ['xueqiu.com/S/:id'], + }, + ], name: '股票评论', maintainers: [], handler, diff --git a/lib/routes/xueqiu/stock-info.ts b/lib/routes/xueqiu/stock-info.ts index a9671369e..1b24a1bb1 100644 --- a/lib/routes/xueqiu/stock-info.ts +++ b/lib/routes/xueqiu/stock-info.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['xueqiu.com/S/:id', 'xueqiu.com/s/:id'], - target: '/stock_info/:id', - }, + radar: [ + { + source: ['xueqiu.com/S/:id', 'xueqiu.com/s/:id'], + target: '/stock_info/:id', + }, + ], name: '股票信息', maintainers: ['YuYang'], handler, diff --git a/lib/routes/xueqiu/today.ts b/lib/routes/xueqiu/today.ts index 16b50f4ba..da2e2fe65 100644 --- a/lib/routes/xueqiu/today.ts +++ b/lib/routes/xueqiu/today.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['xueqiu.com/today'], - }, + radar: [ + { + source: ['xueqiu.com/today'], + }, + ], name: '今日话题', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/xueqiu/user-stock.ts b/lib/routes/xueqiu/user-stock.ts index 10e770ccf..87aa20a0f 100644 --- a/lib/routes/xueqiu/user-stock.ts +++ b/lib/routes/xueqiu/user-stock.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['xueqiu.com/u/:id'], - }, + radar: [ + { + source: ['xueqiu.com/u/:id'], + }, + ], name: '用户自选动态', maintainers: ['hillerliao'], handler, diff --git a/lib/routes/xueqiu/user.ts b/lib/routes/xueqiu/user.ts index c1efe8a41..c2d0f1110 100644 --- a/lib/routes/xueqiu/user.ts +++ b/lib/routes/xueqiu/user.ts @@ -20,10 +20,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['xueqiu.com/u/:id'], - target: '/user/:id', - }, + radar: [ + { + source: ['xueqiu.com/u/:id'], + target: '/user/:id', + }, + ], name: '用户动态', maintainers: ['imlonghao'], handler, diff --git a/lib/routes/xunhupay/index.ts b/lib/routes/xunhupay/index.ts index 71c89dfb7..aa1bfbe28 100644 --- a/lib/routes/xunhupay/index.ts +++ b/lib/routes/xunhupay/index.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.xunhupay.com/blog'], - }, + radar: [ + { + source: ['www.xunhupay.com/blog'], + }, + ], name: '文章', maintainers: ['Joey'], handler, diff --git a/lib/routes/xys/new.ts b/lib/routes/xys/new.ts index 28ce3f98e..dd4890c76 100644 --- a/lib/routes/xys/new.ts +++ b/lib/routes/xys/new.ts @@ -23,9 +23,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['xys.org/', 'xys.org/new.html'], - }, + radar: [ + { + source: ['xys.org/', 'xys.org/new.html'], + }, + ], name: '新到资料', maintainers: ['wenzhenl'], handler, diff --git a/lib/routes/xyzrank/index.ts b/lib/routes/xyzrank/index.ts index 9f5051d50..302d4e203 100644 --- a/lib/routes/xyzrank/index.ts +++ b/lib/routes/xyzrank/index.ts @@ -10,10 +10,12 @@ import * as path from 'node:path'; export const route: Route = { path: '/:category?', - radar: { - source: ['xyzrank.com/'], - target: '', - }, + radar: [ + { + source: ['xyzrank.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/yahoo/news/tw/index.ts b/lib/routes/yahoo/news/tw/index.ts index 7aa2a1cfc..ec681e779 100644 --- a/lib/routes/yahoo/news/tw/index.ts +++ b/lib/routes/yahoo/news/tw/index.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yahoo.com/'], - }, + radar: [ + { + source: ['yahoo.com/'], + }, + ], name: 'News', maintainers: ['KeiLongW'], handler, diff --git a/lib/routes/yicai/author.ts b/lib/routes/yicai/author.ts index 5dca9a763..eeaa1f38b 100644 --- a/lib/routes/yicai/author.ts +++ b/lib/routes/yicai/author.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yicai.com/author/:id', 'yicai.com/author'], - target: '/author/:id', - }, + radar: [ + { + source: ['yicai.com/author/:id', 'yicai.com/author'], + target: '/author/:id', + }, + ], name: '一财号', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/yicai/brief.ts b/lib/routes/yicai/brief.ts index a3de5abba..4f0dbe673 100644 --- a/lib/routes/yicai/brief.ts +++ b/lib/routes/yicai/brief.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yicai.com/brief'], - }, + radar: [ + { + source: ['yicai.com/brief'], + }, + ], name: '正在', maintainers: ['sanmmm', 'nczitzk'], handler, diff --git a/lib/routes/yicai/feed.ts b/lib/routes/yicai/feed.ts index 212fc5c5e..a73de58bf 100644 --- a/lib/routes/yicai/feed.ts +++ b/lib/routes/yicai/feed.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yicai.com/feed/:id', 'yicai.com/feed'], - target: '/feed/:id', - }, + radar: [ + { + source: ['yicai.com/feed/:id', 'yicai.com/feed'], + target: '/feed/:id', + }, + ], name: '关注', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/yicai/headline.ts b/lib/routes/yicai/headline.ts index 05f35c203..36a087735 100644 --- a/lib/routes/yicai/headline.ts +++ b/lib/routes/yicai/headline.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yicai.com/'], - }, + radar: [ + { + source: ['yicai.com/'], + }, + ], name: '头条', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/yicai/latest.ts b/lib/routes/yicai/latest.ts index 88430ef8e..9b6308469 100644 --- a/lib/routes/yicai/latest.ts +++ b/lib/routes/yicai/latest.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yicai.com/'], - }, + radar: [ + { + source: ['yicai.com/'], + }, + ], name: '最新', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/yicai/news.ts b/lib/routes/yicai/news.ts index 38b3bfef8..d116ad451 100644 --- a/lib/routes/yicai/news.ts +++ b/lib/routes/yicai/news.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yicai.com/news/:id', 'yicai.com/news'], - target: '/news/:id', - }, + radar: [ + { + source: ['yicai.com/news/:id', 'yicai.com/news'], + target: '/news/:id', + }, + ], name: '新闻', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/yicai/video.ts b/lib/routes/yicai/video.ts index 48ed7928c..8984651e6 100644 --- a/lib/routes/yicai/video.ts +++ b/lib/routes/yicai/video.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yicai.com/video/:id', 'yicai.com/video'], - target: '/video/:id', - }, + radar: [ + { + source: ['yicai.com/video/:id', 'yicai.com/video'], + target: '/video/:id', + }, + ], name: '视听', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/yicai/vip.ts b/lib/routes/yicai/vip.ts index f0f398c2d..ddd954aff 100644 --- a/lib/routes/yicai/vip.ts +++ b/lib/routes/yicai/vip.ts @@ -18,10 +18,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yicai.com/vip/product/:id', 'yicai.com/'], - target: '/vip/:id', - }, + radar: [ + { + source: ['yicai.com/vip/product/:id', 'yicai.com/'], + target: '/vip/:id', + }, + ], name: 'VIP 频道', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/ymgal/game.ts b/lib/routes/ymgal/game.ts index e6e91b310..dc91e0c02 100644 --- a/lib/routes/ymgal/game.ts +++ b/lib/routes/ymgal/game.ts @@ -26,9 +26,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['ymgal.games/'], - }, + radar: [ + { + source: ['ymgal.games/'], + }, + ], name: '本月新作', maintainers: ['SunBK201'], handler, diff --git a/lib/routes/yoasobi-music/info.ts b/lib/routes/yoasobi-music/info.ts index 43e8fef11..7a88c724d 100644 --- a/lib/routes/yoasobi-music/info.ts +++ b/lib/routes/yoasobi-music/info.ts @@ -21,10 +21,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.yoasobi-music.jp/', 'www.yoasobi-music.jp/:category'], - target: '/info/:category', - }, + radar: [ + { + source: ['www.yoasobi-music.jp/', 'www.yoasobi-music.jp/:category'], + target: '/info/:category', + }, + ], name: 'News & Biography', maintainers: [], handler, diff --git a/lib/routes/yoasobi-music/live.ts b/lib/routes/yoasobi-music/live.ts index 13f7957a6..7eb7ef87d 100644 --- a/lib/routes/yoasobi-music/live.ts +++ b/lib/routes/yoasobi-music/live.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.yoasobi-music.jp/', 'www.yoasobi-music.jp/live'], - }, + radar: [ + { + source: ['www.yoasobi-music.jp/', 'www.yoasobi-music.jp/live'], + }, + ], name: 'Live', maintainers: ['Kiotlin'], handler, diff --git a/lib/routes/yoasobi-music/media.ts b/lib/routes/yoasobi-music/media.ts index 5150d8ead..7b0a4af97 100644 --- a/lib/routes/yoasobi-music/media.ts +++ b/lib/routes/yoasobi-music/media.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.yoasobi-music.jp/', 'www.yoasobi-music.jp/media'], - }, + radar: [ + { + source: ['www.yoasobi-music.jp/', 'www.yoasobi-music.jp/media'], + }, + ], name: 'Media', maintainers: ['Kiotlin'], handler, diff --git a/lib/routes/yomiuri/news.ts b/lib/routes/yomiuri/news.ts index 362fba932..678789f1c 100644 --- a/lib/routes/yomiuri/news.ts +++ b/lib/routes/yomiuri/news.ts @@ -18,9 +18,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.yomiuri.co.jp/:category?'], - }, + radar: [ + { + source: ['www.yomiuri.co.jp/:category?'], + }, + ], name: 'News', maintainers: ['Arracc'], handler, diff --git a/lib/routes/yomujp/level.ts b/lib/routes/yomujp/level.ts index b413198b4..38ba04712 100644 --- a/lib/routes/yomujp/level.ts +++ b/lib/routes/yomujp/level.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yomujp.com/', 'yomujp.com/:level'], - target: '/:level', - }, + radar: [ + { + source: ['yomujp.com/', 'yomujp.com/:level'], + target: '/:level', + }, + ], name: '等级', maintainers: ['eternasuno'], handler, diff --git a/lib/routes/youku/channel.ts b/lib/routes/youku/channel.ts index 18d313dfb..570181a95 100644 --- a/lib/routes/youku/channel.ts +++ b/lib/routes/youku/channel.ts @@ -21,10 +21,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['i.youku.com/i/:id'], - target: '/channel/:id', - }, + radar: [ + { + source: ['i.youku.com/i/:id'], + target: '/channel/:id', + }, + ], name: '频道', maintainers: ['xyqfer', 'Fatpandac'], handler, diff --git a/lib/routes/youtube/channel.ts b/lib/routes/youtube/channel.ts index 0b7b67499..426958bc4 100644 --- a/lib/routes/youtube/channel.ts +++ b/lib/routes/youtube/channel.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.youtube.com/channel/:id'], - target: '/channel/:id', - }, + radar: [ + { + source: ['www.youtube.com/channel/:id'], + target: '/channel/:id', + }, + ], name: 'Channel', maintainers: ['DIYgod'], handler, diff --git a/lib/routes/youtube/custom.ts b/lib/routes/youtube/custom.ts index b2b8ab338..9ccda071c 100644 --- a/lib/routes/youtube/custom.ts +++ b/lib/routes/youtube/custom.ts @@ -8,10 +8,12 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/c/:username/:embed?', - radar: { - source: ['www.youtube.com/c/:id'], - target: '/c/:id', - }, + radar: [ + { + source: ['www.youtube.com/c/:id'], + target: '/c/:id', + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/youtube/subscriptions.ts b/lib/routes/youtube/subscriptions.ts index 9e64fff1b..a47f5c0b1 100644 --- a/lib/routes/youtube/subscriptions.ts +++ b/lib/routes/youtube/subscriptions.ts @@ -35,10 +35,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.youtube.com/feed/subscriptions', 'www.youtube.com/feed/channels'], - target: '/subscriptions', - }, + radar: [ + { + source: ['www.youtube.com/feed/subscriptions', 'www.youtube.com/feed/channels'], + target: '/subscriptions', + }, + ], name: 'Subscriptions', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/youtube/user.ts b/lib/routes/youtube/user.ts index 9d1cf2d83..7136643f3 100644 --- a/lib/routes/youtube/user.ts +++ b/lib/routes/youtube/user.ts @@ -19,10 +19,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.youtube.com/user/:username'], - target: '/user/:username', - }, + radar: [ + { + source: ['www.youtube.com/user/:username'], + target: '/user/:username', + }, + ], name: 'User', maintainers: ['DIYgod'], handler, diff --git a/lib/routes/youzhiyouxing/materials.ts b/lib/routes/youzhiyouxing/materials.ts index a7d12a5c8..e71c9abac 100644 --- a/lib/routes/youzhiyouxing/materials.ts +++ b/lib/routes/youzhiyouxing/materials.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['youzhiyouxing.cn/materials'], - target: '/materials', - }, + radar: [ + { + source: ['youzhiyouxing.cn/materials'], + target: '/materials', + }, + ], name: '有知文章', maintainers: ['broven', 'Fatpandac', 'nczitzk'], handler, diff --git a/lib/routes/yuque/book.ts b/lib/routes/yuque/book.ts index 918cbbb52..883a54db8 100644 --- a/lib/routes/yuque/book.ts +++ b/lib/routes/yuque/book.ts @@ -22,9 +22,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yuque.com/:name/:book'], - }, + radar: [ + { + source: ['yuque.com/:name/:book'], + }, + ], name: '知识库', maintainers: ['aha2mao', 'ltaoo'], handler, diff --git a/lib/routes/yxdown/recommend.ts b/lib/routes/yxdown/recommend.ts index d13ad401a..e80a435f1 100644 --- a/lib/routes/yxdown/recommend.ts +++ b/lib/routes/yxdown/recommend.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yxdown.com/'], - }, + radar: [ + { + source: ['yxdown.com/'], + }, + ], name: '精彩推荐', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/yxdzqb/index.ts b/lib/routes/yxdzqb/index.ts index bf6fb7c13..5f4196b30 100644 --- a/lib/routes/yxdzqb/index.ts +++ b/lib/routes/yxdzqb/index.ts @@ -30,9 +30,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yxdzqb.com/'], - }, + radar: [ + { + source: ['yxdzqb.com/'], + }, + ], name: '游戏折扣', maintainers: ['LogicJake', 'nczitzk'], handler, diff --git a/lib/routes/yxrb/home.ts b/lib/routes/yxrb/home.ts index 5d5552b89..d8e59cea0 100644 --- a/lib/routes/yxrb/home.ts +++ b/lib/routes/yxrb/home.ts @@ -20,10 +20,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['news.yxrb.net/:category', 'news.yxrb.net/'], - target: '/:category', - }, + radar: [ + { + source: ['news.yxrb.net/:category', 'news.yxrb.net/'], + target: '/:category', + }, + ], name: '分类', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/yyets/today.ts b/lib/routes/yyets/today.ts index 73f57e3f3..0bd05556b 100644 --- a/lib/routes/yyets/today.ts +++ b/lib/routes/yyets/today.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yysub.net/tv/schedule', 'yysub.net/'], - }, + radar: [ + { + source: ['yysub.net/tv/schedule', 'yysub.net/'], + }, + ], name: '今日播出', maintainers: ['bao1991213'], handler, diff --git a/lib/routes/yystv/docs.ts b/lib/routes/yystv/docs.ts index e8d346fee..a98f55e0c 100644 --- a/lib/routes/yystv/docs.ts +++ b/lib/routes/yystv/docs.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['yystv.cn/docs'], - }, + radar: [ + { + source: ['yystv.cn/docs'], + }, + ], name: '游研社 - 全部文章', maintainers: ['HaitianLiu'], handler, diff --git a/lib/routes/zaker/index.ts b/lib/routes/zaker/index.ts index 8c4078b6c..59ccbaeeb 100644 --- a/lib/routes/zaker/index.ts +++ b/lib/routes/zaker/index.ts @@ -7,10 +7,12 @@ import timezone from '@/utils/timezone'; export const route: Route = { path: '/:type/:id?', - radar: { - source: ['myzaker.com/:type/:id'], - target: '/:type/:id', - }, + radar: [ + { + source: ['myzaker.com/:type/:id'], + target: '/:type/:id', + }, + ], name: 'Unknown', maintainers: ['LogicJake', 'kt286', 'AlexdanerZe', 'TonyRL'], handler, diff --git a/lib/routes/zaozao/article.ts b/lib/routes/zaozao/article.ts index ea29e867c..dd778ed23 100644 --- a/lib/routes/zaozao/article.ts +++ b/lib/routes/zaozao/article.ts @@ -15,10 +15,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.zaozao.run/article/:type'], - target: '/article/:type', - }, + radar: [ + { + source: ['www.zaozao.run/article/:type'], + target: '/article/:type', + }, + ], name: '文章', maintainers: ['shaomingbo'], handler, diff --git a/lib/routes/zcool/user.ts b/lib/routes/zcool/user.ts index bcd0ea97d..34927fbad 100644 --- a/lib/routes/zcool/user.ts +++ b/lib/routes/zcool/user.ts @@ -19,10 +19,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.zcool.com.cn/u/:id'], - target: '/user/:id', - }, + radar: [ + { + source: ['www.zcool.com.cn/u/:id'], + target: '/user/:id', + }, + ], name: 'Unknown', maintainers: ['junbaor'], handler, diff --git a/lib/routes/zhangyoubao/index.ts b/lib/routes/zhangyoubao/index.ts index 35da9baee..63f087fab 100644 --- a/lib/routes/zhangyoubao/index.ts +++ b/lib/routes/zhangyoubao/index.ts @@ -20,9 +20,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['mobile.zhangyoubao.com/:category/'], - }, + radar: [ + { + source: ['mobile.zhangyoubao.com/:category/'], + }, + ], name: '推荐', maintainers: ['ztmzzz'], handler, diff --git a/lib/routes/zhibo8/luxiang.ts b/lib/routes/zhibo8/luxiang.ts index 25f9e313f..e2385b3d5 100644 --- a/lib/routes/zhibo8/luxiang.ts +++ b/lib/routes/zhibo8/luxiang.ts @@ -6,10 +6,12 @@ import timezone from '@/utils/timezone'; export const route: Route = { path: '/luxiang/:category?', - radar: { - source: ['zhibo8.cc/:category/luxiang.htm'], - target: '/luxiang/:category', - }, + radar: [ + { + source: ['zhibo8.cc/:category/luxiang.htm'], + target: '/luxiang/:category', + }, + ], name: 'Unknown', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/zhibo8/more.ts b/lib/routes/zhibo8/more.ts index 82bc2d285..c120315d3 100644 --- a/lib/routes/zhibo8/more.ts +++ b/lib/routes/zhibo8/more.ts @@ -25,10 +25,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['news.zhibo8.cc/:category'], - target: '/more/:category', - }, + radar: [ + { + source: ['news.zhibo8.cc/:category'], + target: '/more/:category', + }, + ], name: 'Unknown', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/zhihu/activities.ts b/lib/routes/zhihu/activities.ts index 8f1fbca4d..b67a4af87 100644 --- a/lib/routes/zhihu/activities.ts +++ b/lib/routes/zhihu/activities.ts @@ -19,9 +19,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.zhihu.com/people/:id'], - }, + radar: [ + { + source: ['www.zhihu.com/people/:id'], + }, + ], name: '用户动态', maintainers: ['DIYgod'], handler, diff --git a/lib/routes/zhihu/answers.ts b/lib/routes/zhihu/answers.ts index cc43d4e48..6dd7f44b4 100644 --- a/lib/routes/zhihu/answers.ts +++ b/lib/routes/zhihu/answers.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.zhihu.com/people/:id/answers'], - }, + radar: [ + { + source: ['www.zhihu.com/people/:id/answers'], + }, + ], name: '用户回答', maintainers: ['DIYgod', 'prnake'], handler, diff --git a/lib/routes/zhihu/collection.ts b/lib/routes/zhihu/collection.ts index 528bbfeb1..1844031e1 100644 --- a/lib/routes/zhihu/collection.ts +++ b/lib/routes/zhihu/collection.ts @@ -19,10 +19,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.zhihu.com/collection/:id'], - target: '/collection/:id', - }, + radar: [ + { + source: ['www.zhihu.com/collection/:id'], + target: '/collection/:id', + }, + ], name: '收藏夹', maintainers: ['huruji', 'Colin-XKL', 'Fatpandac'], handler, diff --git a/lib/routes/zhihu/daily-section.ts b/lib/routes/zhihu/daily-section.ts index 365e23cfc..d594717f7 100644 --- a/lib/routes/zhihu/daily-section.ts +++ b/lib/routes/zhihu/daily-section.ts @@ -20,10 +20,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['daily.zhihu.com/*'], - target: '/daily', - }, + radar: [ + { + source: ['daily.zhihu.com/*'], + target: '/daily', + }, + ], name: '知乎日报 - 合集', maintainers: ['ccbikai'], handler, diff --git a/lib/routes/zhihu/daily.ts b/lib/routes/zhihu/daily.ts index d961d59b9..fd57b162d 100644 --- a/lib/routes/zhihu/daily.ts +++ b/lib/routes/zhihu/daily.ts @@ -34,9 +34,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['daily.zhihu.com/*'], - }, + radar: [ + { + source: ['daily.zhihu.com/*'], + }, + ], name: '知乎日报', maintainers: ['DHPO'], handler, diff --git a/lib/routes/zhihu/hotlist.ts b/lib/routes/zhihu/hotlist.ts index 2910594d6..a227637c4 100644 --- a/lib/routes/zhihu/hotlist.ts +++ b/lib/routes/zhihu/hotlist.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.zhihu.com/hot'], - }, + radar: [ + { + source: ['www.zhihu.com/hot'], + }, + ], name: '知乎热榜', maintainers: ['DIYgod'], handler, diff --git a/lib/routes/zhihu/pin/daily.ts b/lib/routes/zhihu/pin/daily.ts index f247c958b..5a08d021c 100644 --- a/lib/routes/zhihu/pin/daily.ts +++ b/lib/routes/zhihu/pin/daily.ts @@ -15,10 +15,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['daily.zhihu.com/*'], - target: '/daily', - }, + radar: [ + { + source: ['daily.zhihu.com/*'], + target: '/daily', + }, + ], name: '知乎想法 - 24 小时新闻汇总', maintainers: ['xyqfer'], handler, diff --git a/lib/routes/zhihu/pin/hotlist.ts b/lib/routes/zhihu/pin/hotlist.ts index e26d5b7b0..1955a2e88 100644 --- a/lib/routes/zhihu/pin/hotlist.ts +++ b/lib/routes/zhihu/pin/hotlist.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.zhihu.com/zhihu/bookstore/newest'], - }, + radar: [ + { + source: ['www.zhihu.com/zhihu/bookstore/newest'], + }, + ], name: '知乎想法热榜', maintainers: ['xyqfer'], handler, diff --git a/lib/routes/zhihu/pin/people.ts b/lib/routes/zhihu/pin/people.ts index c115c813c..b396c2271 100644 --- a/lib/routes/zhihu/pin/people.ts +++ b/lib/routes/zhihu/pin/people.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.zhihu.com/people/:id/pins'], - }, + radar: [ + { + source: ['www.zhihu.com/people/:id/pins'], + }, + ], name: '用户想法', maintainers: ['xyqfer'], handler, diff --git a/lib/routes/zhihu/posts.ts b/lib/routes/zhihu/posts.ts index 25e30b1e6..8fff51e45 100644 --- a/lib/routes/zhihu/posts.ts +++ b/lib/routes/zhihu/posts.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.zhihu.com/:usertype/:id/posts'], - }, + radar: [ + { + source: ['www.zhihu.com/:usertype/:id/posts'], + }, + ], name: '用户文章', maintainers: ['whtsky', 'Colin-XKL'], handler, diff --git a/lib/routes/zhihu/question.ts b/lib/routes/zhihu/question.ts index bd6c58205..e95f0d984 100644 --- a/lib/routes/zhihu/question.ts +++ b/lib/routes/zhihu/question.ts @@ -19,10 +19,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.zhihu.com/question/:questionId'], - target: '/question/:questionId', - }, + radar: [ + { + source: ['www.zhihu.com/question/:questionId'], + target: '/question/:questionId', + }, + ], name: '问题', maintainers: [], handler, diff --git a/lib/routes/zhihu/topic.ts b/lib/routes/zhihu/topic.ts index d77d82627..0a4436f8d 100644 --- a/lib/routes/zhihu/topic.ts +++ b/lib/routes/zhihu/topic.ts @@ -19,10 +19,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.zhihu.com/topic/:topicId/:type'], - target: '/topic/:topicId', - }, + radar: [ + { + source: ['www.zhihu.com/topic/:topicId/:type'], + target: '/topic/:topicId', + }, + ], name: '话题', maintainers: ['xyqfer'], handler, diff --git a/lib/routes/zhihu/weekly.ts b/lib/routes/zhihu/weekly.ts index b3ec2f256..c21668760 100644 --- a/lib/routes/zhihu/weekly.ts +++ b/lib/routes/zhihu/weekly.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.zhihu.com/pub/weekly'], - }, + radar: [ + { + source: ['www.zhihu.com/pub/weekly'], + }, + ], name: '知乎书店 - 知乎周刊', maintainers: ['LogicJake'], handler, diff --git a/lib/routes/zhihu/xhu/activities.ts b/lib/routes/zhihu/xhu/activities.ts index 72b755cdc..2f48794f4 100644 --- a/lib/routes/zhihu/xhu/activities.ts +++ b/lib/routes/zhihu/xhu/activities.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.zhihu.com/people/:id'], - target: '/people/activities/:id', - }, + radar: [ + { + source: ['www.zhihu.com/people/:id'], + target: '/people/activities/:id', + }, + ], name: 'xhu - 用户动态', maintainers: ['JimenezLi'], handler, diff --git a/lib/routes/zhihu/xhu/answers.ts b/lib/routes/zhihu/xhu/answers.ts index 1cc9d2b40..31b894dc9 100644 --- a/lib/routes/zhihu/xhu/answers.ts +++ b/lib/routes/zhihu/xhu/answers.ts @@ -16,10 +16,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.zhihu.com/people/:id/answers'], - target: '/people/answers/:id', - }, + radar: [ + { + source: ['www.zhihu.com/people/:id/answers'], + target: '/people/answers/:id', + }, + ], name: 'xhu - 用户回答', maintainers: ['JimenezLi'], handler, diff --git a/lib/routes/zhihu/xhu/collection.ts b/lib/routes/zhihu/xhu/collection.ts index 713f3a579..ff978af28 100644 --- a/lib/routes/zhihu/xhu/collection.ts +++ b/lib/routes/zhihu/xhu/collection.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.zhihu.com/collection/:id'], - }, + radar: [ + { + source: ['www.zhihu.com/collection/:id'], + }, + ], name: 'xhu - 收藏夹', maintainers: ['JimenezLi'], handler, diff --git a/lib/routes/zhihu/xhu/question.ts b/lib/routes/zhihu/xhu/question.ts index 51627f130..3bb007484 100644 --- a/lib/routes/zhihu/xhu/question.ts +++ b/lib/routes/zhihu/xhu/question.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.zhihu.com/question/:questionId'], - target: '/xhu/question/:questionId', - }, + radar: [ + { + source: ['www.zhihu.com/question/:questionId'], + target: '/xhu/question/:questionId', + }, + ], name: 'xhu - 问题', maintainers: ['JimenezLi'], handler, diff --git a/lib/routes/zhihu/xhu/topic.ts b/lib/routes/zhihu/xhu/topic.ts index bd15c03c3..8326f58b3 100644 --- a/lib/routes/zhihu/xhu/topic.ts +++ b/lib/routes/zhihu/xhu/topic.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['www.zhihu.com/topic/:topicId/:type'], - }, + radar: [ + { + source: ['www.zhihu.com/topic/:topicId/:type'], + }, + ], name: 'Unknown', maintainers: ['JimenezLi'], handler, diff --git a/lib/routes/zhihu/xhu/zhuanlan.ts b/lib/routes/zhihu/xhu/zhuanlan.ts index 1c12d5026..91d0bd7bb 100644 --- a/lib/routes/zhihu/xhu/zhuanlan.ts +++ b/lib/routes/zhihu/xhu/zhuanlan.ts @@ -17,10 +17,12 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['zhuanlan.zhihu.com/:id'], - target: '/zhuanlan/:id', - }, + radar: [ + { + source: ['zhuanlan.zhihu.com/:id'], + target: '/zhuanlan/:id', + }, + ], name: 'xhu- 专栏', maintainers: ['JimenezLi'], handler, diff --git a/lib/routes/zhihu/zhuanlan.ts b/lib/routes/zhihu/zhuanlan.ts index 15e282b52..95bebd91a 100644 --- a/lib/routes/zhihu/zhuanlan.ts +++ b/lib/routes/zhihu/zhuanlan.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['zhuanlan.zhihu.com/:id'], - }, + radar: [ + { + source: ['zhuanlan.zhihu.com/:id'], + }, + ], name: '专栏', maintainers: ['DIYgod'], handler, diff --git a/lib/routes/zhiy/letter.ts b/lib/routes/zhiy/letter.ts index 021df59b6..04d3d31df 100644 --- a/lib/routes/zhiy/letter.ts +++ b/lib/routes/zhiy/letter.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['zhiy.cc/:author'], - }, + radar: [ + { + source: ['zhiy.cc/:author'], + }, + ], name: 'Newsletter', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/zhiy/post.ts b/lib/routes/zhiy/post.ts index e0c32b63d..938d2a373 100644 --- a/lib/routes/zhiy/post.ts +++ b/lib/routes/zhiy/post.ts @@ -23,9 +23,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['zhiy.cc/:author'], - }, + radar: [ + { + source: ['zhiy.cc/:author'], + }, + ], name: '笔记', maintainers: ['TonyRL'], handler, diff --git a/lib/routes/zhubai/top20.ts b/lib/routes/zhubai/top20.ts index 1b793f67d..8d02630c5 100644 --- a/lib/routes/zhubai/top20.ts +++ b/lib/routes/zhubai/top20.ts @@ -29,9 +29,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['analy.zhubai.love/'], - }, + radar: [ + { + source: ['analy.zhubai.love/'], + }, + ], name: 'Unknown', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/zhujiceping/rss.ts b/lib/routes/zhujiceping/rss.ts index 314e244c9..3a6515881 100644 --- a/lib/routes/zhujiceping/rss.ts +++ b/lib/routes/zhujiceping/rss.ts @@ -5,10 +5,12 @@ import { load } from 'cheerio'; export const route: Route = { path: '/', - radar: { - source: ['zhujiceping.com/'], - target: '', - }, + radar: [ + { + source: ['zhujiceping.com/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['cnkmmk'], handler, diff --git a/lib/routes/zhuwang/index.ts b/lib/routes/zhuwang/index.ts index 719afee49..e749fd659 100644 --- a/lib/routes/zhuwang/index.ts +++ b/lib/routes/zhuwang/index.ts @@ -14,9 +14,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['zhujia.zhuwang.cc/'], - }, + radar: [ + { + source: ['zhujia.zhuwang.cc/'], + }, + ], name: 'Unknown', maintainers: [], handler, diff --git a/lib/routes/zimuxia/portfolio.ts b/lib/routes/zimuxia/portfolio.ts index 6bcb7e356..e3502aebb 100644 --- a/lib/routes/zimuxia/portfolio.ts +++ b/lib/routes/zimuxia/portfolio.ts @@ -16,9 +16,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['zimuxia.cn/portfolio/:id'], - }, + radar: [ + { + source: ['zimuxia.cn/portfolio/:id'], + }, + ], name: '剧集', maintainers: ['nczitzk'], handler, diff --git a/lib/routes/zotero/versions.ts b/lib/routes/zotero/versions.ts index 167bb79db..096669013 100644 --- a/lib/routes/zotero/versions.ts +++ b/lib/routes/zotero/versions.ts @@ -15,9 +15,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['zotero.org/', 'zotero.org/support/changelog'], - }, + radar: [ + { + source: ['zotero.org/', 'zotero.org/support/changelog'], + }, + ], name: 'Version History', maintainers: ['jasongzy'], handler, diff --git a/lib/routes/zrblog/rss.ts b/lib/routes/zrblog/rss.ts index 676752380..a5d497fa1 100644 --- a/lib/routes/zrblog/rss.ts +++ b/lib/routes/zrblog/rss.ts @@ -5,10 +5,12 @@ import { load } from 'cheerio'; export const route: Route = { path: '/', - radar: { - source: ['zrblog.net/'], - target: '', - }, + radar: [ + { + source: ['zrblog.net/'], + target: '', + }, + ], name: 'Unknown', maintainers: ['cnkmmk'], handler, diff --git a/lib/routes/zuel/notice.ts b/lib/routes/zuel/notice.ts index 037a8bf66..4bd5854b5 100644 --- a/lib/routes/zuel/notice.ts +++ b/lib/routes/zuel/notice.ts @@ -17,9 +17,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['wap.zuel.edu.cn/', 'wap.zuel.edu.cn/notice/list.htm'], - }, + radar: [ + { + source: ['wap.zuel.edu.cn/', 'wap.zuel.edu.cn/notice/list.htm'], + }, + ], name: '通知公告', maintainers: ['nczitzk'], handler, diff --git a/lib/types.ts b/lib/types.ts index c134d7ecf..44abb8e61 100644 --- a/lib/types.ts +++ b/lib/types.ts @@ -49,15 +49,34 @@ export type Data = { // namespace interface NamespaceItem { + /** + * The human-readable name of the namespace, should be the same as the secondary domain of the main website, + * which will be used as the level 2 heading in the documentation + */ name: string; + + /** + * The website URL without protocol that corresponds + */ url?: string; + + /** + * The classification of the namespace, which will be written into the corresponding classification document + */ categories?: string[]; + + /** + * Hints and additional explanations for users using this namespace, it will be inserted into the documentation + */ description?: string; } interface Namespace extends NamespaceItem { + /** Documentation in languages other than English, it will be used to generate multilingual documents */ ja?: NamespaceItem; + /** Documentation in languages other than English, it will be used to generate multilingual documents */ zh?: NamespaceItem; + /** Documentation in languages other than English, it will be used to generate multilingual documents */ 'zh-TW'?: NamespaceItem; } @@ -65,35 +84,91 @@ export type { Namespace }; // route interface RouteItem { + /** + * The route path, using [Hono routing](https://hono.dev/api/routing) syntax + */ path: string | string[]; + + /** + * The human-readable name of the route, which will be used as the level 3 heading in the documentation + * and radar rule title (can be overridden by `RadarRule[].title`) + */ name: string; + + /** + * The website URL without protocol that corresponds + */ url?: string; + + /** + * The GitHub handle of the people responsible for maintaining this route + */ maintainers: string[]; - handler: (ctx: Context) => Promise | Data; + + /** + * The handler function of the route + */ + handler: (ctx?: Context) => Promise | Data; + + /** + * An example URL of the route + */ example: string; + + /** + * The description of the route parameters + */ parameters?: Record; + + /** + * Hints and additional explanations for users using this route, it will be appended after the route component, supports markdown + */ description?: string; + + /** + * The classification of the route, which will be written into the corresponding classification documentation + */ categories?: string[]; - features: { + /** + * Special features of the route, such as what configuration items it depends on, whether it is strict anti-crawl, whether it supports a certain function and so on + */ + features?: { + /** The extra configuration items required by the route */ requireConfig?: | { + /** The environment variable name */ name: string; + /** Whether the environment variable is optional */ optional?: boolean; + /** The description of the environment variable */ description: string; }[] | false; + + /** set to `true` if the feed uses puppeteer */ requirePuppeteer?: boolean; + + /** set to `true` if the target website has an anti-crawler mechanism */ antiCrawler?: boolean; + + /** set to `true` if the feed has a radar rule */ supportRadar?: boolean; + + /** Set to `true` if the feed supports BitTorrent */ supportBT?: boolean; + + /** Set to `true` if the feed supports podcasts */ supportPodcast?: boolean; + + /** Set to `true` if the feed supports Sci-Hub */ supportScihub?: boolean; }; - radar?: { - source: string[]; - target?: string; - }; + + /** + * The [RSSHub-Radar](https://github.com/DIYgod/RSSHub-Radar) rule of the route + */ + radar?: RadarItem[]; } interface Route extends RouteItem { @@ -105,17 +180,40 @@ interface Route extends RouteItem { export type { Route }; // radar -export type Radar = { - [domain: string]: - | { - [subdomain: string]: { - title: string; - docs: string; - source: string[]; - target: string | ((params: any, url: string) => string); - }[]; - } - | { - _name: string; - }; +export type RadarItem = { + /** + * The overwriting title of the radar rule + */ + title?: string; + + /** + * The URL path to the corresponding documentation + */ + docs?: string; + + /** + * The source URL path of the radar rule + * @see https://docs.rsshub.app/joinus/new-radar#source + */ + source: string[]; + + /** + * The target RSSHub subscription URL path of the radar rule + * + * Will use RouteItem.path if not specified + * @see https://docs.rsshub.app/joinus/new-radar#target + * + * Using `target` as a function is deprecated in RSSHub-Radar 2.0.19 + * @see https://github.com/DIYgod/RSSHub-Radar/commit/5a97647f900bb2bca792787a322b2b1ca512e40b#diff-f84e3c1e16af314bc4ed7c706d7189844663cde9b5142463dc5c0db34c2e8d54L10 + */ + target?: + | string + | (( + /** The parameters matched from the `source` field */ + params: any, + /** The current webpage URL string */ + url?: string, + /** @deprecated Temporary removed @see https://github.com/DIYgod/RSSHub-Radar/commit/e6079ea1a8c96e89b1b2c2aa6d13c7967788ca3b */ + document?: Document + ) => string); }; diff --git a/scripts/workflow/build-routes.ts b/scripts/workflow/build-routes.ts index 0a69604bd..8fc152d4e 100644 --- a/scripts/workflow/build-routes.ts +++ b/scripts/workflow/build-routes.ts @@ -1,45 +1,55 @@ import { namespaces } from '../../lib/registry'; -import { Radar } from '../../lib/types'; +import { RadarItem } from '../../lib/types'; import { parse } from 'tldts'; import fs from 'node:fs'; import * as path from 'node:path'; import toSource from 'tosource'; const maintainers: Record = {}; -const radar: Radar = {}; +const radar: { + [domain: string]: { + _name: string; + [subdomain: string]: RadarItem[] | string; + }; +} = {}; const docs = {}; for (const namespace in namespaces) { for (const path in namespaces[namespace].routes) { const realPath = `/${namespace}${path}`; const data = namespaces[namespace].routes[path]; + // maintainers if (data.maintainers) { maintainers[realPath] = data.maintainers; } - if (data.radar && data.radar.source) { - const parsedDomain = parse(new URL('https://' + data.radar.source[0]).hostname); - const subdomain = parsedDomain.subdomain || '.'; - const domain = parsedDomain.domain; - if (domain) { - if (!radar[domain]) { - radar[domain] = { - _name: namespaces[namespace].name, - }; + // radar + if (data.radar?.length) { + for (const radarItem of data.radar) { + const parsedDomain = parse(new URL('https://' + radarItem.source[0]).hostname); + const subdomain = parsedDomain.subdomain || '.'; + const domain = parsedDomain.domain; + if (domain) { + if (!radar[domain]) { + radar[domain] = { + _name: namespaces[namespace].name, + }; + } + if (!radar[domain][subdomain]) { + radar[domain][subdomain] = []; + } + radar[domain][subdomain].push({ + title: radarItem.title || data.name, + docs: `https://docs.rsshub.app/routes/${data.categories?.[0] || 'other'}`, + source: radarItem.source.map((source) => { + const sourceURL = new URL('https://' + source); + return sourceURL.pathname + sourceURL.search + sourceURL.hash; + }), + target: radarItem.target ? `/${namespace}${radarItem.target}` : realPath, + }); } - if (!radar[domain][subdomain]) { - radar[domain][subdomain] = []; - } - radar[domain][subdomain].push({ - title: data.name, - docs: `https://docs.rsshub.app/routes/${data.categories?.[0] || 'other'}`, - source: data.radar.source.map((source) => { - const sourceURL = new URL('https://' + source); - return sourceURL.pathname + sourceURL.search + sourceURL.hash; - }), - target: data.radar.target || realPath, - }); } } + // docs.json const categories = data.categories || namespaces[namespace].categories || ['other']; for (const category of categories) { if (!docs[category]) { diff --git a/website/docs/joinus/new-radar.md b/website/docs/joinus/new-radar.md index 3450e668b..aa82ef3ac 100644 --- a/website/docs/joinus/new-radar.md +++ b/website/docs/joinus/new-radar.md @@ -6,7 +6,7 @@ sidebar_position: 3 :::warning -The following document is the old version standard, please refer [/lib/types.ts#L84](https://github.com/DIYgod/RSSHub/blob/master/lib/types.ts#L84) to the new version standard +The following document is the old version standard, please refer [/lib/types.ts#L183](https://github.com/DIYgod/RSSHub/blob/master/lib/types.ts#L183) to the new version standard ::: diff --git a/website/docs/joinus/new-rss/start-code.md b/website/docs/joinus/new-rss/start-code.md index 93b7eac4c..1333b82b3 100644 --- a/website/docs/joinus/new-rss/start-code.md +++ b/website/docs/joinus/new-rss/start-code.md @@ -16,7 +16,7 @@ When creating a namespace, avoid creating multiple variations for the same names Once you have created a namespace for the RSS route, the next step is to create the file `namespace.ts` to define the namespace. -The file should return an object that conforms to the Namespace type through a namespace. The definition of Namespace is at [/lib/types.ts](https://github.com/DIYgod/RSSHub/blob/master/lib/types.ts#L49) +The file should return an object that conforms to the Namespace type through a namespace. The definition of Namespace is at [/lib/types.ts](https://github.com/DIYgod/RSSHub/blob/master/lib/types.ts#L51) - name: The human-readable name of the namespace, which will be used as the title of the document - url: The website URL without protocol that corresponds @@ -52,7 +52,7 @@ GitHub provides some official RSS feeds: Once you have created a namespace for the route, the next step is to create a route file to register the route. -For example, if you are making an RSS feed for [GitHub Repo Issues]((/routes/programming#github-yong-hu-cang-ku)), and assume that you want users to enter the GitHub username and repo name, if they do not enter the repo name, they will return to RSSHub. You can register your new RSS route in /lib/routes/github/issue.ts, the file needs to return an object that conforms to the Route type through route. The definition of Route is at [/lib/types.ts](https://github.com/DIYgod/RSSHub/blob/master/lib/types.ts#L64) +For example, if you are making an RSS feed for [GitHub Repo Issues]((/routes/programming#github-yong-hu-cang-ku)), and assume that you want users to enter the GitHub username and repo name, if they do not enter the repo name, they will return to RSSHub. You can register your new RSS route in /lib/routes/github/issue.ts, the file needs to return an object that conforms to the Route type through route. The definition of Route is at [/lib/types.ts](https://github.com/DIYgod/RSSHub/blob/master/lib/types.ts#L86) - path: The route path, using [Hono routing](https://hono.dev/api/routing) syntax - name: The human-readable name of the route, which will be used as the title of the document @@ -102,7 +102,7 @@ The handler function will be passed a parameter ctx. By the end of the function, You can see the APIs available for ctx to use in the [Hono context documentation]((https://hono.dev/api/context)) -The type of the return value is defined here: [/lib/types.ts#L36](https://github.com/DIYgod/RSSHub/blob/master/lib/types.ts#L36) +The type of the return value is defined here: [/lib/types.ts#L37](https://github.com/DIYgod/RSSHub/blob/master/lib/types.ts#L37) As mentioned earlier, we will create an RSS feed for [GitHub Repo Issues](/routes/programming#github-repo-issues) as an example. We will show all four data collection methods mentioned: diff --git a/website/i18n/zh/docusaurus-plugin-content-docs/current/joinus/new-radar.md b/website/i18n/zh/docusaurus-plugin-content-docs/current/joinus/new-radar.md index b3347c10e..4e232dc15 100644 --- a/website/i18n/zh/docusaurus-plugin-content-docs/current/joinus/new-radar.md +++ b/website/i18n/zh/docusaurus-plugin-content-docs/current/joinus/new-radar.md @@ -6,7 +6,7 @@ sidebar_position: 3 :::warning -以下文档为旧版标准,新版标准请使用参考 [/lib/types.ts#L84](https://github.com/DIYgod/RSSHub/blob/master/lib/types.ts#L84) +以下文档为旧版标准,新版标准请使用参考 [/lib/types.ts#L183](https://github.com/DIYgod/RSSHub/blob/master/lib/types.ts#L183) ::: diff --git a/website/i18n/zh/docusaurus-plugin-content-docs/current/joinus/new-rss/start-code.md b/website/i18n/zh/docusaurus-plugin-content-docs/current/joinus/new-rss/start-code.md index c21167c17..c935847a9 100644 --- a/website/i18n/zh/docusaurus-plugin-content-docs/current/joinus/new-rss/start-code.md +++ b/website/i18n/zh/docusaurus-plugin-content-docs/current/joinus/new-rss/start-code.md @@ -16,7 +16,7 @@ sidebar_position: 3 一旦您为 RSS 路由创建了命名空间,下一步就是创建文件 `namespace.ts` 来定义命名空间。 -文件应该通过 namespace 返回一个符合 Namespace 类型的对象。Namespace 的定义在 [/lib/types.ts](https://github.com/DIYgod/RSSHub/blob/master/lib/types.ts#L49) +文件应该通过 namespace 返回一个符合 Namespace 类型的对象。Namespace 的定义在 [/lib/types.ts](https://github.com/DIYgod/RSSHub/blob/master/lib/types.ts#L51) - name:供人类阅读的命名空间的名称,它会被用作文档的标题 - url:对应网站的不包含 protocol 的网址 @@ -52,7 +52,7 @@ GitHub provides some official RSS feeds: 一旦您为路由创建了命名空间,下一步创建一个路由文件注册路由。 -例如,如果您为 [GitHub 仓库 Issues](/zh/routes/programming#github-yong-hu-cang-ku) 制作 RSS 源,并且假设您希望用户输入 GitHub 用户名和仓库名,如果他们没有输入仓库名,则返回到 `RSSHub`,您可以在 `/lib/routes/github/issue.ts` 中注册您的新 RSS 路由,文件需要通过 route 返回一个符合 Route 类型的对象。Route 的定义在 [/lib/types.ts](https://github.com/DIYgod/RSSHub/blob/master/lib/types.ts#L64) +例如,如果您为 [GitHub 仓库 Issues](/zh/routes/programming#github-yong-hu-cang-ku) 制作 RSS 源,并且假设您希望用户输入 GitHub 用户名和仓库名,如果他们没有输入仓库名,则返回到 `RSSHub`,您可以在 `/lib/routes/github/issue.ts` 中注册您的新 RSS 路由,文件需要通过 route 返回一个符合 Route 类型的对象。Route 的定义在 [/lib/types.ts](https://github.com/DIYgod/RSSHub/blob/master/lib/types.ts#L86) - path: 路由路径,使用 [Hono 路由](https://hono.dev/api/routing) 语法 - name: 供人类阅读的路由名称,它会被用作文档的标题 @@ -102,7 +102,7 @@ export const route: Route = { ctx 可以使用的 API 可以在 [Hono context 文档](https://hono.dev/api/context)中查看 -返回值的类型在这里定义:[/lib/types.ts#L36](https://github.com/DIYgod/RSSHub/blob/master/lib/types.ts#L36) +返回值的类型在这里定义:[/lib/types.ts#L37](https://github.com/DIYgod/RSSHub/blob/master/lib/types.ts#L37) 如前所述,我们以 [GitHub 仓库 Issues](/zh/routes/programming#github-yong-hu-cang-ku) 为例制作 RSS 源。我们将展示前面提到的四种数据获取方法: diff --git a/website/src/components/Route.tsx b/website/src/components/Route.tsx index cdd201280..dbcc53ff9 100644 --- a/website/src/components/Route.tsx +++ b/website/src/components/Route.tsx @@ -64,7 +64,7 @@ export default function Route({

)}

- {data.path} + /{namespace + data.path}

{paramMatch && (