mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-01 14:57:14 +08:00
fix(route): namespace issue (#15327)
This commit is contained in:
@@ -6,7 +6,7 @@ import { load } from 'cheerio';
|
||||
export const route: Route = {
|
||||
path: ['/search/:keyword/:preview?', '/:type?/:preview?'],
|
||||
categories: ['multimedia'],
|
||||
example: '/u9a9/search/新片速递',
|
||||
example: '/u3c3/search/新片速递',
|
||||
parameters: { keyword: 'Search keyword', preview: 'Show image preview, off by default, non empty value means on' },
|
||||
features: {
|
||||
requireConfig: false,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { Namespace } from '@/types';
|
||||
|
||||
export const namespace: Namespace = {
|
||||
name: 'U9A9',
|
||||
name: 'U3C3',
|
||||
url: 'u3c3.com',
|
||||
};
|
||||
|
||||
@@ -9,17 +9,17 @@ const baseUrl = 'https://u9a9.com';
|
||||
|
||||
export const route: Route = {
|
||||
path: ['/:preview?', '/search/:keyword/:preview?'],
|
||||
example: '/u9a9/search/新片速递',
|
||||
radar: [
|
||||
{
|
||||
source: ['u9a9.com/'],
|
||||
target: '',
|
||||
},
|
||||
],
|
||||
name: 'Unknown',
|
||||
name: 'Search',
|
||||
maintainers: ['TonyRL'],
|
||||
handler,
|
||||
url: 'u9a9.com/',
|
||||
url: 'u9a9.com/',
|
||||
};
|
||||
|
||||
async function handler(ctx) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { Namespace } from '@/types';
|
||||
|
||||
export const namespace: Namespace = {
|
||||
name: 'Unknown',
|
||||
name: 'U9A9',
|
||||
url: 'u9a9.com',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user