mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-19 09:52:21 +08:00
feat: add radar-rules for javlibrary (#3911)
This commit is contained in:
@@ -1107,6 +1107,71 @@
|
||||
},
|
||||
],
|
||||
},
|
||||
'javlibrary.com': {
|
||||
_name: 'javlibrary',
|
||||
www: [
|
||||
{
|
||||
title: '新话题',
|
||||
docs: 'https://docs.rsshub.app/multimedia.html#javlibrary',
|
||||
source: '/cn',
|
||||
target: '/javlibrary/videos/update',
|
||||
},
|
||||
{
|
||||
title: '新发行',
|
||||
docs: 'https://docs.rsshub.app/multimedia.html#javlibrary',
|
||||
source: '/cn',
|
||||
target: '/javlibrary/videos/newrelease',
|
||||
},
|
||||
{
|
||||
title: '新加入',
|
||||
docs: 'https://docs.rsshub.app/multimedia.html#javlibrary',
|
||||
source: '/cn',
|
||||
target: '/javlibrary/videos/newentries',
|
||||
},
|
||||
{
|
||||
title: '最想要',
|
||||
docs: 'https://docs.rsshub.app/multimedia.html#javlibrary',
|
||||
source: '/cn',
|
||||
target: '/javlibrary/videos/mostwanted',
|
||||
},
|
||||
{
|
||||
title: '高评价',
|
||||
docs: 'https://docs.rsshub.app/multimedia.html#javlibrary',
|
||||
source: '/cn',
|
||||
target: '/javlibrary/videos/bestrated',
|
||||
},
|
||||
{
|
||||
title: '影星',
|
||||
docs: 'https://docs.rsshub.app/multimedia.html#javlibrary',
|
||||
source: '/cn/vl_star.php',
|
||||
target: (params, url) => `/javlibrary/stars/${new URL(url).searchParams.get('s')}`,
|
||||
},
|
||||
{
|
||||
title: '用户文章',
|
||||
docs: 'https://docs.rsshub.app/multimedia.html#javlibrary',
|
||||
source: ['/cn/user.php', '/cn/userposts.php', '/cn/userwateched.php', '/cn/userowned.php', '/cn/userwanted.php'],
|
||||
target: (params, url) => `/javlibrary/users/${new URL(url).searchParams.get('u')}/userposts`,
|
||||
},
|
||||
{
|
||||
title: '用户拥有',
|
||||
docs: 'https://docs.rsshub.app/multimedia.html#javlibrary',
|
||||
source: ['/cn/user.php', '/cn/userposts.php', '/cn/userwateched.php', '/cn/userowned.php', '/cn/userwanted.php'],
|
||||
target: (params, url) => `/javlibrary/users/${new URL(url).searchParams.get('u')}/userowned`,
|
||||
},
|
||||
{
|
||||
title: '用户看过',
|
||||
docs: 'https://docs.rsshub.app/multimedia.html#javlibrary',
|
||||
source: ['/cn/user.php', '/cn/userposts.php', '/cn/userwateched.php', '/cn/userowned.php', '/cn/userwanted.php'],
|
||||
target: (params, url) => `/javlibrary/users/${new URL(url).searchParams.get('u')}/userwatched`,
|
||||
},
|
||||
{
|
||||
title: '用户想要',
|
||||
docs: 'https://docs.rsshub.app/multimedia.html#javlibrary',
|
||||
source: ['/cn/user.php', '/cn/userposts.php', '/cn/userwateched.php', '/cn/userowned.php', '/cn/userwanted.php'],
|
||||
target: (params, url) => `/javlibrary/users/${new URL(url).searchParams.get('u')}/userwanted`,
|
||||
},
|
||||
],
|
||||
},
|
||||
'qidian.com': {
|
||||
_name: '起点',
|
||||
book: [
|
||||
|
||||
@@ -32,7 +32,7 @@ Official RSS: https://eztv.io/ezrss.xml
|
||||
|
||||
### Videos
|
||||
|
||||
<Route author="Diygod junfengP" example="/javlibrary/videos/bestrated" path="/javlibrary/videos/:vtype" :paramsDesc="['video type']" >
|
||||
<Route author="Diygod junfengP" example="/javlibrary/videos/bestrated" path="/javlibrary/videos/:vtype" :paramsDesc="['video type']" radar="1" >
|
||||
|New Comments|New Release|New Entries|Most Wanted|Best Rated|
|
||||
|-----|------|------|-----|------|
|
||||
|update|newrelease|newentries|mostwanted|bestrated|
|
||||
@@ -40,11 +40,11 @@ Official RSS: https://eztv.io/ezrss.xml
|
||||
|
||||
### Stars
|
||||
|
||||
<Route author="Diygod junfengP" example="/javlibrary/stars/afisw" path="/javlibrary/stars/:sid" :paramsDesc="['star id, find it from link']" />
|
||||
<Route author="Diygod junfengP" example="/javlibrary/stars/afisw" path="/javlibrary/stars/:sid" :paramsDesc="['star id, find it from link']" radar="1" />
|
||||
|
||||
### Users
|
||||
|
||||
<Route author="Diygod junfengP" example="/javlibrary/users/mangudai/userposts" path="/javlibrary/users/:uid/:utype" :paramsDesc="['user id','user choice, see table below']" >
|
||||
<Route author="Diygod junfengP" example="/javlibrary/users/mangudai/userposts" path="/javlibrary/users/:uid/:utype" :paramsDesc="['user id','user choice, see table below']" radar="1" >
|
||||
|User wanted|User watched|User owned|User posts|
|
||||
|-----|------|------|-----|
|
||||
|userwanted|userwatched|userowned|userposts|
|
||||
|
||||
+3
-3
@@ -122,7 +122,7 @@ pageClass: routes
|
||||
|
||||
### 影片
|
||||
|
||||
<Route author="Diygod junfengP" example="/javlibrary/videos/bestrated" path="/javlibrary/videos/:vtype" :paramsDesc="['影片类型']" >
|
||||
<Route author="Diygod junfengP" example="/javlibrary/videos/bestrated" path="/javlibrary/videos/:vtype" :paramsDesc="['影片类型']" radar="1" >
|
||||
|新话题|新发行|新加入|最想要|高评价|
|
||||
|-----|------|------|-----|------|
|
||||
|update|newrelease|newentries|mostwanted|bestrated|
|
||||
@@ -130,11 +130,11 @@ pageClass: routes
|
||||
|
||||
### 影星
|
||||
|
||||
<Route author="Diygod junfengP" example="/javlibrary/stars/afisw" path="/javlibrary/stars/:sid" :paramsDesc="['影星id,从链接上获取']" />
|
||||
<Route author="Diygod junfengP" example="/javlibrary/stars/afisw" path="/javlibrary/stars/:sid" :paramsDesc="['影星id,从链接上获取']" radar="1" />
|
||||
|
||||
### 用户
|
||||
|
||||
<Route author="Diygod junfengP" example="/javlibrary/users/mangudai/userposts" path="/javlibrary/users/:uid/:utype" :paramsDesc="['用户id,即用户名称','用户选项,见下表']" >
|
||||
<Route author="Diygod junfengP" example="/javlibrary/users/mangudai/userposts" path="/javlibrary/users/:uid/:utype" :paramsDesc="['用户id,即用户名称','用户选项,见下表']" radar="1" >
|
||||
|想要的|看过的|拥有的|发表的文章|
|
||||
|-----|------|------|-----|
|
||||
|userwanted|userwatched|userowned|userposts|
|
||||
|
||||
Reference in New Issue
Block a user