From d585a87daf4ee00ae8cb680c66a320bfba31867b Mon Sep 17 00:00:00 2001 From: Tony Date: Sat, 16 Mar 2024 03:28:44 +0800 Subject: [PATCH] fix: allow multiple radar rules per route (#14800) * fix: allow multiple radar rules per route * fix: github folder * feat: add namespace to radar target * docs: fix types url --- lib/api/radar/rules/all.ts | 53 ++++--- lib/api/radar/rules/one.ts | 53 ++++--- lib/routes/12306/zxdt.ts | 10 +- lib/routes/163/ds.ts | 8 +- lib/routes/163/exclusive.ts | 8 +- lib/routes/163/open/vip.ts | 8 +- lib/routes/163/renjian.ts | 8 +- lib/routes/163/today.ts | 10 +- lib/routes/18comic/album.ts | 8 +- lib/routes/18comic/blogs.ts | 8 +- lib/routes/18comic/index.ts | 8 +- lib/routes/18comic/search.ts | 10 +- lib/routes/1lou/index.ts | 10 +- lib/routes/1point3acres/blog.ts | 8 +- lib/routes/1point3acres/category.ts | 8 +- lib/routes/1point3acres/offer.ts | 10 +- lib/routes/1point3acres/section.ts | 8 +- lib/routes/1point3acres/user/post.ts | 8 +- lib/routes/1point3acres/user/thread.ts | 8 +- lib/routes/36kr/hot-list.ts | 10 +- lib/routes/3dmgame/game.ts | 8 +- lib/routes/3dmgame/news-center.ts | 8 +- lib/routes/4gamers/category.ts | 11 +- lib/routes/4gamers/tag.ts | 8 +- lib/routes/4gamers/topic.ts | 8 +- lib/routes/500px/user.ts | 8 +- lib/routes/50forum/zhuanjia.ts | 10 +- lib/routes/52hrtt/symposium.ts | 10 +- lib/routes/5eplay/index.ts | 8 +- lib/routes/6park/index.ts | 10 +- lib/routes/6park/news.ts | 10 +- lib/routes/6v123/latest-movies.ts | 8 +- lib/routes/6v123/latest-tvseries.ts | 8 +- lib/routes/8kcos/cat.ts | 10 +- lib/routes/8kcos/latest.ts | 10 +- lib/routes/8kcos/tag.ts | 8 +- lib/routes/91porn/author.ts | 10 +- lib/routes/91porn/index.ts | 10 +- lib/routes/95mm/category.ts | 8 +- lib/routes/95mm/tab.ts | 8 +- lib/routes/95mm/tag.ts | 8 +- lib/routes/a9vg/a9vg.ts | 10 +- lib/routes/aamacau/index.ts | 8 +- lib/routes/abc/index.ts | 10 +- lib/routes/abmedia/category.ts | 10 +- lib/routes/abmedia/index.ts | 8 +- lib/routes/abskoop/index.ts | 10 +- lib/routes/abskoop/nsfw.ts | 10 +- lib/routes/acfun/video.ts | 10 +- lib/routes/acg17/post.ts | 8 +- lib/routes/acs/journal.ts | 8 +- lib/routes/aeaweb/index.ts | 8 +- lib/routes/aeon/category.ts | 8 +- lib/routes/aeon/type.ts | 8 +- lib/routes/agefans/detail.ts | 8 +- lib/routes/agefans/update.ts | 8 +- lib/routes/agirls/index.ts | 10 +- lib/routes/agirls/topic-list.ts | 8 +- lib/routes/agirls/topic.ts | 8 +- lib/routes/agora0/index.ts | 10 +- lib/routes/agora0/pen0.ts | 8 +- lib/routes/ahjzu/news.ts | 8 +- lib/routes/ainvest/article.ts | 8 +- lib/routes/ainvest/news.ts | 8 +- lib/routes/aip/journal.ts | 8 +- lib/routes/airchina/index.ts | 8 +- lib/routes/aliresearch/information.ts | 10 +- lib/routes/alistapart/index.ts | 10 +- lib/routes/alistapart/topic.ts | 8 +- lib/routes/aliyun/database-month.ts | 8 +- lib/routes/aliyun/developer/group.ts | 8 +- lib/routes/ally/rail.ts | 8 +- lib/routes/alternativeto/platform.ts | 10 +- lib/routes/alternativeto/software.ts | 10 +- lib/routes/android/platform-tools-releases.ts | 8 +- lib/routes/annualreviews/index.ts | 8 +- lib/routes/apnews/topics.ts | 10 +- lib/routes/app-center/release.ts | 8 +- lib/routes/apple/apps.ts | 10 +- lib/routes/apple/exchange-repair.ts | 10 +- lib/routes/appleinsider/index.ts | 10 +- lib/routes/appstore/price.ts | 8 +- lib/routes/appstore/xianmian.ts | 8 +- lib/routes/arcteryx/new-arrivals.ts | 8 +- lib/routes/arcteryx/outlet.ts | 8 +- lib/routes/arcteryx/regear-new-arrivals.ts | 8 +- lib/routes/arknights/japan.ts | 8 +- lib/routes/arknights/news.ts | 8 +- lib/routes/artstation/user.ts | 8 +- lib/routes/asiantolick/index.ts | 10 +- lib/routes/asus/bios.ts | 8 +- lib/routes/asus/gpu-tweak.ts | 8 +- lib/routes/baai/comments.ts | 8 +- lib/routes/baai/events.ts | 8 +- lib/routes/backlinko/blog.ts | 8 +- lib/routes/baidu/gushitong/index.ts | 8 +- lib/routes/baidu/tieba/post.ts | 8 +- lib/routes/bandcamp/live.ts | 8 +- lib/routes/bandcamp/tag.ts | 10 +- lib/routes/bandcamp/weekly.ts | 8 +- lib/routes/bangumi/moe/index.ts | 10 +- lib/routes/bangumi/online/online.ts | 8 +- lib/routes/bangumi/tv/calendar/today.ts | 8 +- lib/routes/bangumi/tv/group/reply.ts | 8 +- lib/routes/bangumi/tv/group/topic.ts | 8 +- lib/routes/bangumi/tv/other/followrank.ts | 8 +- lib/routes/bangumi/tv/person/index.ts | 8 +- lib/routes/bangumi/tv/subject/index.ts | 10 +- lib/routes/bangumi/tv/user/blog.ts | 8 +- lib/routes/bangumi/tv/user/wish.ts | 8 +- lib/routes/baozimh/index.ts | 8 +- lib/routes/barronschina/index.ts | 10 +- lib/routes/bbcnewslabs/news.ts | 8 +- lib/routes/bellroy/new-releases.ts | 8 +- lib/routes/bendibao/news.ts | 8 +- lib/routes/bigquant/collections.ts | 8 +- lib/routes/bilibili/article.ts | 8 +- lib/routes/bilibili/coin.ts | 10 +- lib/routes/bilibili/dynamic.ts | 10 +- lib/routes/bilibili/followers.ts | 10 +- lib/routes/bilibili/followings.ts | 10 +- lib/routes/bilibili/hot-search.ts | 8 +- lib/routes/bilibili/like.ts | 10 +- lib/routes/bilibili/live-room.ts | 8 +- lib/routes/bilibili/manga-update.ts | 8 +- lib/routes/bilibili/platform.ts | 8 +- lib/routes/bilibili/user-bangumi.ts | 10 +- lib/routes/bilibili/user-fav.ts | 10 +- lib/routes/bilibili/video.ts | 10 +- lib/routes/bing/daily-wallpaper.ts | 10 +- lib/routes/bing/search.ts | 10 +- lib/routes/biodiscover/index.ts | 10 +- lib/routes/bioone/featured.ts | 8 +- lib/routes/bioone/journal.ts | 10 +- lib/routes/bit/cs/cs.ts | 8 +- lib/routes/bit/jwc/jwc.ts | 8 +- lib/routes/bit/rszhaopin.ts | 8 +- lib/routes/bit/yjs.ts | 8 +- lib/routes/bitbucket/commits.ts | 8 +- lib/routes/bitmovin/blog.ts | 8 +- lib/routes/bjfu/grs.ts | 8 +- lib/routes/bjfu/it/index.ts | 8 +- lib/routes/bjfu/jwc/index.ts | 8 +- lib/routes/bjfu/kjc.ts | 8 +- lib/routes/bjfu/news/index.ts | 8 +- lib/routes/bjp/apod.ts | 8 +- lib/routes/bjsk/keti.ts | 10 +- lib/routes/bjx/huanbao.ts | 8 +- lib/routes/bloomberg/authors.ts | 10 +- lib/routes/bluestacks/release.ts | 8 +- lib/routes/bmkg/earthquake.ts | 8 +- lib/routes/bmkg/news.ts | 8 +- lib/routes/bnu/bs.ts | 10 +- lib/routes/bnu/dwxgb.ts | 8 +- lib/routes/bnu/lib.ts | 10 +- lib/routes/boc/whpj.ts | 10 +- lib/routes/brave/latest.ts | 8 +- lib/routes/bse/index.ts | 8 +- lib/routes/bsky/posts.ts | 8 +- lib/routes/btzj/index.ts | 8 +- lib/routes/bulianglin/bulianglin.ts | 10 +- lib/routes/bupt/rczp.ts | 8 +- lib/routes/byteclicks/index.ts | 10 +- lib/routes/byteclicks/tag.ts | 8 +- lib/routes/bytes/bytes.ts | 10 +- lib/routes/c114/roll.ts | 8 +- lib/routes/caareviews/book.ts | 8 +- lib/routes/caareviews/essay.ts | 8 +- lib/routes/caareviews/exhibition.ts | 8 +- lib/routes/cahkms/index.ts | 8 +- lib/routes/caijing/roll.ts | 8 +- lib/routes/caixin/article.ts | 8 +- lib/routes/caixin/database.ts | 8 +- lib/routes/caixin/latest.ts | 8 +- lib/routes/caixin/weekly.ts | 8 +- lib/routes/caixinglobal/latest.ts | 8 +- lib/routes/camchina/index.ts | 8 +- lib/routes/cartoonmad/comic.ts | 8 +- lib/routes/cas/cg/index.ts | 8 +- lib/routes/cas/ia/yjs.ts | 8 +- lib/routes/cas/iee/kydt.ts | 8 +- lib/routes/cas/mesalab/kb.ts | 8 +- lib/routes/cas/sim/kyjz.ts | 8 +- lib/routes/cast/index.ts | 10 +- lib/routes/cau/ele.ts | 8 +- lib/routes/cau/yjs.ts | 8 +- lib/routes/cbc/topics.ts | 10 +- lib/routes/cbirc/index.ts | 8 +- lib/routes/cbnweek/index.ts | 10 +- lib/routes/ccf/news.ts | 10 +- lib/routes/ccf/tfbd/index.ts | 8 +- lib/routes/ccnu/career.ts | 8 +- lib/routes/ccnu/cs.ts | 8 +- lib/routes/ccnu/wu.ts | 8 +- lib/routes/ccnu/yjs.ts | 8 +- lib/routes/ccreports/index.ts | 8 +- lib/routes/cctv/category.ts | 8 +- lib/routes/cctv/jx.ts | 8 +- lib/routes/cctv/lm.ts | 10 +- lib/routes/cctv/xwlb.ts | 8 +- lib/routes/cdzjryb/project-list.ts | 8 +- lib/routes/cebbank/all.ts | 8 +- lib/routes/cfachina/analygarden.ts | 8 +- lib/routes/cgtn/podcast.ts | 8 +- lib/routes/chaincatcher/home.ts | 10 +- lib/routes/chaincatcher/news.ts | 8 +- lib/routes/changba/user.ts | 8 +- lib/routes/chaping/banner.ts | 8 +- lib/routes/chaping/newsflash.ts | 8 +- lib/routes/china/finance/finance.ts | 8 +- lib/routes/china/news/highlights/news.ts | 8 +- lib/routes/china/news/military/news.ts | 8 +- lib/routes/chinafactcheck/index.ts | 10 +- lib/routes/chinanews/index.ts | 10 +- lib/routes/chinaventure/index.ts | 10 +- lib/routes/chsi/hotnews.ts | 8 +- lib/routes/chsi/kydt.ts | 8 +- lib/routes/chsi/kyzx.ts | 8 +- lib/routes/chuanliu/nice.ts | 8 +- lib/routes/cib/whpj.ts | 10 +- lib/routes/civitai/discussions.ts | 8 +- lib/routes/civitai/models.ts | 8 +- lib/routes/ciweimao/chapter.ts | 8 +- lib/routes/cls/hot.ts | 8 +- lib/routes/cls/telegraph.ts | 10 +- lib/routes/cmpxchg8b/articles.ts | 8 +- lib/routes/cn-healthcare/index.ts | 8 +- lib/routes/cnbc/rss.ts | 10 +- lib/routes/cnbeta/type.ts | 10 +- lib/routes/cnblogs/common.ts | 8 +- lib/routes/cncf/reports.ts | 8 +- lib/routes/cneb/yjxw.ts | 8 +- lib/routes/cneb/yjxx.ts | 10 +- lib/routes/cngal/entry.ts | 8 +- lib/routes/cngal/weekly.ts | 8 +- lib/routes/cnki/debut.ts | 8 +- lib/routes/cnki/journals.ts | 8 +- lib/routes/cntv/column.ts | 8 +- lib/routes/codeforces/contests.ts | 8 +- lib/routes/codeforces/recent-actions.ts | 10 +- lib/routes/coindesk/index.ts | 8 +- lib/routes/comicskingdom/index.ts | 8 +- lib/routes/consumer/index.ts | 8 +- lib/routes/cool18/index.ts | 8 +- lib/routes/coomer/artist.ts | 8 +- lib/routes/coomer/posts.ts | 8 +- lib/routes/cpuid/news.ts | 8 +- lib/routes/cqgas/tqtz.ts | 8 +- lib/routes/creative-comic/book.ts | 10 +- lib/routes/crossbell/notes/character.ts | 10 +- lib/routes/crossbell/notes/index.ts | 8 +- lib/routes/crossbell/notes/source.ts | 10 +- lib/routes/csdn/blog.ts | 8 +- lib/routes/csu/career.ts | 8 +- lib/routes/cts/news.ts | 8 +- lib/routes/cuc/yz.ts | 8 +- lib/routes/curiouscat/user.ts | 8 +- lib/routes/curius/links.ts | 8 +- lib/routes/cw/author.ts | 8 +- lib/routes/cw/today.ts | 8 +- lib/routes/cyzone/author.ts | 8 +- lib/routes/cyzone/index.ts | 10 +- lib/routes/cyzone/label.ts | 8 +- lib/routes/cztv/daily.ts | 8 +- lib/routes/cztv/zjxwlb.ts | 8 +- lib/routes/daily/discussed.ts | 10 +- lib/routes/daily/index.ts | 10 +- lib/routes/daily/upvoted.ts | 10 +- lib/routes/darwinawards/index.ts | 10 +- lib/routes/dayanzai/index.ts | 10 +- lib/routes/dblp/publication.ts | 8 +- lib/routes/dcfever/reviews.ts | 10 +- lib/routes/ddosi/category.ts | 10 +- lib/routes/ddosi/index.ts | 10 +- lib/routes/deadline/posts.ts | 10 +- lib/routes/dedao/knowledge.ts | 8 +- lib/routes/dedao/list.ts | 8 +- lib/routes/deeplearning/thebatch.ts | 8 +- lib/routes/deepmind/blog.ts | 8 +- lib/routes/deltaio/blog.ts | 8 +- lib/routes/devolverdigital/blog.ts | 8 +- lib/routes/dhu/news/xsxx.ts | 8 +- lib/routes/diandong/news.ts | 10 +- lib/routes/diershoubing/news.ts | 8 +- lib/routes/discord/channel.ts | 8 +- lib/routes/disinfo/publications.ts | 8 +- lib/routes/diskanalyzer/whats-new.ts | 8 +- lib/routes/distill/index.ts | 10 +- lib/routes/dlnews/category.ts | 10 +- lib/routes/dlsite/ci-en/article.ts | 8 +- lib/routes/dmzj/news.ts | 10 +- lib/routes/dnaindia/category.ts | 8 +- lib/routes/domp4/detail.ts | 8 +- lib/routes/domp4/latest.ts | 8 +- lib/routes/dongqiudi/daily.ts | 8 +- lib/routes/dongqiudi/special.ts | 8 +- lib/routes/dongqiudi/top-news.ts | 10 +- lib/routes/dorohedoro/news.ts | 8 +- lib/routes/douban/other/discussion.ts | 8 +- lib/routes/douban/other/group.ts | 10 +- lib/routes/douban/other/list.ts | 10 +- lib/routes/douyin/hashtag.ts | 10 +- lib/routes/douyin/live.ts | 8 +- lib/routes/douyin/user.ts | 10 +- lib/routes/douyu/group.ts | 10 +- lib/routes/douyu/post.ts | 8 +- lib/routes/douyu/room.ts | 8 +- lib/routes/dribbble/popular.ts | 10 +- lib/routes/dribbble/user.ts | 8 +- lib/routes/dtcj/datainsight.ts | 10 +- lib/routes/duozhuayu/search.ts | 8 +- lib/routes/dushu/fuzhou/index.ts | 8 +- lib/routes/dxy/profile/thread.ts | 8 +- lib/routes/eagle/blog.ts | 10 +- lib/routes/earthquake/ceic.ts | 10 +- lib/routes/earthquake/index.ts | 10 +- lib/routes/eastday/24.ts | 10 +- lib/routes/eastday/portrait.ts | 8 +- lib/routes/eastday/sh.ts | 8 +- lib/routes/eastmoney/report/index.ts | 8 +- lib/routes/ecnu/contest.ts | 10 +- lib/routes/ecnu/yjs.ts | 8 +- lib/routes/economist/espresso.ts | 8 +- lib/routes/economist/full.ts | 8 +- .../economist/global-business-review.ts | 10 +- lib/routes/ecust/e/news.ts | 8 +- lib/routes/ecust/gschool/yjs.ts | 8 +- lib/routes/egsea/flash.ts | 8 +- lib/routes/ekantipur/issue.ts | 10 +- lib/routes/elasticsearch-cn/index.ts | 10 +- lib/routes/eleduck/jobs.ts | 8 +- lib/routes/elsevier/issue.ts | 10 +- lib/routes/elsevier/journal.ts | 10 +- lib/routes/epicgames/index.ts | 10 +- lib/routes/eventernote/actors.ts | 8 +- lib/routes/f-droid/apprelease.ts | 8 +- lib/routes/fansly/post.ts | 8 +- lib/routes/fansly/tag.ts | 8 +- lib/routes/fantia/user.ts | 8 +- lib/routes/farmatters/index.ts | 10 +- lib/routes/fastbull/express-news.ts | 8 +- lib/routes/fastbull/news.ts | 8 +- lib/routes/fda/cdrh.ts | 10 +- lib/routes/feng/forum.ts | 10 +- lib/routes/ff14/ff14-zh.ts | 10 +- lib/routes/fffdm/manhua/manhua.ts | 10 +- lib/routes/finology/bullets.ts | 8 +- lib/routes/finology/most-viewed.ts | 10 +- lib/routes/finology/tag.ts | 8 +- lib/routes/finviz/news.ts | 8 +- lib/routes/firefox/addons.ts | 8 +- lib/routes/firefox/breaches.ts | 8 +- lib/routes/fisher-spb/news.ts | 8 +- lib/routes/fishshell/index.ts | 10 +- lib/routes/fjksbm/index.ts | 8 +- lib/routes/flyert/creditcard.ts | 8 +- lib/routes/flyert/preferential.ts | 8 +- lib/routes/followin/kol.ts | 8 +- lib/routes/followin/news.ts | 8 +- lib/routes/followin/tag.ts | 8 +- lib/routes/followin/topic.ts | 8 +- lib/routes/foresightnews/article.ts | 8 +- lib/routes/foresightnews/column.ts | 8 +- lib/routes/foresightnews/index.ts | 10 +- lib/routes/foresightnews/news.ts | 8 +- lib/routes/foreverblog/feeds.ts | 8 +- lib/routes/fortunechina/index.ts | 8 +- lib/routes/free/rss.ts | 10 +- lib/routes/freebuf/index.ts | 8 +- lib/routes/freecomputerbooks/index.ts | 10 +- lib/routes/freewechat/profile.ts | 8 +- lib/routes/fuliba/latest.ts | 8 +- lib/routes/furstar/archive.ts | 10 +- lib/routes/furstar/artists.ts | 10 +- lib/routes/furstar/index.ts | 10 +- lib/routes/fx678/kx.ts | 8 +- lib/routes/gameapps/index.ts | 10 +- lib/routes/gamegene/news.ts | 8 +- lib/routes/gamer/ani/new-anime.ts | 10 +- lib/routes/gamersecret/index.ts | 8 +- lib/routes/gcores/category.ts | 8 +- lib/routes/gcores/collection.ts | 8 +- lib/routes/gcores/radio.ts | 10 +- lib/routes/gcores/tag.ts | 10 +- lib/routes/gdut/oa-news.ts | 10 +- lib/routes/gelonghui/hot-article.ts | 10 +- lib/routes/gelonghui/live.ts | 8 +- lib/routes/gelonghui/subject.ts | 8 +- lib/routes/gelonghui/user.ts | 8 +- lib/routes/geocaching/blogs.ts | 8 +- lib/routes/getdr/index.ts | 10 +- lib/routes/gettr/user.ts | 8 +- lib/routes/gf-cn/news.ts | 8 +- lib/routes/gihyo/group.ts | 8 +- lib/routes/gitee/repos/commits.ts | 8 +- lib/routes/gitee/repos/events.ts | 8 +- lib/routes/gitee/repos/releases.ts | 8 +- lib/routes/gitee/users/events.ts | 8 +- lib/routes/github/branches.ts | 8 +- lib/routes/github/comments.ts | 47 +++--- lib/routes/github/contributors.ts | 10 +- lib/routes/github/file.ts | 10 +- lib/routes/github/follower.ts | 8 +- lib/routes/github/gist.ts | 8 +- lib/routes/github/issue.ts | 18 +-- lib/routes/github/notifications.ts | 8 +- lib/routes/github/pulls.ts | 10 +- lib/routes/github/pulse.ts | 8 +- lib/routes/github/repos.ts | 8 +- lib/routes/github/star.ts | 8 +- lib/routes/github/starred-repos.ts | 8 +- lib/routes/github/topic.ts | 8 +- lib/routes/github/trending.ts | 10 +- lib/routes/github/wiki.ts | 10 +- lib/routes/gitpod/blog.ts | 8 +- lib/routes/gitpod/changelog.ts | 8 +- lib/routes/globallawreview/index.ts | 10 +- lib/routes/gocn/jobs.ts | 8 +- lib/routes/gocn/topics.ts | 8 +- lib/routes/gogoanimehd/recent-releases.ts | 8 +- lib/routes/google/extension.ts | 8 +- lib/routes/gov/beijing/bjedu/gh.ts | 10 +- lib/routes/gov/beijing/jw/tzgg.ts | 8 +- lib/routes/gov/caac/cjwt.ts | 10 +- lib/routes/gov/chinatax/latest.ts | 8 +- lib/routes/gov/chongqing/rsks.ts | 8 +- lib/routes/gov/chongqing/sydwgkzp.ts | 8 +- lib/routes/gov/cmse/fxrw.ts | 8 +- lib/routes/gov/customs/list.ts | 10 +- lib/routes/gov/guangdong/tqyb/sncsyjxh.ts | 8 +- lib/routes/gov/guangdong/tqyb/tfxtq.ts | 8 +- lib/routes/gov/hunan/changsha/major-email.ts | 8 +- .../healthcommission/medical-exam-notice.ts | 8 +- lib/routes/gov/mee/ywdt.ts | 10 +- lib/routes/gov/mem/sgcc.ts | 10 +- lib/routes/gov/miit/wjfb.ts | 8 +- lib/routes/gov/miit/yjzj.ts | 8 +- lib/routes/gov/moa/moa.ts | 10 +- lib/routes/gov/moe/s78.ts | 8 +- lib/routes/gov/moj/lfyjzj.ts | 8 +- lib/routes/gov/nea/ghs.ts | 8 +- lib/routes/gov/npc/index.ts | 8 +- lib/routes/gov/pbc/goutongjiaoliu.ts | 8 +- lib/routes/gov/pbc/gzlw.ts | 8 +- lib/routes/gov/pbc/zcyj.ts | 8 +- lib/routes/gov/samr/xgzlyhd.ts | 8 +- lib/routes/gov/shanghai/rsj/ksxm.ts | 8 +- lib/routes/gov/shanghai/wgj/wgj.ts | 10 +- lib/routes/gov/shanghai/wsjkw/yqtb/index.ts | 8 +- lib/routes/gov/shenzhen/hrss/szksy/index.ts | 8 +- lib/routes/gov/shenzhen/zjj/index.ts | 8 +- lib/routes/gov/shenzhen/zzb/index.ts | 8 +- lib/routes/gov/sichuan/deyang/mztoday.ts | 10 +- lib/routes/gov/suzhou/doc.ts | 8 +- lib/routes/gov/suzhou/news.ts | 8 +- lib/routes/gov/taiyuan/rsj.ts | 8 +- lib/routes/gov/wuhan/whyw.ts | 8 +- lib/routes/gov/zhejiang/gwy.ts | 10 +- lib/routes/gov/zhengce/govall.ts | 10 +- lib/routes/gov/zhengce/index.ts | 8 +- lib/routes/gov/zhengce/wenjian.ts | 10 +- lib/routes/greasyfork/feedback.ts | 8 +- lib/routes/greasyfork/scripts.ts | 8 +- lib/routes/greasyfork/versions.ts | 8 +- lib/routes/grist/featured.ts | 8 +- lib/routes/grist/index.ts | 8 +- lib/routes/grist/series.ts | 8 +- lib/routes/grist/topic.ts | 8 +- lib/routes/grubstreet/index.ts | 10 +- lib/routes/guancha/headline.ts | 8 +- lib/routes/guancha/index.ts | 8 +- lib/routes/guancha/member.ts | 10 +- lib/routes/guancha/topic.ts | 10 +- lib/routes/guangdiu/rank.ts | 8 +- lib/routes/guanhai/index.ts | 10 +- lib/routes/guduodata/daily.ts | 8 +- lib/routes/guokr/channel.ts | 8 +- lib/routes/guokr/scientific.ts | 8 +- lib/routes/gxmzu/ai.ts | 8 +- lib/routes/gxmzu/lib.ts | 8 +- lib/routes/gxmzu/yjs.ts | 8 +- lib/routes/gzhu/yjs.ts | 8 +- lib/routes/hackernews/index.ts | 8 +- lib/routes/hackertalk/index.ts | 10 +- lib/routes/hacking8/index.ts | 8 +- lib/routes/hacking8/search.ts | 10 +- lib/routes/hackyournews/index.ts | 10 +- lib/routes/hakkatv/type.ts | 10 +- lib/routes/hameln/chapter.ts | 8 +- lib/routes/harvard/health/blog.ts | 8 +- lib/routes/hashnode/blog.ts | 8 +- lib/routes/hbooker/chapter.ts | 8 +- lib/routes/hbr/topic.ts | 8 +- lib/routes/hdu/cs/notice.ts | 8 +- lib/routes/hdu/cs/pg.ts | 8 +- lib/routes/hebtv/nong-bo-shi-zai-xing-dong.ts | 8 +- lib/routes/hellobtc/news.ts | 8 +- lib/routes/hex-rays/index.ts | 8 +- lib/routes/hicairo/rss.ts | 10 +- lib/routes/hinatazaka46/news.ts | 8 +- lib/routes/hit/hitgs.ts | 8 +- lib/routes/hit/jwc.ts | 8 +- lib/routes/hit/today.ts | 8 +- lib/routes/hitwh/today.ts | 8 +- lib/routes/hizu/index.ts | 8 +- lib/routes/hk01/channel.ts | 8 +- lib/routes/hk01/hot.ts | 8 +- lib/routes/hk01/issue.ts | 8 +- lib/routes/hk01/latest.ts | 8 +- lib/routes/hk01/tag.ts | 8 +- lib/routes/hk01/zone.ts | 8 +- lib/routes/hkej/index.ts | 8 +- lib/routes/hkepc/index.ts | 10 +- lib/routes/hket/index.ts | 10 +- lib/routes/hkjunkcall/index.ts | 10 +- lib/routes/hnrb/index.ts | 10 +- lib/routes/hnu/careers.ts | 8 +- lib/routes/hongkong/chp.ts | 8 +- lib/routes/hongkong/dh.ts | 8 +- lib/routes/hotukdeals/hottest.ts | 8 +- lib/routes/houxu/events.ts | 8 +- lib/routes/houxu/index.ts | 10 +- lib/routes/houxu/lives.ts | 8 +- lib/routes/houxu/memory.ts | 8 +- lib/routes/howtoforge/rss.ts | 10 +- lib/routes/hpoi/all.ts | 10 +- lib/routes/hpoi/banner-item.ts | 8 +- lib/routes/hrbeu/job/bigemploy.ts | 8 +- lib/routes/hrbeu/job/calendar.ts | 8 +- lib/routes/hrbeu/uae/news.ts | 8 +- lib/routes/hrbeu/ugs/news.ts | 10 +- lib/routes/hrbeu/yjsy/list.ts | 8 +- lib/routes/huanqiu/index.ts | 8 +- lib/routes/huggingface/blog-zh.ts | 8 +- lib/routes/huggingface/daily-papers.ts | 8 +- lib/routes/hunanpea/rsks.ts | 8 +- lib/routes/hunau/gfxy/index.ts | 10 +- lib/routes/hunau/ied.ts | 10 +- lib/routes/hunau/jwc.ts | 10 +- lib/routes/hunau/xky/index.ts | 10 +- lib/routes/hupu/all.ts | 10 +- lib/routes/hupu/bbs.ts | 10 +- lib/routes/hupu/index.ts | 10 +- lib/routes/hust/aia/news.ts | 8 +- lib/routes/hust/yjs.ts | 8 +- lib/routes/huxiu/channel.ts | 8 +- lib/routes/huxiu/moment.ts | 8 +- lib/routes/huxiu/search.ts | 8 +- lib/routes/icac/news.ts | 10 +- lib/routes/icbc/whpj.ts | 10 +- lib/routes/idolypride/news.ts | 8 +- lib/routes/ieee-security/sp.ts | 8 +- lib/routes/ielts/index.ts | 10 +- lib/routes/iiilab/index.ts | 10 +- lib/routes/ikea/cn/family-offers.ts | 8 +- lib/routes/ikea/cn/low-price.ts | 8 +- lib/routes/ikea/cn/new.ts | 8 +- lib/routes/ikea/gb/new.ts | 8 +- lib/routes/ikea/gb/offer.ts | 8 +- lib/routes/imagemagick/changelog.ts | 8 +- lib/routes/imiker/jinghua.ts | 8 +- lib/routes/indiansinkuwait/latest.ts | 8 +- lib/routes/indienova/column.ts | 8 +- lib/routes/indienova/usergames.ts | 8 +- lib/routes/inewsweek/index.ts | 8 +- lib/routes/infoq/recommend.ts | 8 +- lib/routes/infoq/topic.ts | 8 +- lib/routes/instructables/projects.ts | 10 +- lib/routes/iqiyi/video.ts | 8 +- lib/routes/iqnew/latest.ts | 8 +- lib/routes/iresearch/report.ts | 8 +- lib/routes/itch/posts.ts | 8 +- lib/routes/ithome/tag.ts | 8 +- lib/routes/ithome/tw/feeds.ts | 8 +- lib/routes/ithome/zt.ts | 8 +- lib/routes/iwara/subscriptions.ts | 8 +- lib/routes/ixigua/user-video.ts | 10 +- lib/routes/javbus/index.ts | 10 +- lib/routes/javdb/actors.ts | 10 +- lib/routes/javdb/index.ts | 10 +- lib/routes/javdb/lists.ts | 10 +- lib/routes/javdb/makers.ts | 10 +- lib/routes/javdb/rankings.ts | 10 +- lib/routes/javdb/search.ts | 10 +- lib/routes/javdb/series.ts | 10 +- lib/routes/javdb/tags.ts | 10 +- lib/routes/jianshu/collection.ts | 8 +- lib/routes/jianshu/home.ts | 8 +- lib/routes/jianshu/user.ts | 8 +- lib/routes/jiaoliudao/index.ts | 10 +- lib/routes/jike/topic-text.ts | 8 +- lib/routes/jike/topic.ts | 10 +- lib/routes/jike/user.ts | 10 +- lib/routes/jin10/index.ts | 10 +- lib/routes/jin10/topic.ts | 8 +- lib/routes/jisilu/index.ts | 8 +- lib/routes/jou/home.ts | 8 +- lib/routes/jou/yz.ts | 8 +- lib/routes/jseea/news.ts | 10 +- lib/routes/juejin/books.ts | 8 +- lib/routes/juejin/collection.ts | 8 +- lib/routes/juejin/column.ts | 8 +- lib/routes/juejin/favorites.ts | 10 +- lib/routes/juejin/posts.ts | 8 +- lib/routes/juejin/tag.ts | 8 +- lib/routes/kbs/news.ts | 10 +- lib/routes/kbs/today.ts | 10 +- lib/routes/kcna/news.ts | 10 +- lib/routes/ke/results.ts | 8 +- lib/routes/keep/user.ts | 8 +- lib/routes/kemono/index.ts | 8 +- lib/routes/kepu/live.ts | 8 +- lib/routes/kimlaw/thesis.ts | 8 +- lib/routes/konghq/blog-posts.ts | 8 +- lib/routes/kuaidi100/supported-company.ts | 8 +- lib/routes/kunchengblog/essay.ts | 8 +- lib/routes/kuwaitlocal/index.ts | 10 +- lib/routes/laimanhua/index.ts | 8 +- lib/routes/lala/rss.ts | 10 +- lib/routes/lang/room.ts | 8 +- lib/routes/lanqiao/author.ts | 8 +- lib/routes/lanqiao/questions.ts | 8 +- lib/routes/laohu8/personal.ts | 8 +- lib/routes/layoffs/index.ts | 10 +- lib/routes/learnku/topic.ts | 10 +- lib/routes/leetcode/articles.ts | 8 +- lib/routes/leetcode/dailyquestion-cn.ts | 8 +- lib/routes/leetcode/dailyquestion-en.ts | 8 +- .../leetcode/dailyquestion-solution-cn.ts | 8 +- .../leetcode/dailyquestion-solution-en.ts | 8 +- lib/routes/leiphone/index.ts | 10 +- lib/routes/leiphone/newsflash.ts | 8 +- lib/routes/lfsyd/home.ts | 8 +- lib/routes/lfsyd/old-home.ts | 8 +- lib/routes/lfsyd/tag.ts | 10 +- lib/routes/lfsyd/user.ts | 10 +- lib/routes/lifeweek/channel.ts | 10 +- lib/routes/lifeweek/tag.ts | 10 +- lib/routes/lightnovel/light-novel.ts | 10 +- lib/routes/line/publisher.ts | 8 +- lib/routes/line/today.ts | 8 +- lib/routes/liquipedia/cs-matches.ts | 10 +- lib/routes/liquipedia/dota2-matches.ts | 8 +- lib/routes/literotica/category.ts | 8 +- lib/routes/literotica/new.ts | 8 +- lib/routes/liveuamap/index.ts | 10 +- lib/routes/lkong/forum.ts | 8 +- lib/routes/lkong/thread.ts | 8 +- lib/routes/logonews/index.ts | 8 +- lib/routes/lovelive-anime/news.ts | 10 +- lib/routes/lsnu/jiaowc/tzgg.ts | 10 +- lib/routes/luogu/contest.ts | 8 +- lib/routes/luogu/daily.ts | 10 +- lib/routes/luogu/user-blog.ts | 8 +- lib/routes/luogu/user-feed.ts | 8 +- lib/routes/luxiangdong/archive.ts | 8 +- lib/routes/lxixsxa/discography.ts | 8 +- lib/routes/lxixsxa/information.ts | 8 +- lib/routes/macfilos/blog.ts | 8 +- lib/routes/macupdate/app.ts | 8 +- lib/routes/mangadex/index.ts | 10 +- lib/routes/manhuagui/comic.ts | 10 +- lib/routes/manhuagui/subscribe.ts | 8 +- lib/routes/mdpi/journal.ts | 8 +- lib/routes/medieval-china/post.ts | 10 +- lib/routes/meteor/boards.ts | 8 +- lib/routes/microsoft/addon.ts | 8 +- lib/routes/mihoyo/bbs/img-ranking.ts | 10 +- lib/routes/mihoyo/bbs/timeline.ts | 8 +- lib/routes/mihoyo/sr/news.ts | 10 +- lib/routes/mihoyo/ys/news.ts | 10 +- lib/routes/minecraft/version.ts | 8 +- lib/routes/missav/new.ts | 8 +- lib/routes/modelscope/community.ts | 8 +- lib/routes/modelscope/datasets.ts | 8 +- lib/routes/modelscope/models.ts | 8 +- lib/routes/modelscope/studios.ts | 8 +- lib/routes/mohw/clarification.ts | 8 +- lib/routes/mox/index.ts | 8 +- lib/routes/mpaypass/news.ts | 8 +- lib/routes/mrdx/daily.ts | 8 +- lib/routes/mvm/index.ts | 8 +- lib/routes/mydrivers/rank.ts | 10 +- lib/routes/myfigurecollection/activity.ts | 10 +- lib/routes/myfigurecollection/index.ts | 8 +- lib/routes/mygopen/index.ts | 8 +- lib/routes/mymusicsheet/usersheets.ts | 10 +- lib/routes/nasa/apod-cn.ts | 8 +- lib/routes/nasa/apod-ncku.ts | 8 +- lib/routes/nasa/apod.ts | 8 +- lib/routes/natgeo/dailyphoto.ts | 8 +- lib/routes/natgeo/natgeo.ts | 10 +- .../nationalgeographic/latest-stories.ts | 8 +- lib/routes/nature/cover.ts | 8 +- lib/routes/nature/highlight.ts | 10 +- lib/routes/nature/news-and-comment.ts | 10 +- lib/routes/nature/news.ts | 8 +- lib/routes/nature/research.ts | 10 +- lib/routes/nautil/topics.ts | 8 +- lib/routes/nbd/daily.ts | 8 +- lib/routes/nbd/index.ts | 8 +- lib/routes/nber/index.ts | 8 +- lib/routes/ncu/jwc.ts | 8 +- lib/routes/ncwu/notice.ts | 8 +- lib/routes/ndss-symposium/ndss.ts | 8 +- lib/routes/neatdownloadmanager/download.ts | 8 +- lib/routes/neea/jlpt.ts | 8 +- lib/routes/netflav/index.ts | 10 +- lib/routes/neu/news.ts | 8 +- lib/routes/news/xhsxw.ts | 8 +- lib/routes/newsmarket/index.ts | 8 +- lib/routes/newzmz/index.ts | 10 +- lib/routes/nextapple/realtime.ts | 8 +- lib/routes/ngocn2/index.ts | 8 +- lib/routes/nhentai/other.ts | 10 +- lib/routes/nhentai/search.ts | 10 +- lib/routes/nhk/news-web-easy.ts | 8 +- lib/routes/nhk/news.ts | 10 +- lib/routes/niaogebiji/cat.ts | 8 +- lib/routes/niaogebiji/index.ts | 10 +- lib/routes/niaogebiji/today.ts | 10 +- lib/routes/nikkei/asia/index.ts | 8 +- lib/routes/nikkei/news.ts | 10 +- lib/routes/nintendo/direct.ts | 8 +- lib/routes/nintendo/eshop-cn.ts | 8 +- lib/routes/nintendo/eshop-hk.ts | 8 +- lib/routes/nintendo/eshop-jp.ts | 8 +- lib/routes/nintendo/eshop-us.ts | 8 +- lib/routes/nintendo/news-china.ts | 8 +- lib/routes/nintendo/news.ts | 8 +- lib/routes/nintendo/system-update.ts | 8 +- lib/routes/nippon/index.ts | 8 +- lib/routes/njglyy/ygbjypx.ts | 8 +- lib/routes/njit/tzgg.ts | 8 +- lib/routes/nju/admission.ts | 8 +- lib/routes/nju/dafls.ts | 8 +- lib/routes/nju/gra.ts | 8 +- lib/routes/nju/hosptial.ts | 8 +- lib/routes/nju/hqjt.ts | 8 +- lib/routes/nju/itsc.ts | 8 +- lib/routes/nju/jjc.ts | 8 +- lib/routes/nju/jw.ts | 8 +- lib/routes/nju/rczp.ts | 8 +- lib/routes/nju/zcc.ts | 8 +- lib/routes/njucm/grabs.ts | 8 +- lib/routes/njust/gs.ts | 10 +- lib/routes/njxzc/home.ts | 8 +- lib/routes/njxzc/lib.ts | 8 +- lib/routes/nltimes/news.ts | 10 +- lib/routes/nmc/weatheralarm.ts | 10 +- lib/routes/nodejs/blog.ts | 8 +- lib/routes/nogizaka46/blog.ts | 10 +- lib/routes/nogizaka46/news.ts | 8 +- lib/routes/notateslaapp/update.ts | 8 +- lib/routes/notefolio/search.ts | 8 +- lib/routes/notion/database.ts | 10 +- lib/routes/now/news.ts | 8 +- lib/routes/nowcoder/experience.ts | 10 +- lib/routes/nowcoder/jobcenter.ts | 10 +- lib/routes/nowcoder/recommend.ts | 8 +- lib/routes/nowcoder/schedule.ts | 10 +- lib/routes/ntdtv/channel.ts | 8 +- lib/routes/nua/dc.ts | 8 +- lib/routes/nua/gra.ts | 8 +- lib/routes/nua/index.ts | 8 +- lib/routes/nua/lib.ts | 8 +- lib/routes/nua/sxw.ts | 8 +- lib/routes/nuist/bulletin.ts | 10 +- lib/routes/nuist/library/lib.ts | 8 +- lib/routes/nuist/scs.ts | 10 +- lib/routes/nuist/xgc.ts | 8 +- lib/routes/nytimes/book.ts | 10 +- lib/routes/nytimes/daily-briefing-chinese.ts | 10 +- lib/routes/nytimes/index.ts | 10 +- lib/routes/odaily/activity.ts | 8 +- lib/routes/odaily/newsflash.ts | 8 +- lib/routes/odaily/post.ts | 8 +- lib/routes/odaily/search-news.ts | 8 +- lib/routes/odaily/user.ts | 8 +- lib/routes/onet/news.ts | 8 +- lib/routes/openwrt/releases.ts | 10 +- lib/routes/oschina/news.ts | 10 +- lib/routes/oschina/topic.ts | 8 +- lib/routes/oschina/user.ts | 8 +- lib/routes/otobanana/cast.ts | 8 +- lib/routes/otobanana/livestream.ts | 8 +- lib/routes/otobanana/timeline.ts | 8 +- lib/routes/ouc/it-postgraduate.ts | 8 +- lib/routes/ouc/it-tx.ts | 10 +- lib/routes/ouc/it.ts | 10 +- lib/routes/ouc/jwc.ts | 8 +- lib/routes/ouc/jwgl.ts | 8 +- lib/routes/ouc/yjs.ts | 8 +- lib/routes/oup/index.ts | 8 +- lib/routes/panewslab/author.ts | 8 +- lib/routes/panewslab/index.ts | 8 +- lib/routes/panewslab/news.ts | 8 +- lib/routes/panewslab/topic.ts | 8 +- lib/routes/paradigm/writing.ts | 8 +- lib/routes/paulgraham/article.ts | 8 +- lib/routes/penguin-random-house/articles.ts | 8 +- .../penguin-random-house/thereaddown.ts | 8 +- lib/routes/people/liuyan.ts | 8 +- lib/routes/people/xjpjh.ts | 10 +- lib/routes/peopo/topic.ts | 10 +- lib/routes/phoronix/index.ts | 8 +- lib/routes/pianyuan/app.ts | 10 +- lib/routes/pianyuan/search.ts | 10 +- lib/routes/picnob/user.ts | 8 +- lib/routes/picuki/profile.ts | 10 +- lib/routes/pikabu/user.ts | 8 +- lib/routes/pincong/topic.ts | 8 +- lib/routes/pingwest/status.ts | 8 +- lib/routes/pingwest/user.ts | 10 +- lib/routes/pixabay/search.ts | 10 +- lib/routes/pixiv/bookmarks.ts | 8 +- lib/routes/pixiv/illustfollow.ts | 8 +- lib/routes/pixiv/novels.ts | 8 +- lib/routes/pixiv/user.ts | 8 +- lib/routes/piyao/jrpy.ts | 8 +- lib/routes/pkmer/recent.ts | 8 +- lib/routes/pku/bbs/hot.ts | 8 +- lib/routes/pku/cls/announcement.ts | 8 +- lib/routes/pku/cls/lecture.ts | 8 +- lib/routes/pku/hr.ts | 8 +- lib/routes/pku/nsd.ts | 8 +- lib/routes/pku/pkuyjs.ts | 8 +- lib/routes/pku/rccp/mzyt.ts | 8 +- lib/routes/pku/ss/admission.ts | 8 +- lib/routes/pku/ss/notice.ts | 8 +- lib/routes/pku/ss/pg-admin.ts | 8 +- lib/routes/playno1/st.ts | 10 +- lib/routes/playpcesor/rss.ts | 10 +- lib/routes/plurk/anonymous.ts | 8 +- lib/routes/plurk/hotlinks.ts | 8 +- lib/routes/plurk/news.ts | 10 +- lib/routes/plurk/topic.ts | 8 +- lib/routes/pnas/index.ts | 10 +- lib/routes/pornhub/model.ts | 10 +- lib/routes/pornhub/pornstar.ts | 10 +- lib/routes/pornhub/users.ts | 10 +- lib/routes/postman/release-notes.ts | 8 +- lib/routes/priconne-redive/news.ts | 8 +- lib/routes/producthunt/today.ts | 8 +- lib/routes/ps/monthly-games.ts | 8 +- lib/routes/pts/curations.ts | 8 +- lib/routes/pts/live.ts | 8 +- lib/routes/pts/projects.ts | 8 +- lib/routes/pumc/mdadmission.ts | 8 +- lib/routes/putty/changes.ts | 8 +- lib/routes/pwc/sustainability.ts | 8 +- lib/routes/qbitai/category.ts | 8 +- lib/routes/qbitai/tag.ts | 8 +- lib/routes/qbittorrent/news.ts | 8 +- lib/routes/qdu/houqin.ts | 8 +- lib/routes/qdu/jwc.ts | 8 +- lib/routes/qianzhan/rank.ts | 10 +- lib/routes/qidian/author.ts | 8 +- lib/routes/qidian/chapter.ts | 8 +- lib/routes/qidian/forum.ts | 8 +- lib/routes/qidian/free-next.ts | 10 +- lib/routes/qidian/free.ts | 10 +- lib/routes/qingting/podcast.ts | 8 +- lib/routes/qipamaijia/index.ts | 10 +- lib/routes/qlu/notice.ts | 8 +- lib/routes/qm120/news.ts | 8 +- lib/routes/qq/ac/comic.ts | 10 +- lib/routes/qq/ac/rank.ts | 8 +- lib/routes/qq/fact/index.ts | 8 +- lib/routes/qqorw/index.ts | 8 +- lib/routes/quicker/share.ts | 8 +- lib/routes/qust/jw.ts | 8 +- lib/routes/radio-canada/latest.ts | 8 +- lib/routes/rarehistoricalphotos/index.ts | 10 +- lib/routes/rattibha/user.ts | 8 +- lib/routes/rawkuma/manga.ts | 8 +- lib/routes/reactnewsletter/reactnewsletter.ts | 10 +- lib/routes/readhub/daily.ts | 8 +- lib/routes/remnote/changelog.ts | 8 +- lib/routes/researchgate/publications.ts | 10 +- lib/routes/reuters/common.ts | 8 +- lib/routes/rfi/news.ts | 10 +- lib/routes/rodong/news.ts | 10 +- lib/routes/routledge/book-series.ts | 8 +- lib/routes/rsshub/routes.ts | 10 +- lib/routes/ruancan/category.ts | 10 +- lib/routes/ruancan/index.ts | 10 +- lib/routes/ruancan/search.ts | 10 +- lib/routes/ruancan/user.ts | 8 +- lib/routes/ruc/hr.ts | 8 +- lib/routes/runtrail/posts.ts | 10 +- lib/routes/rustcc/jobs.ts | 8 +- lib/routes/sakurazaka46/news.ts | 8 +- lib/routes/samsung/research/blog.ts | 8 +- lib/routes/sass/gs/index.ts | 8 +- lib/routes/scau/yjs.ts | 8 +- lib/routes/scau/yjsy.ts | 8 +- lib/routes/science/blogs.ts | 10 +- lib/routes/science/cover.ts | 8 +- lib/routes/science/current.ts | 10 +- lib/routes/science/early.ts | 10 +- lib/routes/sciencedirect/journal.ts | 8 +- lib/routes/sciencenet/user.ts | 8 +- lib/routes/scmp/index.ts | 8 +- lib/routes/scmp/topic.ts | 8 +- lib/routes/scnu/cs/match.ts | 8 +- lib/routes/scnu/jw.ts | 8 +- lib/routes/scnu/library.ts | 8 +- lib/routes/scnu/ss.ts | 8 +- lib/routes/scnu/yjs.ts | 8 +- lib/routes/scut/seie/news-ccenter.ts | 8 +- lib/routes/scut/yjs.ts | 8 +- lib/routes/scvtc/xygg.ts | 8 +- lib/routes/seekingalpha/index.ts | 10 +- lib/routes/sega/pjsekai.ts | 8 +- lib/routes/segmentfault/blogs.ts | 8 +- lib/routes/segmentfault/channel.ts | 8 +- lib/routes/segmentfault/user.ts | 8 +- lib/routes/sensortower/blog.ts | 10 +- lib/routes/setn/index.ts | 10 +- lib/routes/seu/cse/index.ts | 8 +- lib/routes/seu/radio/academic.ts | 8 +- lib/routes/seu/yjs.ts | 8 +- lib/routes/seu/yzb/index.ts | 8 +- lib/routes/sfacg/novel-chapter.ts | 8 +- lib/routes/shcstheatre/programs.ts | 8 +- lib/routes/shisu/news.ts | 8 +- lib/routes/shmeea/self-study.ts | 8 +- lib/routes/shmtu/jwc.ts | 8 +- lib/routes/shmtu/portal.ts | 8 +- lib/routes/shmtu/www.ts | 8 +- lib/routes/shoac/recent-show.ts | 8 +- lib/routes/shopback/store.ts | 8 +- lib/routes/shoppingdesign/posts.ts | 8 +- lib/routes/showstart/artist.ts | 8 +- lib/routes/showstart/brand.ts | 8 +- lib/routes/shu/index.ts | 10 +- lib/routes/shu/jwb.ts | 10 +- lib/routes/shuiguopai/index.ts | 10 +- lib/routes/sicau/dky.ts | 8 +- lib/routes/sicau/yan.ts | 8 +- lib/routes/sicau/zsjy.ts | 8 +- lib/routes/sigsac/ccs.ts | 8 +- lib/routes/simpleinfo/index.ts | 10 +- lib/routes/sina/chuangshiji.ts | 8 +- lib/routes/sina/finance/china.ts | 10 +- lib/routes/sina/finance/stock/usstock.ts | 10 +- lib/routes/sinchew/index.ts | 10 +- lib/routes/sjtu/gs.ts | 10 +- lib/routes/slowmist/slowmist.ts | 8 +- lib/routes/smashingmagazine/category.ts | 10 +- lib/routes/smzdm/article.ts | 8 +- lib/routes/smzdm/baoliao.ts | 8 +- lib/routes/smzdm/haowen-fenlei.ts | 10 +- lib/routes/snowpeak/us-new-arrivals.ts | 8 +- lib/routes/sobooks/date.ts | 10 +- lib/routes/sobooks/index.ts | 10 +- lib/routes/sobooks/tag.ts | 10 +- lib/routes/sony/downloads.ts | 8 +- lib/routes/soundofhope/channel.ts | 8 +- lib/routes/spotify/artist.ts | 8 +- lib/routes/spotify/artists-top.ts | 8 +- lib/routes/spotify/playlist.ts | 8 +- lib/routes/spotify/saved.ts | 10 +- lib/routes/spotify/show.ts | 8 +- lib/routes/spotify/tracks-top.ts | 8 +- lib/routes/springer/journal.ts | 8 +- lib/routes/sqmc/www.ts | 8 +- lib/routes/sse/inquire.ts | 8 +- lib/routes/sse/renewal.ts | 8 +- lib/routes/ssm/news.ts | 8 +- lib/routes/sspai/activity.ts | 10 +- lib/routes/sspai/author.ts | 8 +- lib/routes/sspai/bookmarks.ts | 8 +- lib/routes/sspai/column.ts | 8 +- lib/routes/sspai/index.ts | 8 +- lib/routes/sspai/matrix.ts | 8 +- lib/routes/sspai/series-update.ts | 8 +- lib/routes/sspai/series.ts | 8 +- lib/routes/sspai/shortcuts-gallery.ts | 8 +- lib/routes/sspai/tag.ts | 8 +- lib/routes/sspai/topic.ts | 8 +- lib/routes/sspai/topics.ts | 8 +- lib/routes/sspu/jwc.ts | 8 +- lib/routes/sspu/pe.ts | 10 +- lib/routes/startuplatte/index.ts | 8 +- lib/routes/stbu/jsjxy.ts | 8 +- lib/routes/stbu/xyxw.ts | 8 +- lib/routes/stockedge/daily-news.ts | 8 +- lib/routes/storm/index.ts | 8 +- lib/routes/storyfm/episodes.ts | 8 +- lib/routes/storyfm/index.ts | 8 +- lib/routes/studygolang/go.ts | 8 +- lib/routes/supchina/index.ts | 10 +- lib/routes/supchina/podcasts.ts | 8 +- lib/routes/sustech/bidding.ts | 8 +- lib/routes/sustech/newshub-zh.ts | 8 +- lib/routes/sustech/yjs.ts | 8 +- lib/routes/swissinfo/index.ts | 8 +- lib/routes/swjtu/jwc.ts | 8 +- lib/routes/swjtu/jyzpxx.ts | 8 +- lib/routes/swjtu/xg.ts | 10 +- lib/routes/swpu/bgw.ts | 10 +- lib/routes/swpu/cjxy.ts | 10 +- lib/routes/swpu/dean.ts | 10 +- lib/routes/swpu/dxy.ts | 10 +- lib/routes/swpu/is.ts | 10 +- lib/routes/swpu/scs.ts | 10 +- lib/routes/syosetu/chapter.ts | 8 +- lib/routes/sysu/cse.ts | 8 +- lib/routes/sysu/ygafz.ts | 8 +- lib/routes/szse/inquire.ts | 10 +- lib/routes/szse/notice.ts | 8 +- lib/routes/szse/projectdynamic.ts | 8 +- lib/routes/szse/rule.ts | 8 +- lib/routes/taiwannews/hot.ts | 10 +- lib/routes/tangshufang/index.ts | 8 +- lib/routes/taoguba/blog.ts | 8 +- lib/routes/taptap/changelog.ts | 10 +- lib/routes/taptap/review.ts | 10 +- lib/routes/taptap/topic.ts | 10 +- lib/routes/tass/news.ts | 10 +- lib/routes/techcrunch/news.ts | 8 +- lib/routes/techflowpost/express.ts | 8 +- lib/routes/techflowpost/index.ts | 10 +- lib/routes/techpowerup/index.ts | 10 +- lib/routes/techpowerup/review.ts | 10 +- lib/routes/telegram/blog.ts | 8 +- lib/routes/telegram/channel.ts | 10 +- lib/routes/tencent/news/author.ts | 8 +- lib/routes/tencent/news/coronavirus/total.ts | 8 +- lib/routes/tesla/price/index.ts | 8 +- lib/routes/theatlantic/news.ts | 8 +- lib/routes/thecatcity/index.ts | 10 +- lib/routes/thehindu/topic.ts | 8 +- lib/routes/thepaper/839studio/category.ts | 8 +- lib/routes/thepaper/factpaper.ts | 10 +- lib/routes/thepaper/featured.ts | 8 +- lib/routes/thepaper/sidebar.ts | 10 +- lib/routes/theverge/index.ts | 8 +- lib/routes/thwiki/index.ts | 10 +- lib/routes/tiktok/user.ts | 10 +- lib/routes/tingshuitz/dalian.ts | 8 +- lib/routes/tingshuitz/hangzhou.ts | 8 +- lib/routes/tingshuitz/nanjing.ts | 8 +- lib/routes/tingshuitz/shenzhen.ts | 8 +- lib/routes/tingshuitz/wuhan.ts | 10 +- lib/routes/tingshuitz/xiaoshan.ts | 8 +- lib/routes/tingshuitz/yangjiang.ts | 8 +- lib/routes/tingtingfm/program.ts | 8 +- lib/routes/tokeninsight/blog.ts | 10 +- lib/routes/tokeninsight/bulletin.ts | 10 +- lib/routes/tokeninsight/report.ts | 10 +- lib/routes/tongji/bks.ts | 8 +- lib/routes/tongji/yjs.ts | 8 +- lib/routes/tophub/index.ts | 8 +- lib/routes/tophub/list.ts | 8 +- lib/routes/topys/index.ts | 8 +- lib/routes/tradingview/desktop.ts | 8 +- lib/routes/tradingview/pine.ts | 10 +- lib/routes/transcriptforest/index.ts | 10 +- lib/routes/tribalfootball/latest.ts | 10 +- lib/routes/trow/portal.ts | 8 +- lib/routes/tvb/news.ts | 8 +- lib/routes/twitch/schedule.ts | 8 +- lib/routes/twitch/video.ts | 10 +- lib/routes/twitter/keyword.ts | 8 +- lib/routes/twitter/media.ts | 10 +- lib/routes/twitter/user.ts | 10 +- lib/routes/twreporter/newest.ts | 8 +- lib/routes/tynu/tynu.ts | 10 +- lib/routes/typora/changelog-dev.ts | 10 +- lib/routes/typora/changelog.ts | 8 +- lib/routes/u9a9/index.ts | 10 +- lib/routes/uber/blog.ts | 10 +- lib/routes/ucas/ai.ts | 8 +- lib/routes/uchicago/current.ts | 8 +- lib/routes/udn/breaking-news.ts | 8 +- lib/routes/udn/global/index.ts | 8 +- lib/routes/udn/global/tag.ts | 8 +- lib/routes/uestc/auto.ts | 8 +- lib/routes/uestc/cqe.ts | 10 +- lib/routes/uestc/gr.ts | 8 +- lib/routes/uestc/jwc.ts | 10 +- lib/routes/uestc/news.ts | 10 +- lib/routes/uestc/scse.ts | 8 +- lib/routes/uestc/sice.ts | 8 +- lib/routes/uestc/sise.ts | 10 +- lib/routes/uibe/hr.ts | 8 +- lib/routes/ulapia/research.ts | 8 +- lib/routes/unraid/community-apps.ts | 8 +- lib/routes/unusualwhales/news.ts | 8 +- lib/routes/upc/yjs.ts | 8 +- lib/routes/uptimerobot/rss.ts | 10 +- lib/routes/uraaka-joshi/uraaka-joshi-user.ts | 8 +- lib/routes/uraaka-joshi/uraaka-joshi.ts | 10 +- lib/routes/urbandictionary/random.ts | 8 +- lib/routes/usenix/usenix.ts | 8 +- lib/routes/ustb/yjsy/news.ts | 8 +- lib/routes/ustb/yzxc/tzgg.ts | 8 +- lib/routes/ustc/eeis.ts | 10 +- lib/routes/ustc/gs.ts | 10 +- lib/routes/ustc/index.ts | 10 +- lib/routes/ustc/job.ts | 10 +- lib/routes/ustc/jwc.ts | 10 +- lib/routes/ustc/sist.ts | 10 +- lib/routes/utgd/category.ts | 10 +- lib/routes/utgd/timeline.ts | 8 +- lib/routes/utgd/topic.ts | 10 +- lib/routes/uw/gix/news.ts | 8 +- lib/routes/v1tx/index.ts | 10 +- lib/routes/v2ex/post.ts | 8 +- lib/routes/v2rayshare/index.ts | 10 +- lib/routes/vcb-s/category.ts | 8 +- lib/routes/vcb-s/index.ts | 10 +- lib/routes/verfghbw/press.ts | 10 +- lib/routes/vimeo/channel.ts | 8 +- lib/routes/vocus/publication.ts | 8 +- lib/routes/vom/featured.ts | 10 +- lib/routes/wallhaven/index.ts | 8 +- lib/routes/wallpaperhub/index.ts | 10 +- lib/routes/wallstreetcn/hot.ts | 8 +- lib/routes/wallstreetcn/live.ts | 10 +- lib/routes/wallstreetcn/news.ts | 8 +- lib/routes/wanqu/news.ts | 8 +- lib/routes/warthunder/news.ts | 8 +- lib/routes/wechat/announce.ts | 8 +- lib/routes/wechat/ce.ts | 8 +- lib/routes/wechat/data258.ts | 8 +- lib/routes/weekendhk/posts.ts | 10 +- lib/routes/weibo/friends.ts | 10 +- lib/routes/weibo/oasis/user.ts | 10 +- lib/routes/weibo/search/hot.ts | 8 +- lib/routes/weibo/super-index.ts | 10 +- lib/routes/weibo/user.ts | 10 +- lib/routes/wfdf/news.ts | 8 +- lib/routes/wfu/jwc.ts | 8 +- lib/routes/wfu/news.ts | 10 +- lib/routes/whitehouse/briefing-room.ts | 10 +- lib/routes/whitehouse/ostp.ts | 8 +- lib/routes/who/news-room.ts | 10 +- lib/routes/who/news.ts | 10 +- lib/routes/who/speeches.ts | 10 +- lib/routes/whu/gs/index.ts | 10 +- lib/routes/wikinews/index.ts | 8 +- lib/routes/winstall/update.ts | 8 +- lib/routes/wizfile/index.ts | 8 +- lib/routes/wnacg/index.ts | 10 +- lib/routes/worldjournal/index.ts | 10 +- lib/routes/woshipm/popular.ts | 10 +- lib/routes/woshipm/user-article.ts | 8 +- lib/routes/woshipm/wen.ts | 8 +- lib/routes/wtu/job.ts | 8 +- lib/routes/wyzxwk/article.ts | 8 +- lib/routes/x-mol/news.ts | 10 +- lib/routes/xboxfan/news.ts | 8 +- lib/routes/xiaohongshu/board.ts | 8 +- lib/routes/xiaohongshu/notes.ts | 10 +- lib/routes/xiaomiyoupin/crowdfunding.ts | 8 +- lib/routes/xiaomiyoupin/latest.ts | 8 +- lib/routes/xiaote/index.ts | 8 +- lib/routes/xiaoyuzhou/pickup.ts | 10 +- lib/routes/xiaoyuzhou/podcast.ts | 8 +- lib/routes/xiaozhuanlan/column.ts | 8 +- lib/routes/xjtu/ee.ts | 8 +- lib/routes/xjtu/gs/tzgg.ts | 8 +- lib/routes/xmanhua/index.ts | 8 +- lib/routes/xmnn/epaper.ts | 10 +- lib/routes/xueqiu/column.ts | 8 +- lib/routes/xueqiu/favorite.ts | 8 +- lib/routes/xueqiu/hots.ts | 8 +- lib/routes/xueqiu/snb.ts | 8 +- lib/routes/xueqiu/stock-comments.ts | 8 +- lib/routes/xueqiu/stock-info.ts | 10 +- lib/routes/xueqiu/today.ts | 8 +- lib/routes/xueqiu/user-stock.ts | 8 +- lib/routes/xueqiu/user.ts | 10 +- lib/routes/xunhupay/index.ts | 8 +- lib/routes/xys/new.ts | 8 +- lib/routes/xyzrank/index.ts | 10 +- lib/routes/yahoo/news/tw/index.ts | 8 +- lib/routes/yicai/author.ts | 10 +- lib/routes/yicai/brief.ts | 8 +- lib/routes/yicai/feed.ts | 10 +- lib/routes/yicai/headline.ts | 8 +- lib/routes/yicai/latest.ts | 8 +- lib/routes/yicai/news.ts | 10 +- lib/routes/yicai/video.ts | 10 +- lib/routes/yicai/vip.ts | 10 +- lib/routes/ymgal/game.ts | 8 +- lib/routes/yoasobi-music/info.ts | 10 +- lib/routes/yoasobi-music/live.ts | 8 +- lib/routes/yoasobi-music/media.ts | 8 +- lib/routes/yomiuri/news.ts | 8 +- lib/routes/yomujp/level.ts | 10 +- lib/routes/youku/channel.ts | 10 +- lib/routes/youtube/channel.ts | 10 +- lib/routes/youtube/custom.ts | 10 +- lib/routes/youtube/subscriptions.ts | 10 +- lib/routes/youtube/user.ts | 10 +- lib/routes/youzhiyouxing/materials.ts | 10 +- lib/routes/yuque/book.ts | 8 +- lib/routes/yxdown/recommend.ts | 8 +- lib/routes/yxdzqb/index.ts | 8 +- lib/routes/yxrb/home.ts | 10 +- lib/routes/yyets/today.ts | 8 +- lib/routes/yystv/docs.ts | 8 +- lib/routes/zaker/index.ts | 10 +- lib/routes/zaozao/article.ts | 10 +- lib/routes/zcool/user.ts | 10 +- lib/routes/zhangyoubao/index.ts | 8 +- lib/routes/zhibo8/luxiang.ts | 10 +- lib/routes/zhibo8/more.ts | 10 +- lib/routes/zhihu/activities.ts | 8 +- lib/routes/zhihu/answers.ts | 8 +- lib/routes/zhihu/collection.ts | 10 +- lib/routes/zhihu/daily-section.ts | 10 +- lib/routes/zhihu/daily.ts | 8 +- lib/routes/zhihu/hotlist.ts | 8 +- lib/routes/zhihu/pin/daily.ts | 10 +- lib/routes/zhihu/pin/hotlist.ts | 8 +- lib/routes/zhihu/pin/people.ts | 8 +- lib/routes/zhihu/posts.ts | 8 +- lib/routes/zhihu/question.ts | 10 +- lib/routes/zhihu/topic.ts | 10 +- lib/routes/zhihu/weekly.ts | 8 +- lib/routes/zhihu/xhu/activities.ts | 10 +- lib/routes/zhihu/xhu/answers.ts | 10 +- lib/routes/zhihu/xhu/collection.ts | 8 +- lib/routes/zhihu/xhu/question.ts | 10 +- lib/routes/zhihu/xhu/topic.ts | 8 +- lib/routes/zhihu/xhu/zhuanlan.ts | 10 +- lib/routes/zhihu/zhuanlan.ts | 8 +- lib/routes/zhiy/letter.ts | 8 +- lib/routes/zhiy/post.ts | 8 +- lib/routes/zhubai/top20.ts | 8 +- lib/routes/zhujiceping/rss.ts | 10 +- lib/routes/zhuwang/index.ts | 8 +- lib/routes/zimuxia/portfolio.ts | 8 +- lib/routes/zotero/versions.ts | 8 +- lib/routes/zrblog/rss.ts | 10 +- lib/routes/zuel/notice.ts | 8 +- lib/types.ts | 136 +++++++++++++++--- scripts/workflow/build-routes.ts | 56 +++++--- website/docs/joinus/new-radar.md | 2 +- website/docs/joinus/new-rss/start-code.md | 6 +- .../current/joinus/new-radar.md | 2 +- .../current/joinus/new-rss/start-code.md | 6 +- website/src/components/Route.tsx | 2 +- 1249 files changed, 6848 insertions(+), 4248 deletions(-) diff --git a/lib/api/radar/rules/all.ts b/lib/api/radar/rules/all.ts index f87e416642..372b782345 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 b193e270da..8867902f82 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 df7043de5c..c2e5f199db 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 2ba16518f2..7dd921a0e6 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 d956ad47e2..40d80b0f98 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 b38c02d3ce..38e2bb5667 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 9c4d822a14..c7bcaa17a7 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 fc4c0443f8..acf5dff1c7 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 149dcb7a98..c0217927d2 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 0a28b4909e..7d2814d72e 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 054145fe42..404038b8ee 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 535324ed92..a8aa8a09de 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 ce35097103..9769567760 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 f2f88a3b37..7054732227 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 280070d167..93c401ec3c 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 201b52c93c..82fd86a03e 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 6d2fde55e3..3b06513764 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 430e12ce11..d80cc9da4c 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 4cf94ae2ee..ecbaa83b5c 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 377fba21dc..640cdd74f8 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 e03e37b063..506f778ee7 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 c3d95387e3..a2d9f4396b 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 cfb2b0b6e7..91b46000b3 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 6973130ad3..5c5345cdcf 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 e03861aa3f..07440a99d1 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 2a778f21f2..c1b526fa7a 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 aa9cc313cd..20c04abfe3 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 a4c3fbaa8d..d4d6489ade 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 39c3921aca..60e15b7379 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 8a63fd9e0a..c7c6bfb992 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 0523b26673..ae6c0ea1c2 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 fcb8150281..25de6cfb34 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 c530b91b02..b9f1dd64d0 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 60fb478b13..d28f1ef67b 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 e5043e3897..9c1c90891b 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 0750c882df..56f356a0b6 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 9a4efdb595..1f3d5c4898 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 4dbe9e9a27..b0f6a2d01f 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 a77f41ee2e..13e57d6e71 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 c0286d4c38..e5bdb711bb 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 93c34523ad..c519bbd627 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 72e2b3e655..b86c783bbf 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 000cc28694..75230a4349 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 5389a8b0af..220d9fa828 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 eadf8525aa..e765529348 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 031adf34ed..7270144763 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 127275006e..a3804d83b0 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 3067558d0c..42fe93babe 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 4edb1a3535..de51e7d600 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 1485b6f2cc..ff9243de45 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 e52f06cc5d..142cd10240 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 8c2f3ad600..1ae4d78352 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 d2b147c520..95938ea101 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 41c671db40..56321d4b32 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 5af964dde0..f43fbcb59f 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 18bdf6c9c5..94423cc52d 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 45369f0d45..1d6f0a8109 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 9da39fa124..ceaecbc35f 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 9f62d4c498..ee288eacb3 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 1f0b7168e3..63b81e780b 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 4e6cb2ada4..629e340f99 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 18b3ea4e97..c213902356 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 2853f79f16..e58f6e4faf 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 1cf829e33b..cc23dc3b96 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 591754ab2d..a5e829000b 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 8255515025..7d53833956 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 46b103e5ca..2ee2597b06 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 6c1f3d935d..b91a9e48f6 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 0d29986aed..c5c24d74ec 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 71c5aa76d2..735b5446b4 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 878f0b59bd..23d86f52db 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 964238eb76..dcba0072c0 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 6636af5c62..1369c3d920 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 b7c96b61ea..8df4515ebb 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 be8f88c1f8..cd50bd812e 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 43d67fd0b1..bf88109483 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 0bba50f797..ee90f90a14 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 2862758cf3..ca56550787 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 ff07ca6a15..425c50e688 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 7c47aec500..8eb4918331 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 8164f1d075..e61c774cda 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 eec0d4441f..f18fc5be06 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 82dc8efe45..11954d0429 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 fe7c0d1c1b..c9b82feaae 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 c58bb3ddc8..f448b7a96c 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 09c1bca299..44446bf8b7 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 a83fe94d07..3e966b0b4c 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 5a1204258b..7fa268b179 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 1978140052..d638bfab03 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 0bb4262edf..cb35d486bd 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 be60b63fc0..b7f4984612 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 3c0d593c0c..54ea508f4a 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 b44421e3e6..fa6d673c95 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 47dd12d659..ce5ff063af 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 8540dfb566..b87325cf9a 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 a2d3e5b3ac..3b64b1dc23 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 4debbdedf7..7edadb8b7f 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 ebdca5e84f..845d021568 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 1a86e1d779..b75e1232c4 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 a170d456e9..9ac9df89cc 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 52abfd215c..1dea1500b2 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 b50f2edca3..5cb6d6d86e 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 5d00e1d640..569058dd1b 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 1e9a484d3c..6e4cd264f5 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 32243f49ff..95f9b37aad 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 dd03938a69..5175ca9957 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 6355959d8b..58cc88fef3 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 2fd88b9eea..0e31441948 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 369b5e4de5..b005291e1f 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 cc378b8b7a..355f017d68 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 50d34f3276..6875279ebc 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 87d551508a..3050a00a94 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 8acef2e57b..cc300de2ab 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 dd16f3d2f7..c8c25522c1 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 7a20683f9b..59969ba090 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 64b2b7c938..2dc716dec1 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 2f88b8d455..6bed24998b 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 d8a1bf58d7..1c4c77a9b7 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 46456c456f..949ba45eee 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 22c6ba6780..36cbd342c0 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 b9d8b6b24a..4f1443896c 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 3080329d25..305ecd254c 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 3f4b6d785b..4ad27daaa3 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 1ade19f96b..35a50c5f16 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 cfb032f0c9..2b100dcea4 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 5fc4e522b3..c7cbd590c0 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 676558b64e..0e4f355455 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 9d4908127b..88db0bb100 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 ef4be38746..188a2cd5dc 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 29a5a87951..a949e2ee16 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 14b9ef6c14..fb15bace8f 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 f1593cb6ac..afd6e69cf5 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 aa89b3d8a8..b954f1e4c5 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 1c5867c9d7..b376f93bdc 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 80024ccd85..078e9d43c3 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 2c9dc5f88c..f7748715bf 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 18c4b2bc59..8e330f5198 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 aab8426c30..d1dafe44d6 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 5db5263603..f60fbd4c44 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 321e39d555..e5ac7f6072 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 cc936d2c1d..4907b0f9ea 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 9d1cb34410..619540d979 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 3ffd398d71..14f0102044 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 029093e4a4..de90da988d 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 8388e71556..588743899b 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 bffda66502..b883fabc6a 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 04f5f43460..8139ae535c 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 7e963bcef0..5d53114e1e 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 81db4815e3..154f9e02e3 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 626d7ae691..5b3ddeec14 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 187a993190..4467954f04 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 87c0032c5d..d9bc9c9e26 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 8ba86d14b7..1a21e02541 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 ef89958b5b..cbe7b9efd0 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 1c47e2a7da..2598d6d392 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 30bd4e4433..8e79b1e542 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 f2c953184b..d623ad3150 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 af8b589240..ea7befb77b 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 5511432119..7a424176bc 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 50b7731dac..f597a3a890 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 f4f24c6a54..c52fea390f 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 8fe926b502..e43f008e90 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 52f6d5dc86..16fcb05855 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 a72166e511..8ca6ba2d06 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 7fb2ad72c8..c7b2b24a6c 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 0710a44997..ae22d3c798 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 937f4f9859..38cbcafd95 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 09c7f4d36d..4c99eee9d1 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 addcfa0cce..a6fd9d97dd 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 3f32904427..02d8ddb48a 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 9f7222d15c..bdcf72e67e 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 082924732b..9ab71ea069 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 a653f98def..a9f01993bd 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 df7930d601..a6ee03b5c0 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 2b2f149f93..453519dd82 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 d9c55f18b2..598e3a5f93 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 55e8a71899..ebe8624f9e 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 28edfea761..fe2c4cb2f7 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 361f7cab03..be466bad1e 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 08dfc06123..536334dc6d 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 cb92f6338d..e52b38d436 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 e8b9e5fb47..9cf63ca5d3 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 2382947711..1be7fd41e1 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 a95ee26187..264dda56e0 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 e4cb59fca8..e7810da2dd 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 0f735216ba..bea9f0b00d 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 a1573f7953..95aa183036 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 58a18116db..e4e5fb69e7 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 bed85c5a80..aa3ad620d6 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 715d996938..1fca4505a8 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 01595881d0..5576989890 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 f65fa51878..171e1cc8f1 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 82c840a110..c463ca9406 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 dc0bc98ec6..68a537d7c3 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 7d2a4b93f8..7f838f99b2 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 2879befac8..3b79c2323a 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 6b43207b9f..8c416634ff 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 a384a98f55..dc38068532 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 346b8b08ba..5809f3424a 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 33a9afe191..d0218dbf37 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 2d5a805f9d..2e2772bc4d 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 d3f5338d0f..a0be100d09 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 fa6ed9e1df..c10f220c4d 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 e44ef9b139..dcda53ae93 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 bc8f45e9da..c1ade0a554 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 70ab67ad8c..e0119edf9a 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 2aae8b48a6..2609ddef0f 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 121b726d52..359f30701d 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 f359936e5e..91868481e9 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 dfda745c61..6ccf25903f 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 ee1f0a6f3f..54a8349fe8 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 9f0aef9d50..eb0bd75e36 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 5e7e2894a4..69b19df153 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 3261e6bd0e..c9f2e470bc 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 8b048fe064..fa99ff0e45 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 ad7cae8844..d41290c107 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 ddfdd51fb7..faf9b25d71 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 e3d714e618..393a61f154 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 ce112198e2..5e28e7a67b 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 39c2b2d531..b8dbca0b6f 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 1846899f1a..5c1ced8ed4 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 3231e8ebfb..86325ac77f 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 6730920d0a..eea880e023 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 47d2682499..d31471cbeb 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 3d8988ac57..75b96e319b 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 79cede4682..e8330ff3df 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 828396d389..a624b006d5 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 943ca4c4cc..5e81b99d02 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 a4314dab32..ea3b5383cd 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 96ace0eb62..9277ab20c1 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 621a61a8f4..de8b69224e 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 b3ca91e1bb..d490824277 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 ae265831bc..da1f585dd7 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 c89e041c71..9b758a546d 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 aad37a2ae3..20b86b89f4 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 cd3f828273..60f57fe64d 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 922310d886..844baaa4a7 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 09f56ba335..1d5befa73d 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 9805d0f6c8..d126751c25 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 3872ebddc0..11d5434a16 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 01ee1e4fe7..014e99ca57 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 4e1c8b4f6e..a4c5781315 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 c8df5cef30..edc7e1be19 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 675fcd838f..aee781d1fb 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 50146f0617..a16dab6fa3 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 5fc9d57979..85a6d067ef 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 c7a50dcb94..ed815da006 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 135e764219..281690acc3 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 693aceda75..516ae8b59d 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 d110fbf8f8..c9075b4050 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 ef362b14c6..f59ae30631 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 aaf087555a..31a20e614d 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 96f583d054..4b1997e756 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 67759af469..2157d2dd49 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 727e3f69e7..55101873cb 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 e06a6276b5..eec7f8c93b 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 76d84eaff8..9a372b3930 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 04a7d99cfb..c4efe0df08 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 b0781b0df0..d24a1777fd 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 ddf4b1e18a..f4cd8e1fb9 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 b0901e9c5f..1c75e31bfd 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 50e077d7c7..11cf7f8bc7 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 374a83ac30..9defe810e8 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 4761f60842..824f813c7c 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 3493eb30d3..0f270db4ef 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 de466f049a..66ce51037d 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 7b4165754e..b10418e916 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 f6b6346946..1b2c2ab978 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 7dca8a3a64..3e8b5d8135 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 28a402d1a5..7bf7d675f6 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 92e1a33f96..90b1f99e0a 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 72f678cd3e..83237a62f4 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 9bab567f96..48ceb70bb6 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 2163deb411..a2dc3c1695 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 bbd71f4006..c840f30a1f 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 0439f5aecc..f80dbfcfad 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 dc353e39ec..182608a903 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 ad512e4f1d..1264a03a05 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 00f127cc1a..3697e645e4 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 d528d9e54b..8554df6f80 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 6f9cfe539c..fdcdae0735 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 2b5412ec13..31ad2eea85 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 8ceb413a79..8441c68159 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 d66063d976..f63df581a1 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 87d468eb33..d3986c40f6 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 77d9350d8b..bc084c5aa2 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 f41828f2f5..6c00fda582 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 7da044dcba..aea659c95c 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 993d0c111b..39be45577a 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 0f09f182d4..42332d901b 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 defeff7263..dc6bee5688 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 33d8ddef2f..c7f76612e7 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 1e8773bff3..c81f4d63dd 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 30a1556cde..c2e6705c74 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 0cf6a4bc20..6b2c596cbb 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 a1300167ca..b04f207fbc 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 e4820215c3..ff625baba3 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 45c78316e4..fb63712b77 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 c55079dd76..741408abbe 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 bd212c89ed..d710599511 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 76f5ce92cc..88fc8645f4 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 25a74bec94..4cafd12d1d 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 901675e16e..bf640a007b 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 568b361d6b..72053101dc 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 7ea406c70a..87b0260834 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 dd412a18d8..b6276682e7 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 b8fd13164c..7cad249a74 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 4d01e69a3d..6fcfbe491e 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 9f2e1d5a5a..2a665bdc12 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 66b80e968e..903caba018 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 207ad6ee7e..564ecfcc8e 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 d6ec8ef0f7..7de41150d7 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 4e87c11735..df9b2adffd 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 89b0d19e33..4bf28bb30d 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 eb37c1ddb9..860db18538 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 0871780b59..107e9f2887 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 0f3c621525..145a5e513c 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 921330d9cf..b9d1873f71 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 fa2a4059cd..e79f7a6411 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 df4781a2af..7160b8e4ac 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 1d1d3b347e..2d931ac4c7 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 a1d6e51688..62078b7fef 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 0db6276644..2f8614cb4f 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 2dbc9f1fa4..d422067235 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 8d539d5bee..dbb37f3df7 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 0c93d0d13d..285ea71fb4 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 80f3dfd034..a67525ba6d 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 4364883d82..363ccbae51 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 7f9c54de56..9cdb44fb5b 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 857ce92843..c95a33c656 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 6a1d8c553c..f3188bd0fa 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 1f9a88315a..4596cbd5e1 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 e5f8ddd5bc..74896feb99 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 414bc80f60..5e54bf5a6e 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 571f1411f9..993bd3dba2 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 2f69e1ee1e..070e2f97a9 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 9fdffc556f..26661e122b 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 804cc7d7af..b2fcdf9464 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 55ff067067..826feabe83 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 7f66a9ad95..0c085fb1d2 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 dfca27ea29..5c17537626 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 e2b4b2cfce..9251027f19 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 18a2c6dcf8..680af61739 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 5aa510fd03..be8af1c228 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 fa1c8a5cca..f4d85a751b 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 474c8ccffd..98e37701ef 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 ba0ea7d05d..3616aca5be 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 79c500a795..0d854bdc52 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 8a7ff52cc2..2bf356fa45 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 5417cfc8c9..93d541b285 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 52eff881f0..8f9bcc0218 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 653e56dc7b..0a565cbbc4 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 712f830ea1..7c58cd4022 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 9afd231180..7d3ea368f5 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 04a2e066a9..97656ef746 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 214cbfa52a..b558dcd235 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 4aaa679917..b770970d28 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 d22013d610..5fc3855112 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 d1adec33cf..76c89b35ef 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 07c0f4a965..7840de2d53 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 c3d7594fca..3c4960f0f0 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 ec83edfb4a..d9798ab392 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 385ac74fee..04074ccfae 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 7bf0b392ed..e93dc01415 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 b4d1877e07..e5587f0327 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 3fac46fd73..ba72cccfa6 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 68fb2de954..43540e4eff 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 4a0d56acd9..67c1c5fd43 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 1554c72d31..b092af41f0 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 5254203823..193c18c2fe 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 32f29957ba..8ad76ca42d 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 f0b7164db0..a5df4df6d6 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 9a600faabe..ac342e9679 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 116dd20669..39b67242a4 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 06a73419ba..c392e61102 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 971d0dda56..55b9bda76d 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 a1cc46a34c..28938342c2 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 2f9736f668..3949781d56 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 177de6304c..18e2552157 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 83fb21fd28..1e132ca85f 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 486a461406..b02c4eb0b0 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 c306f5a4ff..ba2b1e1229 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 77982a507e..b31c6650b4 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 eae48be5ed..c6490932ef 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 0df9413482..84e10ef4aa 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 73a9dca1f2..a4c4802adc 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 01f47c25e7..fc3323a505 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 a178c19ed0..0e6cbb814a 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 4c2295388f..9f1df56603 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 74fe337972..d8d27457d2 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 2966b21110..baedf7b48f 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 25c8c3789e..123b40bc68 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 bc0c89cc8e..179077bf15 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 03f38110cd..c1dd181a6d 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 b3ccede1b3..742d0dca50 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 bfd17715ce..67f1fc7ba4 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 68b99cf2b4..083cb442ca 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 3ae1a55fc4..e68a222a43 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 43446d74a7..857809ff8d 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 4c074ca4d6..cb9b618bee 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 e890b26a80..6069bd1eae 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 101b683a3d..f44113890e 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 2abe78dd76..554de31f35 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 949357a445..15972bec86 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 b913935062..6f39650c93 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 5643499abf..c12ec85a7c 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 86d0ce1b01..c07b27432d 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 e58f642711..f48179726b 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 0da38ec35e..57e02e3ec7 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 90c4758157..9e7b892c66 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 f0923f7e74..9324f1bbe3 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 37a5b784e0..f700684b96 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 37622b0e4c..a8872bfe35 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 7c3e764375..07e1c4b9b7 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 47bd71fb7c..8ccfc59b60 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 4037aafaf2..8837cb17be 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 24b62c80cc..3710e73be6 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 9c4b856ca8..09a676ef29 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 03710212c3..acbf327ea6 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 76138fdceb..769ac7b24e 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 8c6550676e..8f03a3d7a1 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 33923ea5a8..8554c31624 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 a7ea723024..c72a8147e8 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 ea97b53833..b017bc0e5d 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 ccf5c80ba2..6b54a4c734 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 8e383ba8ee..e4b09c196e 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 7e5cca28ab..b7c256277b 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 1d7f4c0b42..f6ec62e4a9 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 0973335352..599efd3b93 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 fdddf26a3d..dc1508dace 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 f55ee618fa..0ade4040c1 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 785901de89..33605c42eb 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 c4adbf7457..92941c2f7f 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 508d978550..a70f0cf910 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 9d9cab396f..221955a56e 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 6a44ffa541..a3808ea4d5 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 9b1c666d4c..3477a8684c 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 018304eee3..c0c82cd8c6 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 a08895795d..e575d2edc8 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 c2fef4cf0a..1f5a909a11 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 5bd725d557..0842f12703 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 8fa003e17c..39a44be7a8 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 49223e9bf5..04b906c232 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 081dcdad97..c750d8bdce 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 3ebff64c9e..a92a46e557 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 ea5bbba047..4474b2ca3f 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 85b3709222..11cde4c436 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 0207b7dcb5..88640528fa 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 8128f560f9..cd97daaa47 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 f94064baa2..0a98585597 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 717884b14d..0674eef013 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 969aa7afa4..21df8a1cc5 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 c667102e2d..a3ee825fd4 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 528a1b1cc4..13966d233d 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 d25120daaa..b69de4777d 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 d74b86f7c5..413ca01728 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 d805884256..b0b0330eef 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 85474e6708..e7480327a0 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 b52bdc0899..77e9a6ed42 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 f65b311d4c..a1e45ef7ad 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 635b9241a4..29b407d1ca 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 592970e686..22fcf5dab2 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 4bc7e9efc1..48447e2af5 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 7b8d8bdb78..6384ad4b44 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 854bcc1141..dcc6f306e7 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 3ea4e64cf5..f7e92bc65b 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 cb918e85f9..0425502e06 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 63379b9557..bc073aeb0e 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 f6f3b38f81..77212aa0d8 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 727b97b889..3e09b26158 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 196a3ea7c4..af7b271e15 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 0b03c32994..1f8802152d 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 5ac649c936..11febb3251 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 8fb9ea6225..096d99b7e7 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 0232e4974a..220dbe8dee 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 60014f0fd1..326aee2d3b 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 0884e35d4d..560308a1c1 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 f76da8c253..bafe9a68aa 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 f3bd4d26ff..b5f5157d8d 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 25ae967761..7b1831b8ef 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 4ba55582d1..7e898a8b14 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 a3a873d1ef..9570871958 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 ef6f25ef9c..21b8e8b52a 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 7f9cf32bd9..99b8e48951 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 f572f97053..18b97b197c 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 48f7282a6b..1cd2fc6a9d 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 c85495de90..8096a76c83 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 096c60bc72..0309c64d97 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 4c1fa092ab..ba040ecbae 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 c75fd9ca25..80b11b5d3f 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 aad3748fed..fd7ab51b51 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 66705026ed..75b2cb4aed 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 88168531a3..d7bac1912a 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 5706537b6a..fd300ce83d 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 ee5d064bfe..9e2772a176 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 61e0545462..82c9b2418f 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 e10f38a05c..be0b1b68dc 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 aee963a534..b2dd027233 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 4fabe500ec..26e55b0e68 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 22351cbd24..785daaec54 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 570b97d407..2089234563 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 9ca226f84b..e0f5256ddf 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 a3ee6860a8..f3544c99a3 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 03c073eae8..3be5f9a05d 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 52255359bc..89b682825e 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 dbe98c17e5..70b673a2c9 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 88f845a357..c69f672825 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 f2751bc572..d82db78642 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 575dcac664..1c80531844 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 aa5a6ffe14..57d18f2a70 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 b1843b0972..05ef1e8912 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 f7d19610ae..86473a8a18 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 b38881baf6..f64bed5c9c 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 a6588e01fe..3b0222c3b4 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 9f56aa9db6..4b0e320c33 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 0ce9de3565..1b4b5b34a9 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 3f3a8ac52f..cd3c9ec649 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 c7ce4281b9..a2d1857001 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 6eee5cf62c..a94374b1ef 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 aea7f5157c..69a6318bfa 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 88070f1460..4a63ad97fb 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 a711ec500a..00a4331a53 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 76ca612c1f..68fd41c5ab 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 08977a18f7..c451312148 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 51619b028b..f7b9674f67 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 0c7943a479..189adb1757 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 32f264bd3b..e68d9a75d0 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 37949e36da..ad0a9eacc6 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 74a9acee38..783bb24e41 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 7db0964f6c..2d24e65f2e 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 ac9356fd63..eb605ae203 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 f4692e5d28..0411031263 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 983acb6c36..8696ecdd40 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 b3e5ade14a..732dd4f960 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 47066c36b9..b98ef19baa 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 2c891d0421..d249c64238 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 631d0753bc..93477785ee 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 51b4f99464..676e7779ae 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 9018eb4ff4..939577a7d8 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 75b17e64ea..c3b9101284 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 44a72e2f83..e01c7a9ae3 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 a789e84354..9f0eb4ed6e 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 eb7370e622..e30b5b0dfd 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 67915aaf0f..e3d817ff04 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 36fc3faef5..fd05e334be 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 339da9bf94..aed2605244 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 77e17e05df..01336d063b 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 5cfd4bca7c..dc7be05140 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 89dfad70f9..68daa5dcdc 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 c6c551d720..ae3f0ef8d6 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 f26c37d299..2bd302d918 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 eac2915279..7121e6ffe8 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 33c08a83c3..2d600b8c81 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 1a37db7750..3de20ca601 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 0374885afa..af5748a722 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 f08e145944..d1c5d1a56d 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 018adf1c98..502882cdcf 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 f5851a329c..ceb8181533 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 3ad7e3c364..13cc9c80de 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 9e1f7011d1..8fc3e219d4 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 a75762a506..eacdc87cea 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 58500dba32..f4e31a159a 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 510297d4eb..a0db2355c6 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 b7025c5549..9e998e77af 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 f21c7c6812..d2173236a9 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 6c80326584..b2ec6aa303 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 7b21b5a5eb..7915b18bdd 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 480723f71f..ec1a5af0f8 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 2d99a7ef8d..730281af5b 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 575f3d9423..dff3fb2f75 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 e8c97aca10..4a81794d89 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 57fc90cd29..f453acbfe3 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 14c8e732c4..ab13c936d2 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 bfe51946cf..0d0f381f12 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 436fea0e6d..a33e5270c8 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 b2e116550f..4bf05913e7 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 8ccbb1b3c4..f06bfac628 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 49b548a176..3cf880d063 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 35aab573b2..37d121ac65 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 b1aa09c52b..67d24d9f78 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 0ed4d7425b..e5504d815d 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 efc5cc2e10..fbb8165b87 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 06b2986a53..a798d5f822 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 11f919cc3f..fb194ce0a0 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 a4feabeb00..33d8f86761 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 57acab3433..e9232f060d 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 4696314042..da3481dc39 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 04e4d34d3f..ca8ba4cf5b 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 17a81911d8..0dd95a5110 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 b3fa91d17f..25495d07f1 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 40078d7592..10300f2180 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 170828340f..d1b84bd0b9 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 f756bf9abe..42441a9ac0 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 57825d0cc4..699bd4c167 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 282f0549e2..8d69d9744f 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 0d5e51baa2..5c0efdf420 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 f68d139a9c..599b87f662 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 70a0e2b025..eb2eeb11dc 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 dc3adf1789..3df23bcba0 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 a7746d20f9..a1c2caae20 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 f26aae70f3..a571afe0c9 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 1e746b67ad..fad5bb71fe 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 0225040b30..4dc1a60278 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 0be77724d5..58ceea04d9 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 78b5e37310..934e70b80d 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 2aa36ae1d3..043289f79d 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 acc13aa2f0..07b47f1de4 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 6e03430d73..1514ae5825 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 3d80850b03..5c5acb2dd6 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 cf6f54bb58..4a8b86ed31 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 8a4f2b6e2b..8bb5503830 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 4abb537355..586d9c4b1f 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 e269a89429..78e49dc14c 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 b857c4a444..9ba27898b8 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 cfd77b30b0..06562000fc 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 44573c2599..3ec7c90908 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 0be8f006a5..c17f3fa90d 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 45cd2acf6b..f9f184c396 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 e248da1d67..9767abcec1 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 22c4eda9f6..f53d968729 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 9c63e5d4fe..b1388938c0 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 a3e3fb0b83..e74aa2b6a2 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 92a1b4cd94..697a8a0c3e 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 e20b89ad18..8c46c8d06b 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 e2f4818b22..ad6da0de36 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 51486cf98f..ff44afe65e 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 c97935c2b9..29fd9d1fb0 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 5fdc604eed..a02345535c 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 32bd93ef97..66de788e16 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 3dbe7f97ce..33dcd08fe8 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 f1c284d4b6..c633c796bf 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 ec4c1ce0d5..13be02c1dd 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 f7af9ca93e..0b0f221b5c 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 2d167ff1c2..b75e8e3c6f 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 23e1095af4..cc0834af17 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 12147e5ee0..1e3b0dea02 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 023e5e5552..62451ca4ea 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 98ed0c9d34..9506c37e51 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 b2db0fdb29..db1c2bfbac 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 b67f92557a..e3fa3e6d7c 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 2be4d85758..ac27e1e588 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 fe2eb27b68..b4c12d01be 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 6f9002baeb..1867165b5b 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 d060f16ee5..2d786f2d3e 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 7e92bf572f..1a2a3cb8dd 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 f77aa688a1..030bb2ec24 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 f76ddb52b8..8a3c5c240c 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 0181a66026..3a5e7657ac 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 7a11964cb9..e2b411b086 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 2fbcb28a17..f37d23bae1 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 3179be7d61..bf618bb142 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 bcb811c6ec..b89629a2d5 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 84466ce755..b48affaab1 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 bfd6981725..f38d4cc6b0 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 6461081aba..34c50ce04a 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 cabd311ef6..0b24b1c59a 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 303a47f5e9..cfdd6d60c3 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 f6d1603213..a3dc602bed 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 d4f19d1c18..f79c4e5306 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 529b748897..4e2e760600 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 80ff36463b..3f7bd25ad7 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 a2c0ec6296..88c638aa10 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 a9c316ce08..ebc9ae50e8 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 6e222f9a33..12767a7879 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 6525275f9e..63b036ad89 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 57836db98e..a8835f5b4c 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 550696349f..403e3b6f3f 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 2f7fb63a66..a4a43cc710 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 397e533764..4a3ce513e0 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 9a1605b70d..69a07c4663 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 8e2ab9200b..fc60ae2728 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 9d402057a4..c04d8430f2 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 3b66e54b37..d916f87d00 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 49a95ffab5..34d10b78f6 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 77b64a3a57..59c1803668 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 c22f38f7e3..d23ccd954d 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 f2118bfbea..c2fa6f1379 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 7b0c297c40..627847973f 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 7f1a487e3e..0f6e444c00 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 294fd04a41..d236daa635 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 128d2803ca..6b63d1b96d 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 8d4c4553ce..3a62b8925f 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 d0714ac8dd..8f674dc9b9 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 9ff77f14e6..16c9163e23 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 d2f3632a6c..5491acddae 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 9b328c4502..8271f187b5 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 90a3835ed6..77cd7c1df3 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 a3c2a2402d..3d541d4038 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 bb9bfc221c..c2b4279e7a 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 62b19b81fe..391008c5f2 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 6cfef79007..abe3c29be1 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 5f0c6613a7..1960088d11 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 76b0441eab..a9b5bf945e 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 d67382a621..5263dc2174 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 30d71e743b..4809bc0b51 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 ea78f13ef2..7a21030993 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 377903df7f..953ea2c4c5 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 c365668a3f..d72b0fd73c 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 1b3f3ba693..cf14b89884 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 8756209906..a05b106073 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 744801305e..843fbff483 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 04f1fbd4b7..af7d3065c5 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 ce1eafae79..fd68e0d806 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 f963ef51d9..09e49c1e85 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 5b99fe0238..598194c6ee 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 0154376222..f7bf6b948c 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 c296f49f82..a016476222 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 a445845a95..20382f26c3 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 0d1a04a36a..401ec142d5 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 199b833b6f..3ce94ba16f 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 dac90b3619..c64dd3229d 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 812adcdfc0..5850206fd4 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 bca2a94e0d..27a324104a 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 fbdd72299a..d95557f1ce 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 67ad5f5c62..027c1661df 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 06bbacb825..df945511fd 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 7998a688db..a7cb035ee9 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 a1d1cfa23e..4bbf5099a7 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 ed3649b442..0058f059b7 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 ef12f665bb..ded707e0bc 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 6ab31aded1..5f6e02c334 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 af125fd881..75d29f5fcd 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 bb7033d3d7..e42700d26a 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 ec6784cd3a..fc8c794a33 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 387e0d30bd..f8b3a8eb1f 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 d347d92970..fa3515ba0c 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 6c422ed9ff..c34c02d353 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 545f08cc0b..35181e6d56 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 a283f7e951..a6b3be7ac8 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 a4fdbbbf8d..49169ce9a1 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 784b6111a4..41ee30b0c5 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 8c3072a743..f2c14600d1 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 ca501a06bd..7c758b35c4 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 78b81db57e..83c50a05c1 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 bd3b78d45b..dcf9e1e243 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 84c2eee946..57b4faa523 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 bdf231bc58..be8df1ab62 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 92fbe6d95e..3b244217fe 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 6d5b6aa2c2..dc3bdad104 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 ff0ada3ee3..4b9d7661d3 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 3cff468d97..6d29f0424e 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 beaee75f98..92985f0e1e 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 fa88c2223e..bbfe922b8f 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 6d97c5a8b8..4937a6e90f 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 36086ed56c..f87fa8e473 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 9740f5494d..122657b466 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 3efd25058e..edccce1f35 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 7d58f840b0..962e5ff6b4 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 9fd34fd173..bad23e7839 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 f5b040fefc..14ac76ba0b 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 84ef3aa81f..4153209e3f 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 91562d46f8..fd320f8591 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 b0f1cc8e7c..e145302aeb 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 8c6145130f..c1c77487ee 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 281e193dbc..a851594ee0 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 a2c21f8c20..eda7853547 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 ebe6f1b6d1..d2bad419a6 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 e2d92df56a..68f3f28275 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 e01fc32e25..cb66b9e23d 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 aa0f17522f..ffcd0ea14a 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 3c86902edb..f392d5d199 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 a356327f3c..ad9b806416 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 21befa70e8..381a4276c3 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 e314be6c45..bebf29ad85 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 73ed986635..22b65876d3 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 ac791f52a9..2eb74a1335 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 9bd3431e3a..5937c67cec 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 e328a81075..2348a63121 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 ae078fba15..03f9262fc8 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 74599c3f0e..f347f153cb 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 dbb5131771..2b70377920 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 ae5171c5fc..edc4fa0b02 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 0c942b8dd3..31afb6f7a8 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 869ceae2d1..7aacef1490 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 e97b8be4fd..be3f3edefa 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 44b6388595..a1834f3d79 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 74591e846c..53e0db4c48 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 c06332bea5..8a9e3159c2 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 fc2b210a83..89493cb520 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 a040d89ad8..00bd055000 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 c939e9133a..aa1af7cda1 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 84dd58ca9d..06b7027710 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 6ccfa5ef37..4f77b16c59 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 4ab0977066..3c0198625c 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 30ef1bab03..85b3039e3f 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 959bedcbff..765eecf8a3 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 2a75792442..6d711f355a 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 634c058f2e..e3e6893ebd 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 30fb1c5459..88290eec27 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 6e8a37cf56..507fbe06cf 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 e4f25f6b0b..e5233eec4d 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 be3bc5c15c..a26401cb55 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 f19aec8656..9777e95368 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 a3f67f06f0..dc52746eef 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 eef2501644..d4c66eb323 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 bfee9ce428..e85fe8fabf 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 78fc768dc6..5a46f25bbb 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 5a291f22d2..46909c8d8f 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 dd994fbd3c..ab9bf221bd 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 1327ca1f5b..8a07c4ae27 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 2d6eca048e..3673ab3983 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 31986da902..8a3321e569 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 f5927ac256..29ba22582f 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 35dd77ec48..21250193c6 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 459ca6c2f1..8747231032 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 7ebb887120..d4063906a3 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 9b51595cd3..7047bea634 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 c9d8e1ef81..f699216880 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 7e3190533e..8bf9b63995 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 6f6d673e7b..b6c8b22a09 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 824d25fe45..34f054f743 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 51e92d7b86..9c84da8f6c 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 849b38e24e..9031f3895c 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 b632e36769..6f57f22453 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 f71fa8b64a..a18ceac2a1 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 a6ab6de008..862cc2ead9 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 24e53a7b6a..33072455f9 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 1c46d0bfc1..9d9ccdf5b9 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 5e24048aaa..bb1a185dea 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 0267be0581..ec6128538b 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 43a81e6f9e..2ef02f69d0 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 5c84086327..f5bdc41faa 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 308813a1aa..9523afe060 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 29021181bf..8ce515f93a 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 45eff614a6..99d904d055 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 b9fa845b29..039ad8868b 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 3fd9561030..5b09196abc 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 81023ff7fe..9b05a588ee 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 0028c21467..267ada8b0f 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 70ee3fc428..265675369e 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 7dc987ba2f..ef6dbc21fc 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 f51ce95146..5261557aaf 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 022e2f2732..e0e9778e8b 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 de9041fe8a..453e768671 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 17172263a4..503ef59a6a 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 cb7bbde7ec..29a9a1c1dd 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 52248b6061..7f4f6e8814 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 fed48a52f3..25c6de1f3d 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 7485cc7530..e9f9ae7886 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 48ace7b5cc..58faaa440b 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 5c231ea74a..a28314a092 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 c3e137e829..9fa903c26a 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 9ff273faea..345f768f8c 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 173077c0de..2554976a7a 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 8fe30bbdad..066c16b23d 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 6fd718b660..3557f3c8f4 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 e0cc1e2fc0..fb2eaa54c8 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 209d9d913b..583e480abd 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 888509b4f6..405c9df241 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 c049f56808..d108a855ff 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 f292faf25c..eea06115ca 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 b8706af5ee..5b710bcb50 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 2965d917b7..edea512d1d 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 50de12921d..2e2b50f63b 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 b499ee8ad3..ed60c0d4ce 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 6f1588001f..58d4c5fffa 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 18120180c2..f8500a53c9 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 96d333f72b..bef7e0af07 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 fccf6819d6..67e018b6a3 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 f8fdeeb429..5c40a21a3a 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 3e85b2a7b9..986ad08059 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 09695c6dca..82b64208ae 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 e0d597f9ff..9211f3e8c9 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 84b6d9b40d..1557623f24 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 7429ae058a..3db95edba3 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 899dbc93bc..9660a8a74f 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 1ecf048389..5b308f452d 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 cd1d8f32c5..1c40c78c29 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 b58ba4553c..d9273105e1 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 23723b86fe..9438026d0c 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 bd0e6ec018..15fa089921 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 33edff56d2..a6e74cf531 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 63eab895bf..82e4fc69e2 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 e4434dc105..52e875e0da 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 9c92fab46a..ea0e89da88 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 b3befb5c0c..cc44a2a919 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 3ec5778da9..d763664de3 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 ca44b077ca..8ff1572ab6 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 e8b265d99e..511cedcc4b 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 2edf93016f..d00f42ead3 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 402c0b740a..916d94d0f6 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 7ef3a85db2..51d2cadeed 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 16bcb3039e..eb78564175 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 20faf1fac8..720ccc9e89 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 ca9b646db1..0f09cc6bf9 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 2faa3c2802..ea61a67448 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 f4c703c9eb..de304f9b38 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 9d2f78ac01..55a8fae374 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 00a8f9bad5..431e7bc486 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 ec8ab39742..d56dee1e1a 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 55edd44623..5e2be6f310 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 b0e60ebf52..191e675083 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 0faf1ea6d2..58fb34729a 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 51accf9251..750d82bd3d 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 03f3730c00..507ba1181e 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 826679584b..36e164b58e 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 ae903bd09a..0cdcb77a2f 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 ef1e79a59b..86049f484c 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 f1bfc1f3c1..7962750f56 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 af2aab37ef..6d74a64d9c 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 644557dc8d..c3d0060614 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 554e96fbc7..cc53640492 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 40d50e265f..fbf3754566 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 8d9c72f071..6c279811b6 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 55992aba3f..97e53528cd 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 d639f9b212..17ef9bd8e8 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 75fbdf763d..8bfe1bd14f 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 454d56dc21..f64b3f932e 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 8b819a696d..7f2ec38a8a 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 65f19c1e03..ff2b571eaf 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 4148ad8ee0..f08dbbcf46 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 12b2c36ee4..4e95cfd100 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 c00c5ee447..b2aabc8522 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 28ed0fbed2..64dd20548a 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 437d1730bc..03f6db774e 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 35a6b45b76..c81fcf4eb5 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 ae5e31393a..ab764a7e17 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 599992222e..4d2dfd9b4f 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 ef986e283e..520ff84cb7 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 87ddd5e063..6b30d1b9fa 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 3a52bdb903..35524343a7 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 bf3e7478e8..aa3569d6cc 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 f60df402ec..792d264199 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 1a617e3aae..44578a06e9 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 b5d7410952..965f0c16cc 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 e972f9bc57..3c91393c2c 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 c6a73ac29d..6fed5ae420 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 b10c2dbf9d..4c2a10d8c4 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 fdc369bd8c..9b51d6dd6d 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 7f28207723..ab527a2cae 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 a961b9b5ae..5c86c2a4d8 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 3671b130fb..243b370ca9 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 83e2f77f18..2c9f7776c6 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 24a902a9a7..f888711808 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 a54a071606..062c171600 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 ce4665bb1a..51f5b00109 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 deb0150ecc..33dabbd888 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 f1447821fa..6870cf345e 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 9f04574cd3..155e506beb 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 5b5b2179ae..8e6d7e739e 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 e518e9a662..4b9f75a04e 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 afecc141ad..131cf6d4c9 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 98194bf242..2db3c39c5d 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 49ddabc9b1..7708d68b3c 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 20a4a05ef4..74e8a47239 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 6e2df44dfa..975fb13793 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 4ded80c55c..ddeed513b0 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 b4db67cf0f..6e20e589ac 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 7155a87cc7..bf6c939037 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 0b859ca5b2..3ca828b792 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 2162da629f..3137dc8ddb 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 b7666e3af5..45bcef75fa 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 d81ac3c947..931aa07b30 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 005c1d12c8..bfd0a5f7f0 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 8fb97dcc52..e3134ecee2 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 d617042ac9..1a559a8310 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 45b1214f79..4e724d4920 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 fe3f3aadd5..9f542e9369 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 63651e1749..66c4217989 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 c4d7c764ab..f0a030ae58 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 4d8b048d77..e25f788420 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 24e63bee86..0a8497d713 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 e7c873c192..b1888db12c 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 a985dcac29..7aeafbc799 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 1c31624932..8302fa4846 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 ea75874340..3ab80540b1 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 c82c08b7be..452a5ac7bf 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 f110aee713..5d695ebdac 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 0937f5e987..0e2a812a52 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 dae0829bd7..77d296c7e7 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 68fa2d1c3a..4f1bf58e54 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 4f196a0c94..bb1855d5ac 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 38eebbe415..120785b320 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 596ee098b9..5fba4ec04a 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 beb878a7d6..63e27c34ba 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 81e09e587e..00eb6070ed 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 66501ea13f..2ade91768f 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 53cf8c13b7..a0626a7008 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 2e5a1777ca..0c930f77fb 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 168711e373..751fde0dee 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 9ac4e41605..5e4c40e7f9 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 71b522555e..5ca450d5e3 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 922a89be43..c23b96df72 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 3d4e15c76e..9089156115 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 2f8ab89711..1987ba322e 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 e19e5ed9f5..731db7e491 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 a3087a37b5..259f037bfb 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 fe74e78c7e..ec9a75c106 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 7fdc50a219..9664a566ff 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 4c2ea00d68..b63d91022b 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 0b188987fe..43f43cbb5b 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 7cbd6b8f08..286535f6fb 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 1daa5af9c6..1a699e119e 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 97ef410d4b..f130f8697f 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 7d15e39bca..ad9a0499a4 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 442345ca4e..1ec548dfa8 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 586f8cf0b3..8744a8b991 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 b52ff9e5a3..e88e325f07 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 7c9dc57014..aa2bc3a1a0 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 badf64fa30..0bce77dacb 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 f018882def..1c3b3d130c 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 674f0c54ba..8103faa597 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 7dfac4d4a6..062bab1504 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 c38bb35c1c..ef36972d4a 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 bb83462a38..9072e813e1 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 c687a0fbe1..404b524d04 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 00ce439689..0a9307543d 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 d67d82f9b0..63d5f15644 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 199b7974ed..5fb22c0352 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 f39aed733f..e40575e897 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 55fd6eaf87..51a4dbdf0c 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 c7a7b38b54..5832a40f30 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 89da2cb731..2c4a7df903 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 6c90cc1bbe..1ed5ac60ba 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 8f23ee75b4..0c9b2d116e 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 ac238b01c4..018089cfb3 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 a8bf0de096..8195f72c9e 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 6d423a4ae7..871c0938ac 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 d83cb33d3e..7f7d124da3 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 0fc0ac67e1..e274c994b9 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 bcc9863d4a..5e9ca8e183 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 9ad8205ad1..fd5f6088e8 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 7f642bdac4..5780e78f6b 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 7d574371d2..029f888bd9 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 1e182e9532..78b728bbe6 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 6d9feeacf3..7b038c62a7 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 6a51d294d0..c1be7f19c9 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 7ffe77ff41..28b0253ea1 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 0300bf46b6..341f299f6e 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 eac4a6291c..2e1008a6c4 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 3b2f9a6c07..9a7a8a91b8 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 ad54c1673a..090598e99a 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 c04cf0d3be..eab56646ae 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 4c5d756f92..9a849cbb33 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 7f12b76d1d..54f8c4f50d 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 05c290e7e6..d742b93b81 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 529b436909..14bd34d6df 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 cb2b51ec4f..b660d38f4d 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 09e011ca22..9a82e8e8ee 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 41fa5f9cb6..a659a25aeb 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 2ec822de52..92399fb123 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 3efad08649..4c0e713ecc 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 493afe0ae8..1d18118902 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 ca98a5b280..a08bc595f2 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 0042460c44..6543194e49 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 f144fff23f..47aee57a4b 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 2ea27480fa..f2a03e8f59 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 3a74605444..1b9589a9ad 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 59ef3dedb0..2fa69129c6 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 68b087dc03..633c4ccbc6 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 112e248555..9adc43c7a9 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 af40ed8dc5..fc50d30e37 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 7ba58343dc..e4182e4c72 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 0d15479840..01266aa1e9 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 a261083416..6398577453 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 f070288541..e98709d68b 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 add655ab34..669e96be7a 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 9bf1a21ff7..2fb933d31b 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 96d913d9b1..09375cc71f 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 a332a71964..cc2167dab6 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 b212785e18..477512e65a 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 e915f9c676..8d6a21e61f 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 06ce86bf12..421f944c94 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 66b7d7cdb4..544b5b994f 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 69ccd90e7e..ce72407b3b 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 e3a052ea42..dd85d9e097 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 101f11af48..d9c35ecf73 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 d240830143..a52451677c 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 94981f8ef0..9c255d5845 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 931ff70018..f8b56e69d6 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 f19ba14b1e..bf53ba059f 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 7833bcbc9c..fd59818f3f 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 6a27ca5636..35aefca179 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 43868c936f..d45105404d 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 7b59e93ad0..284d88097f 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 b857c76a56..778faf40ba 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 557b48397b..b27ddd679f 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 d32f290cba..797a996f73 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 a120e24dd8..436a2e27d0 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 acd8e7a345..679a59ef5d 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 2cc9e4577e..99242a2335 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 2385a73ac2..a06de72b0f 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 f571426f29..e7a635683e 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 de29eb05d8..02fe7b33dd 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 ae3cf8514f..6eb4cd98fc 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 04f8215cd6..669c6580f2 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 2ec07c0882..e228df07e2 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 27bcd74e5c..522114338e 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 e9c3f5ad59..4843c8253f 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 89c12cb0d3..4147464384 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 13e0901852..6cb0eb42c3 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 d29aa00509..1309f99f42 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 99337337c2..585f4b6d4e 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 c029925eb1..e3697b6229 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 7fe6105cfc..f21851e460 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 640e80fbbe..f1f927fbb1 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 54354025c7..c65c0123ba 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 df018b7718..9af5aa236d 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 41592ea119..9968f1645a 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 0c263a64d0..7af45c210c 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 a8004877c8..e32d2aed94 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 b574000ec6..ff5b61fa12 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 a68bb25874..07bba24d84 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 ab29cb9377..ea0e27adeb 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 c530fe04ae..414ebdf634 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 f90c3a7e7a..dd49cc0cd3 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 2783b3d61f..4e4c45f268 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 221a70071e..09a4592ef7 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 46eb6e6c0a..5504a4be8b 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 f0d5b80728..b48d42766c 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 cce5b7e87b..a82e16b67a 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 da113e7436..f346c94cb0 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 ae5615e4f7..86d8f3dd0f 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 9e4e014018..f7a421c250 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 eeb2cce344..333a6e13f1 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 b62d98efed..e664861c2d 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 17d094aa7b..a245c8542a 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 e44679229b..e144d1003e 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 33d20d2426..21230d588c 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 12f0677287..4ec01b8375 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 e5d29c1b1d..dfe0a6add5 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 08bce5b0ad..9adc7ea9aa 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 3b7c5724e7..05d2002780 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 eb65f89df4..30c1ef7816 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 48784d5291..59053cb919 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 33a92c4752..17fa321de7 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 dff7801b3d..1880079aab 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 bdbdb06734..21f94788ae 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 b1ce643e47..a4babfa3a5 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 179e1b1353..6b84ae2fdf 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 5b5c9ec3bf..c6d04e7307 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 aa490b5367..b413232d8d 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 8a0efae335..6dd5137d1b 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 a52113d612..f4da6960f3 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 9ab4651cee..153baaad4f 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 40d0427472..4d3e901e4d 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 19332c3fe0..a57b573f9c 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 1c2d73e528..eefca4f5b5 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 09a7dcebc8..ef2c241d94 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 7cf4b2592b..fcf549f521 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 6bbb063460..d26b832f57 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 47342ac8ad..eb12506ba2 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 7b1e95ed46..0a4cd246dc 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 57253e24d3..250f010238 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 1e5e5e5739..0a35733aa9 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 e219f4fd65..e8b824a8b6 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 e971b6db8a..bcf9b2f721 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 d90d03475f..2bfdc11fab 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 12c1d5a61e..f83aa98a61 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 270123d6b5..49d43fdf71 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 7c8cd84c6e..d85c757e31 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 007c2fcabe..a0c3e91cc6 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 a688723aa8..a49071b9cd 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 251ff575d3..8dd4e8d990 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 d37cafde10..6ed3fae95c 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 2055a4e6af..65206e7a4a 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 2eb00a1adb..17d7c9c3e5 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 03cfc5fdc8..fa02673228 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 9f23e18f28..f81ff985c3 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 2de6af4c60..7a65134251 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 c2b3463a62..34819d1b24 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 59de9b6603..2c0aef6df5 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 21e8f79374..c208e89d9c 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 0fce850eb0..3d1daa65ba 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 eb90f80786..402e3b49d0 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 f3e5e10e73..abaf5099f6 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 a7fdd6d0a2..2ba263f231 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 66d432d589..62af3aebe2 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 094f1e6e12..b2053248cd 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 c6b2cc859e..22906ccbea 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 006756ebdf..dabdf33bd6 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 c5d219cf64..fb98179ff4 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 733f94967b..4382e81cf6 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 a9671369e3..1b24a1bb16 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 16b50f4ba0..da2e2fe65d 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 10e770ccff..87aa20a0fc 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 c1efe8a414..c2d0f11108 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 71c89dfb7e..aa1bfbe283 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 28ce3f98e8..dd4890c767 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 9f5051d502..302d4e203a 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 7aa2a1cfcd..ec681e779d 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 5dca9a763f..eeaa1f38b3 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 a3de5abba9..4f0dbe6731 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 212fc5c5e7..a73de58bf8 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 05f35c2030..36a0877359 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 88430ef8ee..9b63084694 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 38b3bfef88..d116ad451d 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 48ed7928ca..8984651e6a 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 f0f398c2d7..ddd954affa 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 e6e91b3100..dc91e0c026 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 43e8fef114..7a88c724d0 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 13f7957a67..7eb7ef87d7 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 5150d8ead1..7b0a4af97d 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 362fba9325..678789f1c6 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 b413198b46..38ba04712d 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 18d313dfb5..570181a95a 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 0b7b67499d..426958bc44 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 b2b8ab338b..9ccda071cf 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 9e64fff1b3..a47f5c0b14 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 9d1cf2d830..7136643f32 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 a7d12a5c86..e71c9abacf 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 918cbbb52f..883a54db8c 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 d13ad401a5..e80a435f1c 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 bf6fb7c130..5f4196b30c 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 5d5552b89e..d8e59cea08 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 73f57e3f35..0bd05556ba 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 e8d346feef..a98f55e0c1 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 8c4078b6cb..59ccbaeebb 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 ea29e867cb..dd778ed233 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 bcd0ea97d2..34927fbadb 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 35da9baee1..63f087fab9 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 25f9e313fa..e2385b3d5c 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 82bc2d2856..c120315d34 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 8f1fbca4dd..b67a4af872 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 cc43d4e482..6dd7f44b4d 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 528bbfeb16..1844031e14 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 365e23cfc6..d594717f71 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 d961d59b97..fd57b162d3 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 2910594d68..a227637c4f 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 f247c958b6..5a08d021cd 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 e26d5b7b04..1955a2e88d 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 c115c813c6..b396c22713 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 25e30b1e6a..8fff51e450 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 bd6c582052..e95f0d984f 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 d77d826272..0a4436f8d9 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 b3ec2f256c..c216687604 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 72b755cdc9..2f48794f46 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 1cc9d2b401..31b894dc95 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 713f3a579f..ff978af28b 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 51627f1300..3bb0074842 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 bd15c03c36..8326f58b30 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 1c12d5026a..91d0bd7bb0 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 15e282b52f..95bebd91a1 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 021df59b6c..04d3d31dfd 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 e0c32b63d5..938d2a373e 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 1b793f67d2..8d02630c52 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 314e244c96..3a6515881e 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 719afee49f..e749fd6598 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 6bcb7e356e..e3502aebb1 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 167bb79dbf..0966690133 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 676752380f..a5d497fa14 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 037a8bf666..4bd5854b53 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 c134d7ecf8..44abb8e617 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 0a69604bd1..8fc152d4ef 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 3450e668b7..aa82ef3ac2 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 93b7eac4ce..1333b82b3b 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 b3347c10e4..4e232dc159 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 c21167c17c..c935847a95 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 cdd2012802..dbcc53ff98 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 && (