diff --git a/lib/routes/36kr/hot-list.ts b/lib/routes/36kr/hot-list.ts index 640cdd74f848cf..46b072ddd9e2fe 100644 --- a/lib/routes/36kr/hot-list.ts +++ b/lib/routes/36kr/hot-list.ts @@ -26,7 +26,7 @@ const categories = { export const route: Route = { path: '/hot-list/:category?', - categories: ['new-media'], + categories: ['new-media', 'popular'], example: '/36kr/hot-list', parameters: { category: '分类,默认为24小时热榜' }, features: { diff --git a/lib/routes/36kr/index.ts b/lib/routes/36kr/index.ts index c026c55916db1a..82b64f29bb82ef 100644 --- a/lib/routes/36kr/index.ts +++ b/lib/routes/36kr/index.ts @@ -18,7 +18,7 @@ const shortcuts = { export const route: Route = { path: '/:category/:subCategory?/:keyword?', - categories: ['new-media'], + categories: ['new-media', 'popular'], example: '/36kr/newsflashes', parameters: { category: '分类,必填项', diff --git a/lib/routes/aeon/category.ts b/lib/routes/aeon/category.ts index b2a707211592a5..adb68f0a3e6fbc 100644 --- a/lib/routes/aeon/category.ts +++ b/lib/routes/aeon/category.ts @@ -5,7 +5,7 @@ import { getData } from './utils'; export const route: Route = { path: '/category/:category', - categories: ['new-media'], + categories: ['new-media', 'popular'], example: '/aeon/category/philosophy', parameters: { category: 'Category' }, features: { diff --git a/lib/routes/aeon/type.ts b/lib/routes/aeon/type.ts index 02dc0e277be952..8b78bfc4334d7e 100644 --- a/lib/routes/aeon/type.ts +++ b/lib/routes/aeon/type.ts @@ -5,7 +5,7 @@ import { getData } from './utils'; export const route: Route = { path: '/:type', - categories: ['new-media'], + categories: ['new-media', 'popular'], example: '/aeon/essays', parameters: { type: 'Type' }, features: { diff --git a/lib/routes/aibase/discover.ts b/lib/routes/aibase/discover.ts index 2728f54374ed48..ac70b06cfb3567 100644 --- a/lib/routes/aibase/discover.ts +++ b/lib/routes/aibase/discover.ts @@ -189,7 +189,7 @@ export const route: Route = { | [法律](https://top.aibase.com/discover/138-139) | [138-139](https://rsshub.app/aibase/discover/138-139) | `, - categories: ['new-media'], + categories: ['new-media', 'popular'], features: { requireConfig: false, diff --git a/lib/routes/aibase/news.ts b/lib/routes/aibase/news.ts index cdc173d01fb48a..0115423b69b2aa 100644 --- a/lib/routes/aibase/news.ts +++ b/lib/routes/aibase/news.ts @@ -58,7 +58,7 @@ export const route: Route = { }, example: '/aibase/news', description: '获取 AI 资讯列表', - categories: ['new-media'], + categories: ['new-media', 'popular'], features: { requireConfig: false, requirePuppeteer: false, diff --git a/lib/routes/aibase/topic.ts b/lib/routes/aibase/topic.ts index 78e0fe11ddfb11..1921ba2577c763 100644 --- a/lib/routes/aibase/topic.ts +++ b/lib/routes/aibase/topic.ts @@ -90,7 +90,7 @@ export const route: Route = { | [娱乐](https://top.aibase.com/topic/%E5%A8%B1%E4%B9%90) | [简历](https://top.aibase.com/topic/%E7%AE%80%E5%8E%86) | [OpenAI](https://top.aibase.com/topic/OpenAI) | [客户服务](https://top.aibase.com/topic/%E5%AE%A2%E6%88%B7%E6%9C%8D%E5%8A%A1) | [室内设计](https://top.aibase.com/topic/%E5%AE%A4%E5%86%85%E8%AE%BE%E8%AE%A1) | `, - categories: ['new-media'], + categories: ['new-media', 'popular'], features: { requireConfig: false, diff --git a/lib/routes/appleinsider/index.ts b/lib/routes/appleinsider/index.ts index e61c774cda0bba..bcafb0e3b69f45 100644 --- a/lib/routes/appleinsider/index.ts +++ b/lib/routes/appleinsider/index.ts @@ -6,7 +6,7 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/:category?', - categories: ['new-media'], + categories: ['new-media', 'popular'], example: '/appleinsider', parameters: { category: 'Category, see below, News by default' }, features: { diff --git a/lib/routes/cara/likes.ts b/lib/routes/cara/likes.ts index 52f800b2709874..bee254f5a6730d 100644 --- a/lib/routes/cara/likes.ts +++ b/lib/routes/cara/likes.ts @@ -11,7 +11,7 @@ const __dirname = getCurrentPath(import.meta.url); export const route: Route = { path: ['/likes/:user'], - categories: ['social-media'], + categories: ['social-media', 'popular'], example: '/cara/likes/fengz', parameters: { user: 'username' }, name: 'Likes', diff --git a/lib/routes/cara/portfolio.ts b/lib/routes/cara/portfolio.ts index bfbc41b5d0084a..2151d66328662c 100644 --- a/lib/routes/cara/portfolio.ts +++ b/lib/routes/cara/portfolio.ts @@ -6,7 +6,7 @@ import cache from '@/utils/cache'; export const route: Route = { path: ['/portfolio/:user'], - categories: ['social-media'], + categories: ['social-media', 'popular'], example: '/cara/portfolio/fengz', parameters: { user: 'username' }, name: 'Portfolio', diff --git a/lib/routes/cara/timeline.ts b/lib/routes/cara/timeline.ts index 3b05cf2a93a2bc..ebdd485801bbf5 100644 --- a/lib/routes/cara/timeline.ts +++ b/lib/routes/cara/timeline.ts @@ -11,7 +11,7 @@ const __dirname = getCurrentPath(import.meta.url); export const route: Route = { path: ['/timeline/:user'], - categories: ['social-media'], + categories: ['social-media', 'popular'], example: '/cara/timeline/fengz', parameters: { user: 'username' }, name: 'Timeline', diff --git a/lib/routes/chub/characters.ts b/lib/routes/chub/characters.ts index 0f34350658848c..473eb5f53282c5 100644 --- a/lib/routes/chub/characters.ts +++ b/lib/routes/chub/characters.ts @@ -4,7 +4,7 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/characters', - categories: ['new-media'], + categories: ['new-media', 'popular'], example: '/chub/characters', name: 'Characters', maintainers: ['flameleaf'], diff --git a/lib/routes/cnbeta/namespace.ts b/lib/routes/cnbeta/namespace.ts index 3d69cd68d94729..d703fd32ee9c3a 100644 --- a/lib/routes/cnbeta/namespace.ts +++ b/lib/routes/cnbeta/namespace.ts @@ -3,6 +3,6 @@ import type { Namespace } from '@/types'; export const namespace: Namespace = { name: 'cnBeta.COM', url: 'cnbeta.com.tw', - categories: ['new-media'], + categories: ['new-media', 'popular'], lang: 'zh-TW', }; diff --git a/lib/routes/dcfever/news.ts b/lib/routes/dcfever/news.ts index e9364c9cf40d10..ff2235fb428dfa 100644 --- a/lib/routes/dcfever/news.ts +++ b/lib/routes/dcfever/news.ts @@ -5,7 +5,7 @@ import { baseUrl, parseItem } from './utils'; export const route: Route = { path: '/news/:type?', - categories: ['new-media'], + categories: ['new-media', 'popular'], example: '/dcfever/news', parameters: { type: '分類,預設為所有新聞' }, name: '新聞中心', diff --git a/lib/routes/dcfever/reviews.ts b/lib/routes/dcfever/reviews.ts index f7ba620d79ab23..61e58354fb43be 100644 --- a/lib/routes/dcfever/reviews.ts +++ b/lib/routes/dcfever/reviews.ts @@ -5,7 +5,7 @@ import { baseUrl, parseItem } from './utils'; export const route: Route = { path: '/reviews/:type?', - categories: ['new-media'], + categories: ['new-media', 'popular'], example: '/dcfever/reviews/cameras', parameters: { type: '分類,預設為 `cameras`' }, radar: [ diff --git a/lib/routes/dcfever/trading-search.ts b/lib/routes/dcfever/trading-search.ts index b5d85a60a4ba6f..f812a301039186 100644 --- a/lib/routes/dcfever/trading-search.ts +++ b/lib/routes/dcfever/trading-search.ts @@ -6,7 +6,7 @@ import { baseUrl, parseTradeItem } from './utils'; export const route: Route = { path: '/trading/search/:keyword/:mainCat?', - categories: ['new-media'], + categories: ['new-media', 'popular'], example: '/dcfever/trading/search/Sony', parameters: { keyword: '關鍵字', mainCat: '主要分類 ID,見上表' }, name: '二手市集 - 物品搜尋', diff --git a/lib/routes/dcfever/trading.ts b/lib/routes/dcfever/trading.ts index daf1cc4e9b227c..6c994e910f50e3 100644 --- a/lib/routes/dcfever/trading.ts +++ b/lib/routes/dcfever/trading.ts @@ -6,7 +6,7 @@ import { baseUrl, parseTradeItem } from './utils'; export const route: Route = { path: '/trading/:id', - categories: ['new-media'], + categories: ['new-media', 'popular'], example: '/dcfever/trading/1', parameters: { id: '分類 ID,見下表' }, name: '二手市集', diff --git a/lib/routes/deepmind/blog.ts b/lib/routes/deepmind/blog.ts index 3697e645e44030..88fe1bcc8a948b 100644 --- a/lib/routes/deepmind/blog.ts +++ b/lib/routes/deepmind/blog.ts @@ -6,7 +6,7 @@ import parser from '@/utils/rss-parser'; export const route: Route = { path: '/blog', - categories: ['new-media'], + categories: ['new-media', 'popular'], example: '/deepmind/blog', parameters: {}, features: { diff --git a/lib/routes/digitalcameraworld/news.ts b/lib/routes/digitalcameraworld/news.ts index df2d5578613724..a29699bc2caac7 100644 --- a/lib/routes/digitalcameraworld/news.ts +++ b/lib/routes/digitalcameraworld/news.ts @@ -5,7 +5,7 @@ import { parseDate } from '@/utils/parse-date'; const host = 'https://www.digitalcameraworld.com'; export const route: Route = { path: '/news', - categories: ['new-media'], + categories: ['new-media', 'popular'], example: '/digitalcameraworld/news', parameters: {}, features: { diff --git a/lib/routes/dn/news.ts b/lib/routes/dn/news.ts index 92fb012705bbdc..1f5015c6695fd5 100644 --- a/lib/routes/dn/news.ts +++ b/lib/routes/dn/news.ts @@ -12,7 +12,7 @@ import path from 'node:path'; export const route: Route = { path: '/:language/news/:category?', - categories: ['new-media'], + categories: ['new-media', 'popular'], example: '/dn/en-us/news', parameters: { language: 'Language, see below', category: 'Category, see below, The Latest by default' }, features: { diff --git a/lib/routes/fashionnetwork/namespace.ts b/lib/routes/fashionnetwork/namespace.ts index d5d9caae9359b6..da4463661b20bc 100644 --- a/lib/routes/fashionnetwork/namespace.ts +++ b/lib/routes/fashionnetwork/namespace.ts @@ -3,7 +3,7 @@ import type { Namespace } from '@/types'; export const namespace: Namespace = { name: 'FashionNetwork', url: 'fashionnetwork.cn', - categories: ['new-media'], + categories: ['new-media', 'popular'], description: '', lang: 'zh-CN', }; diff --git a/lib/routes/foresightnews/article.ts b/lib/routes/foresightnews/article.ts index d9798ab3922469..2c16a16e5f594f 100644 --- a/lib/routes/foresightnews/article.ts +++ b/lib/routes/foresightnews/article.ts @@ -3,7 +3,7 @@ import { rootUrl, apiRootUrl, processItems, icon, image } from './util'; export const route: Route = { path: '/article', - categories: ['new-media'], + categories: ['new-media', 'popular'], example: '/foresightnews/article', parameters: {}, features: { diff --git a/lib/routes/foresightnews/column.ts b/lib/routes/foresightnews/column.ts index 04074ccfae8214..1d9f4fce501344 100644 --- a/lib/routes/foresightnews/column.ts +++ b/lib/routes/foresightnews/column.ts @@ -3,7 +3,7 @@ import { rootUrl, apiRootUrl, processItems, icon, image } from './util'; export const route: Route = { path: '/column/:id', - categories: ['new-media'], + categories: ['new-media', 'popular'], example: '/foresightnews/column/1', parameters: { id: '专栏 id, 可在对应专栏页 URL 中找到' }, features: { diff --git a/lib/routes/foresightnews/index.ts b/lib/routes/foresightnews/index.ts index e93dc01415fb0b..dfb742240d4ced 100644 --- a/lib/routes/foresightnews/index.ts +++ b/lib/routes/foresightnews/index.ts @@ -3,13 +3,15 @@ import { rootUrl, apiRootUrl, processItems, icon, image } from './util'; export const route: Route = { path: '/', + categories: ['new-media', 'popular'], + example: '/foresightnews', radar: [ { source: ['foresightnews.pro/'], target: '', }, ], - name: 'Unknown', + name: '精选资讯', maintainers: ['nczitzk'], handler, url: 'foresightnews.pro/', diff --git a/lib/routes/foresightnews/news.ts b/lib/routes/foresightnews/news.ts index e5587f0327e6d2..c78db44f0d9572 100644 --- a/lib/routes/foresightnews/news.ts +++ b/lib/routes/foresightnews/news.ts @@ -3,7 +3,7 @@ import { rootUrl, apiRootUrl, processItems, icon, image } from './util'; export const route: Route = { path: '/news', - categories: ['new-media'], + categories: ['new-media', 'popular'], example: '/foresightnews/news', parameters: {}, features: { diff --git a/lib/routes/ftm/index.ts b/lib/routes/ftm/index.ts index c840337892a5e6..3b10b1c649b4b9 100644 --- a/lib/routes/ftm/index.ts +++ b/lib/routes/ftm/index.ts @@ -7,7 +7,7 @@ import ofetch from '@/utils/ofetch'; export const route: Route = { path: '/', - categories: ['new-media'], + categories: ['new-media', 'popular'], example: '/ftm', parameters: {}, name: '文章', diff --git a/lib/routes/furaffinity/browse.ts b/lib/routes/furaffinity/browse.ts index eb423cbf490c45..6f51098c13c49f 100644 --- a/lib/routes/furaffinity/browse.ts +++ b/lib/routes/furaffinity/browse.ts @@ -5,7 +5,7 @@ export const route: Route = { path: '/browse/:mode?', name: 'Browse', url: 'furaffinity.net', - categories: ['social-media'], + categories: ['social-media', 'popular'], example: '/furaffinity/browse/nsfw', maintainers: ['TigerCubDen', 'SkyNetX007'], parameters: { mode: 'R18 content toggle, default value is sfw, options are sfw, nsfw' }, diff --git a/lib/routes/furaffinity/home.ts b/lib/routes/furaffinity/home.ts index 383b79e92e51d9..5db61ad3aedd8e 100644 --- a/lib/routes/furaffinity/home.ts +++ b/lib/routes/furaffinity/home.ts @@ -5,7 +5,7 @@ export const route: Route = { path: '/home/:category/:mode?', name: 'Home', url: 'furaffinity.net', - categories: ['social-media'], + categories: ['social-media', 'popular'], example: '/furaffinity/home/nsfw', maintainers: ['TigerCubDen', 'SkyNetX007'], parameters: { diff --git a/lib/routes/furaffinity/journals.ts b/lib/routes/furaffinity/journals.ts index df13b826215f78..f630c23c505480 100644 --- a/lib/routes/furaffinity/journals.ts +++ b/lib/routes/furaffinity/journals.ts @@ -5,7 +5,7 @@ export const route: Route = { path: '/journals/:username', name: 'Journals', url: 'furaffinity.net', - categories: ['social-media'], + categories: ['social-media', 'popular'], example: '/furaffinity/journals/fender', maintainers: ['TigerCubDen', 'SkyNetX007'], parameters: { username: 'Username, can find in userpage' }, diff --git a/lib/routes/furaffinity/search.ts b/lib/routes/furaffinity/search.ts index 1f9d9eda202819..88855f4e1da0e7 100644 --- a/lib/routes/furaffinity/search.ts +++ b/lib/routes/furaffinity/search.ts @@ -5,7 +5,7 @@ export const route: Route = { path: '/search/:query/:mode?/:routeParams?', name: 'Search', url: 'furaffinity.net', - categories: ['social-media'], + categories: ['social-media', 'popular'], example: '/furaffinity/search/protogen/nsfw', maintainers: ['TigerCubDen', 'SkyNetX007'], parameters: { diff --git a/lib/routes/furaffinity/shouts.ts b/lib/routes/furaffinity/shouts.ts index 94e5c071a0caf2..0d20a2faf86a9a 100644 --- a/lib/routes/furaffinity/shouts.ts +++ b/lib/routes/furaffinity/shouts.ts @@ -5,7 +5,7 @@ export const route: Route = { path: '/shouts/:username', name: 'Shouts', url: 'furaffinity.net', - categories: ['social-media'], + categories: ['social-media', 'popular'], example: '/furaffinity/shouts/fender', maintainers: ['TigerCubDen', 'SkyNetX007'], parameters: { username: 'Username, can find in userpage' }, diff --git a/lib/routes/furaffinity/status.ts b/lib/routes/furaffinity/status.ts index 5c4201558b8aea..038d155a9f1661 100644 --- a/lib/routes/furaffinity/status.ts +++ b/lib/routes/furaffinity/status.ts @@ -5,7 +5,7 @@ export const route: Route = { path: '/status', name: 'Status', url: 'furaffinity.net', - categories: ['social-media'], + categories: ['social-media', 'popular'], example: '/furaffinity/status', maintainers: ['TigerCubDen', 'SkyNetX007'], parameters: {}, diff --git a/lib/routes/keep/user.ts b/lib/routes/keep/user.ts index fa2fc31efb6e99..0b4a82f0ef26c3 100644 --- a/lib/routes/keep/user.ts +++ b/lib/routes/keep/user.ts @@ -8,7 +8,7 @@ import path from 'node:path'; export const route: Route = { path: '/user/:id', - categories: ['social-media'], + categories: ['social-media', 'popular'], example: '/keep/user/556b02c1ab59390afea671ea', parameters: { id: 'Keep 用户 id' }, features: { diff --git a/lib/routes/lofter/collection.ts b/lib/routes/lofter/collection.ts index 7ec2784d807e43..fb4bb596c7c5b6 100644 --- a/lib/routes/lofter/collection.ts +++ b/lib/routes/lofter/collection.ts @@ -6,7 +6,7 @@ import { parseDate } from '@/utils/parse-date'; export const route: Route = { path: '/collection/:collectionID', - categories: ['social-media'], + categories: ['social-media', 'popular'], example: '/lofter/collection/552041', parameters: { collectionID: 'Lofter collection ID, can be found in the share URL' }, features: { diff --git a/lib/routes/lofter/tag.ts b/lib/routes/lofter/tag.ts index 4257c5c822e7e7..45759d093c7bd8 100644 --- a/lib/routes/lofter/tag.ts +++ b/lib/routes/lofter/tag.ts @@ -6,7 +6,7 @@ import { JSDOM } from 'jsdom'; export const route: Route = { path: '/tag/:name?/:type?', - categories: ['social-media'], + categories: ['social-media', 'popular'], example: '/lofter/tag/cosplay/date', parameters: { name: 'tag name, such as `名侦探柯南`, `摄影` by default', type: 'ranking type, see below, new by default' }, features: { diff --git a/lib/routes/plurk/anonymous.ts b/lib/routes/plurk/anonymous.ts index 453e768671b73e..25f2cb72d682f1 100644 --- a/lib/routes/plurk/anonymous.ts +++ b/lib/routes/plurk/anonymous.ts @@ -5,7 +5,7 @@ import { baseUrl, getPlurk } from './utils'; export const route: Route = { path: '/anonymous', - categories: ['social-media'], + categories: ['social-media', 'popular'], example: '/plurk/anonymous', parameters: {}, features: { diff --git a/lib/routes/plurk/hotlinks.ts b/lib/routes/plurk/hotlinks.ts index 503ef59a6adff4..2c45a216de8a24 100644 --- a/lib/routes/plurk/hotlinks.ts +++ b/lib/routes/plurk/hotlinks.ts @@ -5,7 +5,7 @@ import { baseUrl, getPlurk } from './utils'; export const route: Route = { path: '/hotlinks', - categories: ['social-media'], + categories: ['social-media', 'popular'], example: '/plurk/hotlinks', parameters: {}, features: { diff --git a/lib/routes/plurk/news.ts b/lib/routes/plurk/news.ts index 29a9a1c1dda878..831c9afb972f4e 100644 --- a/lib/routes/plurk/news.ts +++ b/lib/routes/plurk/news.ts @@ -5,7 +5,7 @@ import { baseUrl, fetchFriends, getPlurk } from './utils'; export const route: Route = { path: '/news/:lang?', - categories: ['social-media'], + categories: ['social-media', 'popular'], example: '/plurk/news/:lang?', parameters: { lang: 'Language, see the table above, `en` by default' }, features: { diff --git a/lib/routes/plurk/search.ts b/lib/routes/plurk/search.ts index 58764cb4048f60..ae6ad44a1cdfa5 100644 --- a/lib/routes/plurk/search.ts +++ b/lib/routes/plurk/search.ts @@ -6,7 +6,7 @@ import { baseUrl, getPlurk } from './utils'; export const route: Route = { path: '/search/:keyword', - categories: ['social-media'], + categories: ['social-media', 'popular'], example: '/plurk/search/FGO', parameters: { keyword: 'Search keyword' }, features: { diff --git a/lib/routes/telegram/stickerpack.ts b/lib/routes/telegram/stickerpack.ts index 2c9e2eb91a7147..524887cd8ba09b 100644 --- a/lib/routes/telegram/stickerpack.ts +++ b/lib/routes/telegram/stickerpack.ts @@ -5,7 +5,7 @@ import ConfigNotFoundError from '@/errors/types/config-not-found'; export const route: Route = { path: '/stickerpack/:name', - categories: ['social-media', 'popular'], + categories: ['social-media'], view: ViewType.Pictures, example: '/telegram/stickerpack/DIYgod', parameters: { name: 'Sticker Pack name, available in the sharing URL' }, diff --git a/lib/routes/vocus/publication.ts b/lib/routes/vocus/publication.ts index e144d1003e84e6..fc829902028431 100644 --- a/lib/routes/vocus/publication.ts +++ b/lib/routes/vocus/publication.ts @@ -5,7 +5,7 @@ import { processList, ProcessFeed, baseUrl, apiUrl } from './utils'; export const route: Route = { path: '/publication/:id', - categories: ['social-media'], + categories: ['social-media', 'popular'], example: '/vocus/publication/bass', parameters: { id: '出版專題 id,可在出版專題主页的 URL 找到' }, features: { diff --git a/lib/routes/vocus/user.ts b/lib/routes/vocus/user.ts index 95263d1d267934..fd4e9d623765b3 100644 --- a/lib/routes/vocus/user.ts +++ b/lib/routes/vocus/user.ts @@ -5,7 +5,7 @@ import { processList, ProcessFeed, baseUrl, apiUrl } from './utils'; export const route: Route = { path: '/user/:id', - categories: ['social-media'], + categories: ['social-media', 'popular'], example: '/vocus/user/tsetyan', parameters: { id: '用户 id,可在用户主页的 URL 找到' }, features: {