Files
RSSHub/lib/v2/oreno3d/radar.js
xueli-sherryli 0fbec30a0f feat(route): add oreno3d.com - 俺の3Dエロ動画 (#10458)
* feat(route): add oreno3d.com - 俺の3Dエロ動画

* Update docs/anime.md

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update docs/anime.md

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/v2/oreno3d/radar.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/v2/oreno3d/maintainer.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update docs/anime.md

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/v2/oreno3d/authors.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/v2/oreno3d/get_sec_page_data.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/v2/oreno3d/router.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/v2/oreno3d/authors.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/v2/oreno3d/authors.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* refactor🎨: sortName and linkable

* refactor🎨:  en docs,category and yarn

* fix🐛:  fix docs bugs

* fix🐛:  fix radar bugs

* docs📝:  addTipsInEnDocs

* docs📝:  fix docs bug

* docs📝:  fix docs bug

* Update lib/v2/oreno3d/characters.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/v2/oreno3d/origins.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/v2/oreno3d/search.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/v2/oreno3d/tags.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update docs/en/anime.md

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* perf👌:  combine to a single file/fix maintainer

* fix🐛:  fix main.js bugs

* fix: docs and radar

* fix: caching
2022-08-15 19:35:27 +08:00

53 lines
2.5 KiB
JavaScript

module.exports = {
'oreno3d.com': {
_name: '俺の3Dエロ動画',
'.': [
{
title: '关键词搜索',
docs: 'https://docs.rsshub.app/anime.htm#an-の3dエロ-dong-hua-oreno3d-guan-jian-ci-sou-suo',
source: ['/search'],
target: (_params, url) => {
const searchParams = new URL(url).searchParams;
return `/oreno3d/search/${searchParams.get('keyword')}${searchParams.has('sort') ? '/' + searchParams.get('sort') : ''}`;
},
},
{
title: '角色搜索',
docs: 'https://docs.rsshub.app/anime.html#an-の3dエロ-dong-hua-oreno3d-jiao-se-sou-suo',
source: ['/characters/:characterid'],
target: (params, url) => {
const searchParams = new URL(url).searchParams;
return `/oreno3d/characters/${params.characterid}${searchParams.has('sort') ? '/' + searchParams.get('sort') : ''}`;
},
},
{
title: '作者搜索',
docs: 'https://docs.rsshub.app/anime.html#an-の3dエロ-dong-hua-oreno3d-zuo-zhe-sou-suo',
source: ['/authors/:authorid'],
target: (params, url) => {
const searchParams = new URL(url).searchParams;
return `/oreno3d/authors/${params.authorid}${searchParams.has('sort') ? '/' + searchParams.get('sort') : ''}`;
},
},
{
title: '标签搜索',
docs: 'https://docs.rsshub.app/anime.html#an-の3dエロ-dong-hua-oreno3d-biao-qian-sou-suo',
source: ['/tags/:tagid'],
target: (params, url) => {
const searchParams = new URL(url).searchParams;
return `/oreno3d/tags/${params.tagid}${searchParams.has('sort') ? '/' + searchParams.get('sort') : ''}`;
},
},
{
title: '原作搜索',
docs: 'https://docs.rsshub.app/anime.html#an-の3dエロ-dong-hua-oreno3d-yuan-zuo-sou-suo',
source: ['/origins/:originid'],
target: (params, url) => {
const searchParams = new URL(url).searchParams;
return `/oreno3d/origins/${params.originid}${searchParams.has('sort') ? '/' + searchParams.get('sort') : ''}`;
},
},
],
},
};