Files
RSSHub/lib/routes/cnbeta/category.ts
T
Tony 4fa33716c1 docs: remove indent (#18247)
* docs: remove indent

* docs: remove more indent

* docs: remove h5 indent

* docs: remove h4 indent

* docs: remove details indent
2025-01-31 22:17:58 +08:00

24 lines
737 B
TypeScript

import { Route } from '@/types';
import { handler } from './common';
export const route: Route = {
name: '分类',
path: ['/category/:id'],
example: '/cnbeta/category/movie',
maintainers: ['nczitzk'],
parameters: {
id: '分类 id,可在对应分类页的 URL 中找到',
},
radar: [
{
source: ['cnbeta.com.tw/category/:id'],
target: (params) => `/cnbeta/category/${params.id.replace('.htm', '')}`,
},
],
handler,
url: 'cnbeta.com.tw',
description: `| 影视 | 音乐 | 游戏 | 动漫 | 趣闻 | 科学 | 软件 |
| ----- | ----- | ---- | ----- | ----- | ------- | ---- |
| movie | music | game | comic | funny | science | soft |`,
};