From e1033c65358b9e7a5abde0ba0786ff277594b979 Mon Sep 17 00:00:00 2001 From: Whalko <45971730+RtYkk@users.noreply.github.com> Date: Sat, 27 Mar 2021 05:42:14 +0800 Subject: [PATCH] fix(radar)(route): Bangumi & Radar rules (#7153) --- assets/radar-rules.js | 59 +++++++++++++++++++++++++++++++++++++++++++ docs/anime.md | 18 ++++++------- docs/bbs.md | 4 +-- 3 files changed, 70 insertions(+), 11 deletions(-) diff --git a/assets/radar-rules.js b/assets/radar-rules.js index 60b5febe45..6bdbc819aa 100644 --- a/assets/radar-rules.js +++ b/assets/radar-rules.js @@ -2916,4 +2916,63 @@ }, ], }, + 'bgm.tv': { + _name: 'Bangumi', + '.': [ + { + title: '小组话题', + docs: 'https://docs.rsshub.app/anime.html#bangumi', + source: '/group/:id', + target: '/bangumi/group/:id', + }, + { + title: '小组话题的新回复', + docs: 'https://docs.rsshub.app/anime.html#bangumi', + source: '/group/topic/:id', + target: '/bangumi/topic/:id', + }, + { + title: '现实人物的新作品', + docs: 'https://docs.rsshub.app/anime.html#bangumi', + source: '/person/:id', + target: '/bangumi/person/:id', + }, + { + title: '用户日志', + docs: 'https://docs.rsshub.app/anime.html#bangumi', + source: '/user/:id', + target: '/bangumi/user/blog/:id', + }, + { + title: '条目的讨论', + docs: 'https://docs.rsshub.app/anime.html#bangumi', + source: '/subject/:id', + target: '/bangumi/subject/:id/topics', + }, + { + title: '条目的评论', + docs: 'https://docs.rsshub.app/anime.html#bangumi', + source: '/subject/:id', + target: '/bangumi/subject/:id/blogs', + }, + { + title: '条目的章节', + docs: 'https://docs.rsshub.app/anime.html#bangumi', + source: '/subject/:id', + target: '/bangumi/subject/:id', + }, + { + title: '条目的吐槽箱', + docs: 'https://docs.rsshub.app/anime.html#bangumi', + source: '/subject/:id', + target: '/bangumi/subject/:id/comments', + }, + { + title: '放送列表', + docs: 'https://docs.rsshub.app/anime.html#bangumi', + source: '/calendar', + target: '/bangumi/calendar/today', + }, + ], + }, }); diff --git a/docs/anime.md b/docs/anime.md index cf25578ecb..bedc0fc270 100644 --- a/docs/anime.md +++ b/docs/anime.md @@ -75,39 +75,39 @@ pageClass: routes ### 放送列表 - + ### 条目的章节 - + ### 条目的吐槽箱 - + ### 条目的评论 - + ### 条目的讨论 - + ### 现实人物的新作品 - + ### 小组话题的新回复 - + ### 小组话题 - + ### 用户日志 - + ## bilibili diff --git a/docs/bbs.md b/docs/bbs.md index 5ddbe4fc14..5f18f34222 100644 --- a/docs/bbs.md +++ b/docs/bbs.md @@ -174,9 +174,9 @@ pageClass: routes ### 帖子 - + -帖子网址如果为 那么帖子 id 就是 `1789863`。 +帖子网址如果为 那么帖子 id 就是 `1789863`。