fix: route titles
This commit is contained in:
parent
5e63cec7c9
commit
5ce88253cd
|
|
@ -10,9 +10,43 @@ import { art } from '@/utils/render';
|
|||
import * as path from 'node:path';
|
||||
|
||||
export const route: Route = {
|
||||
path: '*',
|
||||
name: 'Unknown',
|
||||
maintainers: [],
|
||||
path: '/{.*}?',
|
||||
categories: ['multimedia'],
|
||||
name: '通用',
|
||||
maintainers: ['cgkings', 'nczitzk'],
|
||||
description: `**类型**
|
||||
|
||||
| 最新 | 热门 | 随机 | 指定演员 | 指定标签 |
|
||||
| ---- | ------- | ------ | -------- | -------- |
|
||||
| new | popular | random | actress | tag |
|
||||
|
||||
**关键词**
|
||||
|
||||
| 空 | 日期范围 | 演员名 | 标签名 |
|
||||
| -- | ----------- | ------------ | -------------- |
|
||||
| | 7 / 30 / 60 | Yua%20Mikami | Adult%20Awards |
|
||||
|
||||
**示例说明**
|
||||
|
||||
- \`/141jav/new\`
|
||||
|
||||
仅当类型为 \`new\` \`popular\` 或 \`random\` 时关键词为 **空**
|
||||
|
||||
- \`/141jav/popular/30\`
|
||||
|
||||
\`popular\` \`random\` 类型的关键词可填写 \`7\` \`30\` 或 \`60\` 三个 **日期范围** 之一,分别对应 **7 天**、**30 天** 或 **60 天内**
|
||||
|
||||
- \`/141jav/actress/Yua%20Mikami\`
|
||||
|
||||
\`actress\` 类型的关键词必须填写 **演员名** ,可在 [此处](https://141jav.com/actress) 演员单页链接中获取
|
||||
|
||||
- \`/141jav/tag/Adult%20Awards\`
|
||||
|
||||
\`tag\` 类型的关键词必须填写 **标签名** 且标签中的 \`/\` 必须替换为 \`%2F\` ,可在 [此处](https://141jav.com/tag) 标签单页链接中获取
|
||||
|
||||
- \`/141jav/date/2020/07/30\`
|
||||
|
||||
\`date\` 类型的关键词必须填写 **日期**`,
|
||||
handler,
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -10,10 +10,44 @@ import { art } from '@/utils/render';
|
|||
import * as path from 'node:path';
|
||||
|
||||
export const route: Route = {
|
||||
path: '*',
|
||||
name: 'Unknown',
|
||||
maintainers: [],
|
||||
path: '/{.*}?',
|
||||
categories: ['multimedia'],
|
||||
name: '通用',
|
||||
maintainers: ['cgkings', 'nczitzk'],
|
||||
handler,
|
||||
description: `**类型**
|
||||
|
||||
| 最新 | 热门 | 随机 | 指定演员 | 指定标签 |
|
||||
| ---- | ------- | ------ | -------- | -------- |
|
||||
| new | popular | random | actress | tag |
|
||||
|
||||
**关键词**
|
||||
|
||||
| 空 | 日期范围 | 演员名 | 标签名 |
|
||||
| -- | ----------- | ------------ | -------------- |
|
||||
| | 7 / 30 / 60 | Yua%20Mikami | Adult%20Awards |
|
||||
|
||||
**示例说明**
|
||||
|
||||
- \`/141ppv/new\`
|
||||
|
||||
仅当类型为 \`new\` \`popular\` 或 \`random\` 时关键词为 **空**
|
||||
|
||||
- \`/141ppv/popular/30\`
|
||||
|
||||
\`popular\` \`random\` 类型的关键词可填写 \`7\` \`30\` 或 \`60\` 三个 **日期范围** 之一,分别对应 **7 天**、**30 天** 或 **60 天内**
|
||||
|
||||
- \`/141ppv/actress/Yua%20Mikami\`
|
||||
|
||||
\`actress\` 类型的关键词必须填写 **演员名** ,可在 [此处](https://141ppv.com/actress) 演员单页链接中获取
|
||||
|
||||
- \`/141ppv/tag/Adult%20Awards\`
|
||||
|
||||
\`tag\` 类型的关键词必须填写 **标签名** 且标签中的 \`/\` 必须替换为 \`%2F\` ,可在 [此处](https://141ppv.com/tag) 标签单页链接中获取
|
||||
|
||||
- \`/141ppv/date/2020/07/30\`
|
||||
|
||||
\`date\` 类型的关键词必须填写 **日期**`,
|
||||
};
|
||||
|
||||
async function handler(ctx) {
|
||||
|
|
|
|||
|
|
@ -9,7 +9,8 @@ const renderDescription = (info) => art(path.join(__dirname, '../templates/music
|
|||
|
||||
export const route: Route = {
|
||||
path: '/music/user/events/:id',
|
||||
name: 'Unknown',
|
||||
categories: ['multimedia'],
|
||||
name: '用户动态',
|
||||
maintainers: ['Master-Hash'],
|
||||
handler,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@ import { rootUrl, apiRootUrl, types, ProcessThreads } from './utils';
|
|||
|
||||
export const route: Route = {
|
||||
path: ['/post/:type?/:order?', '/thread/:type?/:order?'],
|
||||
name: 'Unknown',
|
||||
name: '帖子',
|
||||
categories: ['bbs'],
|
||||
maintainers: ['EthanWng97', 'DIYgod', 'nczitzk'],
|
||||
handler,
|
||||
url: 'instant.1point3acres.com/',
|
||||
|
|
|
|||
|
|
@ -17,9 +17,10 @@ const shortcuts = {
|
|||
};
|
||||
|
||||
export const route: Route = {
|
||||
path: '*',
|
||||
name: 'Unknown',
|
||||
maintainers: [],
|
||||
path: '/{.*}?',
|
||||
categories: ['new-media'],
|
||||
name: '资讯, 快讯, 用户文章, 主题文章, 专题文章, 搜索文章, 搜索快讯',
|
||||
maintainers: ['nczitzk'],
|
||||
handler,
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,8 @@ export const route: Route = {
|
|||
source: ['3dmgame.com/games/:name/:type'],
|
||||
},
|
||||
],
|
||||
name: 'Unknown',
|
||||
name: '游戏资讯',
|
||||
categories: ['game'],
|
||||
maintainers: ['sinchang', 'jacky2001114', 'HenryQW'],
|
||||
handler,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -17,8 +17,19 @@ export const route: Route = {
|
|||
target: '/:category',
|
||||
},
|
||||
],
|
||||
name: 'Unknown',
|
||||
maintainers: [],
|
||||
parameters: {
|
||||
category: 'Category, can be found in the URL, can also be filled in with the `documentId` in the source code of the page, `news/justin` as **Just In** by default',
|
||||
},
|
||||
name: 'Channel & Topic',
|
||||
categories: ['traditional-media'],
|
||||
description: `:::tip
|
||||
All Topics in [Topic Library](https://abc.net.au/news/topics) are supported, you can fill in the field after \`topic\` in its URL, or fill in the \`documentId\`.
|
||||
|
||||
For example, the URL for [Computer Science](https://www.abc.net.au/news/topic/computer-science) is \`https://www.abc.net.au/news/topic/computer-science\`, the \`category\` is \`news/topic/computer-science\`, and the \`documentId\` of the Topic is \`2302\`, so the route is [/abc/news/topic/computer-science](https://rsshub.app/abc/news/topic/computer-science) and [/abc/2302](https://rsshub.app/abc/2302).
|
||||
|
||||
The supported channels are all listed in the table below. For other channels, please find the \`documentId\` in the source code of the channel page and fill it in as above.
|
||||
:::`,
|
||||
maintainers: ['nczitzk'],
|
||||
handler,
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ export const route: Route = {
|
|||
target: '',
|
||||
},
|
||||
],
|
||||
name: 'Unknown',
|
||||
name: '存档列表',
|
||||
maintainers: ['zhenhappy'],
|
||||
handler,
|
||||
url: 'ahhhhfs.com/',
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ export const route: Route = {
|
|||
target: '',
|
||||
},
|
||||
],
|
||||
name: 'Unknown',
|
||||
maintainers: [],
|
||||
name: '存档列表 - NSFW',
|
||||
maintainers: ['zhenhappy'],
|
||||
handler,
|
||||
url: 'ahhhhfs.com/',
|
||||
};
|
||||
|
|
|
|||
|
|
@ -11,7 +11,11 @@ export const route: Route = {
|
|||
target: '/user/video/:id',
|
||||
},
|
||||
],
|
||||
name: 'Unknown',
|
||||
name: '用户投稿',
|
||||
parameters: {
|
||||
uid: '用户 UID',
|
||||
},
|
||||
categories: ['anime'],
|
||||
maintainers: ['wdssmq'],
|
||||
handler,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -7,9 +7,20 @@ import utils from './utils';
|
|||
|
||||
export const route: Route = {
|
||||
path: '/:site?/:channel?',
|
||||
name: 'Unknown',
|
||||
maintainers: [],
|
||||
name: 'News',
|
||||
maintainers: ['HenryQW', 'DIYgod'],
|
||||
handler,
|
||||
example: '/bbc/world-asia',
|
||||
parameters: {
|
||||
site: '语言,简体或繁体中文',
|
||||
channel: 'channel, default to `top stories`',
|
||||
},
|
||||
categories: ['traditional-media'],
|
||||
description: `Provides a better reading experience (full text articles) over the official ones.
|
||||
|
||||
Support major channels, refer to [BBC RSS feeds](https://www.bbc.co.uk/news/10628494). Eg, \`business\` for \`https://feeds.bbci.co.uk/news/business/rss.xml\`.
|
||||
|
||||
- Channel contains sub-directories, such as \`https://feeds.bbci.co.uk/news/world/asia/rss.xml\`, replace \`/\` with \`-\`, \`/bbc/world-asia\`.`,
|
||||
};
|
||||
|
||||
async function handler(ctx) {
|
||||
|
|
|
|||
|
|
@ -2,8 +2,13 @@ import { Route } from '@/types';
|
|||
import got from '@/utils/got';
|
||||
|
||||
export const route: Route = {
|
||||
path: ['/bangumi/:seasonid', '/bangumi/media/:mediaid'],
|
||||
name: 'Unknown',
|
||||
path: '/bangumi/media/:mediaid',
|
||||
name: '番剧',
|
||||
parameters: {
|
||||
mediaid: '番剧媒体 id, 番剧主页 URL 中获取',
|
||||
},
|
||||
example: '/bilibili/bangumi/media/9192',
|
||||
categories: ['social-media'],
|
||||
maintainers: ['DIYgod'],
|
||||
handler,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -4,8 +4,19 @@ import utils from './utils';
|
|||
|
||||
export const route: Route = {
|
||||
path: '/ranking/:rid?/:day?/:arc_type?/:disableEmbed?',
|
||||
name: 'Unknown',
|
||||
name: '排行榜',
|
||||
maintainers: ['DIYgod'],
|
||||
categories: ['social-media'],
|
||||
example: '/bilibili/ranking/0/3/1',
|
||||
parameters: {
|
||||
rid: '排行榜分区 id, 默认 0',
|
||||
day: '时间跨度, 可为 1 3 7 30',
|
||||
arc_type: '投稿时间, 可为 0(全部投稿) 1(近期投稿) , 默认 1',
|
||||
disableEmbed: '默认为开启内嵌视频, 任意值为关闭',
|
||||
},
|
||||
description: `| 全站 | 动画 | 国创相关 | 音乐 | 舞蹈 | 游戏 | 科技 | 数码 | 生活 | 鬼畜 | 时尚 | 娱乐 | 影视 |
|
||||
| ---- | ---- | -------- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- |
|
||||
| 0 | 1 | 168 | 3 | 129 | 4 | 36 | 188 | 160 | 119 | 155 | 5 | 181 |`,
|
||||
handler,
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -6,9 +6,10 @@ import { parseDate } from '@/utils/parse-date';
|
|||
|
||||
export const route: Route = {
|
||||
path: '/user/video-all/:uid/:disableEmbed?',
|
||||
name: 'Unknown',
|
||||
name: '用户所有视频',
|
||||
maintainers: [],
|
||||
handler,
|
||||
categories: ['social-media'],
|
||||
};
|
||||
|
||||
async function handler(ctx) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue