feat: add acfun radar (#5257)

This commit is contained in:
zzde
2020-07-29 02:31:16 +08:00
committed by GitHub
parent d84e7a2a5b
commit 5877ccf8af
2 changed files with 22 additions and 2 deletions

View File

@@ -2109,6 +2109,23 @@
},
],
},
'acfun.cn': {
_name: 'AcFun',
www: [
{
tilte: '番剧',
docs: 'https://docs.rsshub.app/anime.html#acfun-fan-ju',
source: '/bangumi/:id',
target: (params) => `/acfun/bangumi/${params.id.replace('aa', '')}`,
},
{
title: '用户投稿',
docs: 'https://docs.rsshub.app/anime.html#acfun-yong-hu-tou-gao',
source: '/u/:id',
target: '/acfun/user/video/:id',
},
],
},
'behance.net': {
_name: 'Behance',
www: [
@@ -2120,6 +2137,9 @@
const uid1 = document && document.querySelector('html').innerHTML.match(/([^/]+)\/insights/)[1];
return `/behance/${uid1}`;
},
},
],
},
'picuki.com': {
_name: 'Picuki',
www: [

View File

@@ -20,7 +20,7 @@ pageClass: routes
### 番剧
<Route author="xyqfer" example="/acfun/bangumi/5022158" path="/acfun/bangumi/:id" :paramsDesc="['番剧 id']"/>
<Route author="xyqfer" example="/acfun/bangumi/5022158" path="/acfun/bangumi/:id" :paramsDesc="['番剧 id']" radar="1"/>
::: tip 提示
@@ -31,7 +31,7 @@ pageClass: routes
### 用户投稿
<Route author="wdssmq" example="/acfun/user/video/14450522" path="/acfun/user/video/:id" :paramsDesc="['用户 UID']"/>
<Route author="wdssmq" example="/acfun/user/video/14450522" path="/acfun/user/video/:id" :paramsDesc="['用户 UID']" radar="1"/>
## AGE 动漫