Files
RSSHub/lib/v2/bangumi/radar.js
T
Axojhf 2600c1ab16 fix(route): 修复bangumi吐槽箱无法获取评分的问题 (#10780)
* 修复bangumi吐槽箱无法获取评分的问题

* refactor: migrate to v2

* fix: subject date parsing

* fix: old routes

* fix: sort maintainer
2022-09-15 04:16:29 +08:00

93 lines
2.8 KiB
JavaScript

const bangumiTV = {
_name: 'Bangumi 番组计划',
'.': [
{
title: '小组话题',
docs: 'https://docs.rsshub.app/anime.html#bangumi',
source: '/group/:id',
target: '/bangumi/tv/group/:id',
},
{
title: '小组话题的新回复',
docs: 'https://docs.rsshub.app/anime.html#bangumi',
source: '/group/topic/:id',
target: '/bangumi/tv/topic/:id',
},
{
title: '现实人物的新作品',
docs: 'https://docs.rsshub.app/anime.html#bangumi',
source: '/person/:id',
target: '/bangumi/tv/person/:id',
},
{
title: '用户日志',
docs: 'https://docs.rsshub.app/anime.html#bangumi',
source: '/user/:id',
target: '/bangumi/tv/user/blog/:id',
},
{
title: '条目的讨论',
docs: 'https://docs.rsshub.app/anime.html#bangumi',
source: '/subject/:id',
target: '/bangumi/tv/subject/:id/topics',
},
{
title: '条目的评论',
docs: 'https://docs.rsshub.app/anime.html#bangumi',
source: '/subject/:id',
target: '/bangumi/tv/subject/:id/blogs',
},
{
title: '条目的章节',
docs: 'https://docs.rsshub.app/anime.html#bangumi',
source: '/subject/:id',
target: '/bangumi/tv/subject/:id',
},
{
title: '条目的吐槽箱',
docs: 'https://docs.rsshub.app/anime.html#bangumi',
source: '/subject/:id',
target: '/bangumi/tv/subject/:id/comments',
},
{
title: '放送列表',
docs: 'https://docs.rsshub.app/anime.html#bangumi',
source: '/calendar',
target: '/bangumi/tv/calendar/today',
},
],
};
module.exports = {
'bangumi.moe': {
_name: '萌番組',
'.': [
{
title: '最新',
docs: 'https://docs.rsshub.app/anime.html#meng-fan-zu-zui-xin',
source: ['/'],
target: '/bangumi/moe',
},
{
title: '标签',
docs: 'https://docs.rsshub.app/anime.html#meng-fan-zu-biao-qian',
source: ['/search/index'],
target: '/bangumi/moe/:tags?',
},
],
},
'bangumi.online': {
_name: 'アニメ新番組',
'.': [
{
title: '當季新番',
docs: 'https://docs.rsshub.app/anime.html#アニメ-xin-fan-zu-dang-ji-xin-fan',
source: ['/'],
target: '/bangumi/online',
},
],
},
'bangumi.tv': bangumiTV,
'bgm.tv': bangumiTV,
};