From 11d67a26bd4f3f0aa9bf754ae2f4e332164a7f1d Mon Sep 17 00:00:00 2001 From: Neko Aria <990879119@qq.com> Date: Fri, 27 Sep 2024 23:11:43 +0800 Subject: [PATCH] fix(yande): update namespace and route details (#16940) * fix(yande): update namespace and route details * fix: add back original authors --------- --- lib/routes/yande/namespace.ts | 2 +- lib/routes/yande/post.ts | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/routes/yande/namespace.ts b/lib/routes/yande/namespace.ts index aadd5323d..fb85bd529 100644 --- a/lib/routes/yande/namespace.ts +++ b/lib/routes/yande/namespace.ts @@ -1,7 +1,7 @@ import type { Namespace } from '@/types'; export const namespace: Namespace = { - name: 'yande', + name: 'yande.re', url: 'yande.re', description: `yande post`, }; diff --git a/lib/routes/yande/post.ts b/lib/routes/yande/post.ts index 287fde585..794bcf613 100644 --- a/lib/routes/yande/post.ts +++ b/lib/routes/yande/post.ts @@ -4,20 +4,20 @@ import queryString from 'query-string'; export const route: Route = { path: '/post/popular_recent/:period?', - categories: ['anime'], + categories: ['picture'], example: '/yande/post/popular_recent/1d', parameters: { period: '展示时间', }, radar: [ { - source: ['yande.re/post/'], + source: ['yande.re/post'], }, ], - name: 'posts', - maintainers: ['fashioncj', 'NekoAria'], - description: `| 最近 24 小时 | 最近一周 | 最近一月 | 最近一年 | - | ------- | -------- | ------- | -------- | + name: 'Popular Recent Posts', + maintainers: ['magic-akari', 'SettingDust', 'fashioncj', 'NekoAria'], + description: `| 最近 24 小时 | 最近一周 | 最近一月 | 最近一年 | + | ------- | -------- | ------- | -------- | | 1d | 1w | 1m | 1y |`, handler, };