diff --git a/lib/routes/1point3acres/offer.tsx b/lib/routes/1point3acres/offer.tsx index 282e2d71d..a7f1797c2 100644 --- a/lib/routes/1point3acres/offer.tsx +++ b/lib/routes/1point3acres/offer.tsx @@ -35,7 +35,8 @@ export const route: Route = { 4. 点击 搜索 按钮 5. 点击 results?ps=15\\&pg=1 POST 请求 6. 找到 Request Payload 请求参数,例如 \`filters: {planyr: "13", planmajor: "1", outname_w: "ACADIAU"}\` ,则三个 id 分别为: 13,1,ACADIAU - :::`, + +:::`, }; async function handler(ctx) { diff --git a/lib/routes/buaa/jiaowu.ts b/lib/routes/buaa/jiaowu.ts index 77fa9d0d9..2bcfc4da5 100644 --- a/lib/routes/buaa/jiaowu.ts +++ b/lib/routes/buaa/jiaowu.ts @@ -26,7 +26,8 @@ export const route: Route = { 1. 新闻快讯页面的链接中 \`onclick="javascript:onNewsList('03');return false;"\`,对应的路径参数为 \`03\`,完整路由为 \`/buaa/jiaowu/03\`; 2. 通知公告 > 公示专区页面的链接中 \`onclick="javascript:onNewsList2('0203','2');return false;"\`,对应的路径参数为 \`0203\`,完整路由为 \`/buaa/jiaowu/0203\`。 - :::`, + +:::`, categories: ['university'], features: { requireConfig: false, diff --git a/lib/routes/dehenglaw/index.ts b/lib/routes/dehenglaw/index.ts index 204c65582..c5966d874 100644 --- a/lib/routes/dehenglaw/index.ts +++ b/lib/routes/dehenglaw/index.ts @@ -94,7 +94,8 @@ export const route: Route = { | 专业文章 | 出版物 | 德恒论坛 | | -------- | ------- | -------- | | paper | publish | luntan | -| ::: | | |`, + +:::`, categories: ['new-media'], features: { diff --git a/lib/routes/dongqiudi/namespace.ts b/lib/routes/dongqiudi/namespace.ts index f346e4e6f..0ae79def4 100644 --- a/lib/routes/dongqiudi/namespace.ts +++ b/lib/routes/dongqiudi/namespace.ts @@ -7,6 +7,7 @@ export const namespace: Namespace = { description: `::: tip - 可以通过头条新闻 + 参数过滤的形式获得早报、专题等内容。 - :::`, + +:::`, lang: 'zh-CN', }; diff --git a/lib/routes/douban/people/status.ts b/lib/routes/douban/people/status.ts index d1bd87614..f5a225d4f 100644 --- a/lib/routes/douban/people/status.ts +++ b/lib/routes/douban/people/status.ts @@ -21,7 +21,8 @@ export const route: Route = { - **目前只支持整数型 id** - 字母型的 id,可以通过头像图片链接来找到其整数型 id,图片命名规则\`ul[userid]-*.jpg\`或\`u[userid]-*.jpg\`,即取文件名中间的数字 - 例如:用户 id: \`MovieL\`他的头像图片链接:\`https://img1.doubanio.com/icon/ul1128221-98.jpg\`他的整数型 id: \`1128221\` - ::: + +::: 对于豆瓣用户广播内容,在 \`routeParams\` 参数中以 query string 格式设置如下选项可以控制输出的样式 diff --git a/lib/routes/douyin/namespace.ts b/lib/routes/douyin/namespace.ts index ec399e656..8741abbbb 100644 --- a/lib/routes/douyin/namespace.ts +++ b/lib/routes/douyin/namespace.ts @@ -9,7 +9,8 @@ export const namespace: Namespace = { 1. 启用内嵌视频 (\`embed=1\`), 参考 [通用参数 -> 多媒体处理](/parameter#多媒体处理) 配置 \`multimedia_hotlink_template\` **或** \`wrap_multimedia_in_iframe\`。 2. 关闭内嵌视频 (\`embed=0\`),手动点击 \`视频直链\` 超链接,一般情况下均可成功播放视频。若仍然出现 HTTP 403,请复制 URL 以后到浏览器打开。 3. 点击原文链接打开抖音网页版的视频详情页播放视频。 - ::: + +::: 额外参数 diff --git a/lib/routes/finology/category.ts b/lib/routes/finology/category.ts index 921763e0f..e654b035a 100644 --- a/lib/routes/finology/category.ts +++ b/lib/routes/finology/category.ts @@ -37,7 +37,8 @@ export const route: Route = { | Financial Ratios | stock-ratios | | Investor's Psychology | behavioral-finance | | Mutual Funds | mutual-fund | -| ::: | |`, + +:::`, }; async function handler(ctx: Context) { diff --git a/lib/routes/finology/tag.ts b/lib/routes/finology/tag.ts index 7abfc81fc..bc1dd8e76 100644 --- a/lib/routes/finology/tag.ts +++ b/lib/routes/finology/tag.ts @@ -50,7 +50,8 @@ export const route: Route = { | World News | world-news | | Technology | technology | | Regulatory Bodies | regulatory-bodies | -| ::: | |`, + +:::`, }; async function handler(ctx: Context) { diff --git a/lib/routes/ft/myft.ts b/lib/routes/ft/myft.ts index 036656541..96b57d864 100644 --- a/lib/routes/ft/myft.ts +++ b/lib/routes/ft/myft.ts @@ -25,7 +25,8 @@ export const route: Route = { - Visit ft.com -> myFT -> Contact Preferences to enable personal RSS feed, see [help.ft.com](https://help.ft.com/faq/email-alerts-and-contact-preferences/what-is-myft-rss-feed/) - Obtain the key from the personal RSS address, it looks like \`12345678-abcd-4036-82db-vdv20db024b8\` - :::`, + +:::`, }; async function handler(ctx) { diff --git a/lib/routes/ftchinese/channel.ts b/lib/routes/ftchinese/channel.ts index 1df96a672..ec85633d0 100644 --- a/lib/routes/ftchinese/channel.ts +++ b/lib/routes/ftchinese/channel.ts @@ -21,7 +21,8 @@ export const route: Route = { description: `::: tip - 不支持付费文章。 - ::: + +::: 通过提取文章全文,以提供比官方源更佳的阅读体验。 diff --git a/lib/routes/github/namespace.ts b/lib/routes/github/namespace.ts index 497ba62d5..bbee407a5 100644 --- a/lib/routes/github/namespace.ts +++ b/lib/routes/github/namespace.ts @@ -11,6 +11,7 @@ GitHub provides some official RSS feeds: - User activities: \`https://github.com/:user.atom\` - Private feed: \`https://github.com/:user.private.atom?token=:secret\` (Note: You can ONLY obtain this url via an [API](https://docs.github.com/en/rest/activity/feeds?apiVersion=2022-11-28) call with a [Personal Access Token](https://github.com/settings/tokens/new) with **ENOUGH** scopes now.) - Wiki history: \`https://github.com/:owner/:repo/wiki.atom\` - :::`, + +:::`, lang: 'en', }; diff --git a/lib/routes/ifi-audio/download.ts b/lib/routes/ifi-audio/download.ts index 86655498d..d6b61b991 100644 --- a/lib/routes/ifi-audio/download.ts +++ b/lib/routes/ifi-audio/download.ts @@ -26,7 +26,8 @@ export const route: Route = { 1. Open and the Network panel 2. Select the device and the corresponding serial number in the website and click Search 3. Find the last request named \`https://ifi-audio.com/wp-admin/admin-ajax.php\` in the Network panel, find out the val and id in the Payload panel, and fill in the url - :::`, + +:::`, }; async function handler(ctx) { diff --git a/lib/routes/javbus/namespace.ts b/lib/routes/javbus/namespace.ts index 6a9111fd4..9945bf4d9 100644 --- a/lib/routes/javbus/namespace.ts +++ b/lib/routes/javbus/namespace.ts @@ -13,7 +13,8 @@ You can change the language of each route to the languages listed below. | English | 日本语 | 한국의 | 中文 | | ------- | ------ | ------ | ---------------- | | en | ja | ko | (leave it empty) | -| ::: | | | | + +::: ::: tip JavBus has multiple backup domains, these routes use default domain \`https://javbus.com\`. If the domain is unreachable, you can add \`?domain=\` to the end of the route to specify the domain to visit. Let say you want to use the backup domain \`https://javsee.icu\`, you can add \`?domain=javsee.icu\` to the end of the route, then the route will be [\`/javbus/en?domain=javsee.icu\`](https://rsshub.app/javbus?domain=javsee.icu) diff --git a/lib/routes/kemono/index.tsx b/lib/routes/kemono/index.tsx index f663a0f84..454e5d47a 100644 --- a/lib/routes/kemono/index.tsx +++ b/lib/routes/kemono/index.tsx @@ -68,7 +68,8 @@ Support for announcements and fancards: - Use \`/:source/:id/announcements\` to get announcements - Use \`/:source/:id/fancards\` to get fancards - :::`, + +:::`, }; function parseJsonField(field: any): any { diff --git a/lib/routes/kuaidi100/index.ts b/lib/routes/kuaidi100/index.ts index caab44e91..79f222857 100644 --- a/lib/routes/kuaidi100/index.ts +++ b/lib/routes/kuaidi100/index.ts @@ -25,7 +25,8 @@ export const route: Route = { 1. 构造链接前请确认所有参数正确:错误\`快递公司 - 订单号\`组合将会缓存信息一小段时间防止产生无用查询 2. 正常查询的订单在未签收状态下不会被缓存:请控制查询频率 3. 订单完成后请尽快取消订阅,避免资源浪费 - :::`, + +:::`, }; async function handler(ctx) { diff --git a/lib/routes/lrepacks/index.ts b/lib/routes/lrepacks/index.ts index 98eab4e91..acb256920 100644 --- a/lib/routes/lrepacks/index.ts +++ b/lib/routes/lrepacks/index.ts @@ -129,7 +129,8 @@ If you subscribe to [Системные программы](https://lrepacks.net | [Разные программы](https://lrepacks.net/repaki-raznyh-programm/) | [repaki-raznyh-programm](https://rsshub.app/lrepacks/repaki-raznyh-programm) | | [Системные библиотеки](https://lrepacks.net/sistemnye-biblioteki/) | [sistemnye-biblioteki](https://rsshub.app/lrepacks/sistemnye-biblioteki) | | [Важная информация](https://lrepacks.net/informaciya/) | [informaciya](https://rsshub.app/lrepacks/informaciya) | -| ::: | |`, + +:::`, categories: ['program-update'], features: { diff --git a/lib/routes/mercari/search.ts b/lib/routes/mercari/search.ts index fb0a8c73a..5ca3c4625 100644 --- a/lib/routes/mercari/search.ts +++ b/lib/routes/mercari/search.ts @@ -29,7 +29,8 @@ export const route: Route = { - 日本: \`keyword=シャツ&order=desc&sort=created_time&status=on_sale\` - 台灣: \`keyword=シャツ&sort=new&status=in-stock&availability=1\` - :::`, + +:::`, }; function parseSearchQuery(queryString: string) { diff --git a/lib/routes/nio/nioradio.ts b/lib/routes/nio/nioradio.ts index ad347c0a4..8c7859451 100644 --- a/lib/routes/nio/nioradio.ts +++ b/lib/routes/nio/nioradio.ts @@ -18,7 +18,8 @@ export const route: Route = { | 塞萌不塞车 | 661 | | 乐行记 | 11 | | Weekend Dance | 547 | -| ::: | |`, + +:::`, example: '/nio/nioradio/5', parameters: { albumid: '电台专辑 ID' }, features: { diff --git a/lib/routes/nyaa/namespace.ts b/lib/routes/nyaa/namespace.ts index eb6049460..5111922d0 100644 --- a/lib/routes/nyaa/namespace.ts +++ b/lib/routes/nyaa/namespace.ts @@ -12,6 +12,7 @@ The 'Nyaa' includes several routes to access different parts of the site: 4. \`/nyaa/sukebei/search/:query?\` - This route is for searching adult content with a specific query, e.g., \`/nyaa/sukebei/search/hentai\`. 5. \`/nyaa/sukebei/user/:username?\` - Access an adult content user's profile, e.g., \`/nyaa/sukebei/user/milannews\`. 6. \`/nyaa/sukebei/user/:username/search/:query?\` - Search within a specific user's adult content submissions, e.g., \`/nyaa/sukebei/user/milannews/search/hentai\`. - :::`, + +:::`, lang: 'en', }; diff --git a/lib/routes/p-articles/namespace.ts b/lib/routes/p-articles/namespace.ts index 6179ba83a..99d0bf39c 100644 --- a/lib/routes/p-articles/namespace.ts +++ b/lib/routes/p-articles/namespace.ts @@ -8,6 +8,7 @@ p-articles provides some official RSS feeds: - section: \`https://p-articles.com/section/:section\` - contributors: \`https://p-articles.com/contributors/:author\` - :::`, + +:::`, lang: 'en', }; diff --git a/lib/routes/pconline/focus.ts b/lib/routes/pconline/focus.ts index 7962186f0..5f354c407 100644 --- a/lib/routes/pconline/focus.ts +++ b/lib/routes/pconline/focus.ts @@ -141,5 +141,6 @@ export const route: Route = { | 全部 | 科技 | 财经 | 生活 | 公司 | 人物 | | ---- | ---- | ------- | ---- | ------- | --------- | | all | tech | finance | life | company | character | -| ::: | | | | | |`, + +:::`, }; diff --git a/lib/routes/questn/events.ts b/lib/routes/questn/events.ts index 6ad8ce70d..be36ef6c7 100644 --- a/lib/routes/questn/events.ts +++ b/lib/routes/questn/events.ts @@ -25,7 +25,8 @@ Filter parameters: - search: 'Search keyword', - count: 'Number of events to fetch', - page: 'Page number', - :::`, + +:::`, categories: ['other'], features: { requireConfig: false, diff --git a/lib/routes/rfi/news.ts b/lib/routes/rfi/news.ts index 27f467b16..1a37334e4 100644 --- a/lib/routes/rfi/news.ts +++ b/lib/routes/rfi/news.ts @@ -23,7 +23,8 @@ export const route: Route = { - To subscribe to [English News](https://www.rfi.fr/en/), which URL is \`https://www.rfi.fr/en\`, you can get the route as [\`/rfi/en\`](https://rsshub.app/rfi/en). - To subscribe to [English Europe News](https://www.rfi.fr/en/europe/), which URL is \`https://www.rfi.fr/en/europe\`, you can get the route as [\`/rfi/en/europe\`](https://rsshub.app/rfi/en/europe). - To subscribe to topic [Paris Olympics 2024](https://www.rfi.fr/en/tag/paris-olympics-2024/), which URL is \`https://www.rfi.fr/en/tag/paris-olympics-2024\`, you can get the route as [\`/rfi/en/tag/paris-olympics-2024\`](https://rsshub.app/rfi/en/tag/paris-olympics-2024). - ::: + +::: ::: warning This route does not support podcasts, please use the Offical RSS feed instead. diff --git a/lib/routes/showstart/event.ts b/lib/routes/showstart/event.ts index eb8a504f2..210810ddb 100644 --- a/lib/routes/showstart/event.ts +++ b/lib/routes/showstart/event.ts @@ -26,7 +26,8 @@ export const route: Route = { - 演出城市 \`cityCode\` 查询: \`/showstart/search/city/:keyword\`, 如: [https://rsshub.app/showstart/search/city/ 杭州](https://rsshub.app/showstart/search/city/杭州) - 演出风格 \`showStyle\` 查询: \`/showstart/search/style/:keyword\`,如: [https://rsshub.app/showstart/search/style/ 摇滚](https://rsshub.app/showstart/search/style/摇滚) - :::`, + +:::`, }; async function handler(ctx: Context): Promise { diff --git a/lib/routes/showstart/site.ts b/lib/routes/showstart/site.ts index 33686dfec..f8dc95af0 100644 --- a/lib/routes/showstart/site.ts +++ b/lib/routes/showstart/site.ts @@ -29,7 +29,8 @@ export const route: Route = { description: `::: tip - 演出场地 ID 查询: \`/showstart/search/site/:keyword\`, 如: [https://rsshub.app/showstart/search/site/ 酒球会](https://rsshub.app/showstart/search/site/酒球会) - :::`, + +:::`, }; async function handler(ctx: Context): Promise { diff --git a/lib/routes/uestc/bbs.ts b/lib/routes/uestc/bbs.ts index 9f184d397..b32c48334 100644 --- a/lib/routes/uestc/bbs.ts +++ b/lib/routes/uestc/bbs.ts @@ -40,7 +40,8 @@ export const route: Route = { - 河畔 cookie: \`UESTC_BBS_COOKIE\` - Header 中的授权字段: \`UESTC_BBS_AUTH_KEY\` - :::`, + +:::`, radar: [ { source: ['bbs.uestc.edu.cn/*'], diff --git a/lib/routes/youtube/channel.ts b/lib/routes/youtube/channel.ts index ad7deceef..4d19db7c3 100644 --- a/lib/routes/youtube/channel.ts +++ b/lib/routes/youtube/channel.ts @@ -28,7 +28,8 @@ export const route: Route = { | ------------ | ---------------------------------------------------------------------------------- | ------- | | embed | Whether to embed the video, fill in any value to disable embedding | embed | | filterShorts | Whether to filter out shorts from the feed, fill in any falsy value to show shorts | true | -| ::: | | | + +::: ::: tip YouTube provides official RSS feeds for channels, for instance . diff --git a/lib/routes/youtube/user.ts b/lib/routes/youtube/user.ts index 387f92e45..3787ef04a 100644 --- a/lib/routes/youtube/user.ts +++ b/lib/routes/youtube/user.ts @@ -20,7 +20,8 @@ export const route: Route = { | ------------ | ---------------------------------------------------------------------------------- | ------- | | embed | Whether to embed the video, fill in any value to disable embedding | embed | | filterShorts | Whether to filter out shorts from the feed, fill in any falsy value to show shorts | true | -| ::: | | |`, + +:::`, features: { requireConfig: [ { diff --git a/lib/routes/zhihu/xhu/activities.ts b/lib/routes/zhihu/xhu/activities.ts index 94eb5dd9d..e649a1bc5 100644 --- a/lib/routes/zhihu/xhu/activities.ts +++ b/lib/routes/zhihu/xhu/activities.ts @@ -34,7 +34,8 @@ export const route: Route = { 1. 可以通过 RSSHub Radar 扩展获取; 2. 或者在用户主页打开 F12 控制台,执行以下代码:\`console.log(/"id":"([0-9a-f]*?)","urlToken"/.exec(document.getElementById('js-initialData').innerHTML)[1]);\` 即可获取用户的 16 进制 id。 - :::`, + +:::`, }; async function handler(ctx) {