feat: add anime1 radar (#2872)

This commit is contained in:
Raidou 2019-08-18 14:44:54 +08:00 committed by DIYgod
parent 5516dac61f
commit 69c81d8b55
2 changed files with 21 additions and 2 deletions

View File

@ -371,4 +371,23 @@
},
],
},
'anime1.me': {
_name: 'Anime1',
'.': [
{
title: '動畫',
docs: 'https://docs.rsshub.app/anime.html#%E5%8B%95%E7%95%AB',
source: '/category/:time/:name',
target: '/anime1/anime/:time/:name',
},
{
title: '搜尋',
docs: 'https://docs.rsshub.app/anime.html#%25E6%2590%259C%25E5%25B0%258B',
source: '/',
script: "({keyword: new URLSearchParams(location.search).get('s')})",
target: '/anime1/search/:keyword',
verification: (params) => params.keyword,
},
],
},
});

View File

@ -13,7 +13,7 @@ pageClass: routes
### 動畫
<Route author="maple3142" example="/anime1/anime/2018年秋季/哥布林殺手" path="/anime1/anime/:time/:name" :paramsDesc="['时间', '动画名称']">
<Route author="maple3142" example="/anime1/anime/2018年秋季/哥布林殺手" path="/anime1/anime/:time/:name" :paramsDesc="['时间', '动画名称']" radar="1">
时间和动画名称请自己从网址取得: <https://anime1.me/category/2018年秋季/刀劍神域-alicization>
@ -21,7 +21,7 @@ pageClass: routes
### 搜尋
<Route author="maple3142" example="/anime1/search/兔女郎學姊" path="/anime1/search/:keyword" :paramsDesc="['关键字']"/>
<Route author="maple3142" example="/anime1/search/兔女郎學姊" path="/anime1/search/:keyword" :paramsDesc="['关键字']" radar="1"/>
## Animen 动漫平台