-
Notifications
You must be signed in to change notification settings - Fork 890
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(悟空): 适配站点<悟空问道>(wukongwendao.top) 数据统计、升级条件、资源搜索
- Loading branch information
1 parent
aabff92
commit 8f6e3e0
Showing
1 changed file
with
226 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,226 @@ | ||
{ | ||
"name": "悟空问道", | ||
"description": "探索未知、持续学习", | ||
"url": "https://wukongwendao.top/", | ||
"icon": "https://wukongwendao.top/favicon.ico", | ||
"tags": [ | ||
"人工智能" | ||
], | ||
"schema": "NexusPHP", | ||
"host": "wukongwendao.top", | ||
"cdn": [ | ||
"https://wukongwendao.top/" | ||
], | ||
"collaborator": [ | ||
"AllenPu" | ||
], | ||
"plugins": [ | ||
], | ||
"levelRequirements": [ | ||
{ | ||
"level": "1", | ||
"name": "Power User", | ||
"interval": "4", | ||
"downloaded": "50GB", | ||
"ratio": "1.05", | ||
"privilege": "得到一个邀请名额;可以直接发布种子;可以查看NFO文档;可以查看用户列表;可以请求续种; 可以发送邀请; 可以查看排行榜;可以查看其它用户的种子历史(如果用户隐私等级未设置为\"强\"); 可以删除自己上传的字幕。" | ||
}, | ||
{ | ||
"level": "2", | ||
"name": "Elite User", | ||
"interval": "8", | ||
"downloaded": "120GB", | ||
"ratio": "1.55", | ||
"privilege": "封存账号后不会被删除" | ||
}, | ||
{ | ||
"level": "3", | ||
"name": "Crazy User", | ||
"interval": "15", | ||
"downloaded": "300GB", | ||
"ratio": "2.05", | ||
"privilege": "得到两个邀请名额;在做种/下载/发布的时候选择匿名模式" | ||
}, | ||
{ | ||
"level": "4", | ||
"name": "Insane User", | ||
"interval": "25", | ||
"downloaded": "500GB", | ||
"ratio": "2.55", | ||
"privilege": "查看普通日志" | ||
}, | ||
{ | ||
"level": "5", | ||
"name": "Veteran User", | ||
"interval": "40", | ||
"downloaded": "750GB", | ||
"ratio": "3.05", | ||
"privilege": "得到三个邀请名额;可以查看其它用户的评论、帖子历史。此级别及以上用户会永远保留账号。" | ||
}, | ||
{ | ||
"level": "6", | ||
"name": "Extreme User", | ||
"interval": "60", | ||
"downloaded": "1TB", | ||
"ratio": "3.55", | ||
"privilege": "可以更新过期的外部信息。" | ||
}, | ||
{ | ||
"level": "7", | ||
"name": "Ultimate User", | ||
"interval": "80", | ||
"downloaded": "1.5TB", | ||
"ratio": "4.05", | ||
"privilege": "得到五个邀请名额。" | ||
}, | ||
{ | ||
"level": "8", | ||
"name": "Nexus Master", | ||
"interval": "100", | ||
"downloaded": "3TB", | ||
"ratio": "4.55", | ||
"privilege": "得到十个邀请名额。" | ||
} | ||
], | ||
"selectors": { | ||
"userSeedingTorrents": { | ||
"page": "/getusertorrentlistajax.php?userid=$user.id$&type=seeding", | ||
"fields": { | ||
"seeding": { | ||
"selector": [ | ||
"b:first" | ||
], | ||
"filters": [ | ||
"query.text()" | ||
] | ||
}, | ||
"seedingSize": { | ||
"selector": "", | ||
"filters": [ | ||
"query.text().match(/总大小:(.*?)上一页/g)", | ||
"(query && query.length>0) ? query[0].replace('总大小:', '').replace('<< 上一页', '').trim() : 0", | ||
"(query != 0) ? query.sizeToNumber() : 0" | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"searchEntry": [ | ||
{ | ||
"name": "全站", | ||
"enabled": true | ||
}, | ||
{ | ||
"queryString": "cat401=1", | ||
"name": "电影", | ||
"enabled": false | ||
}, | ||
{ | ||
"queryString": "cat402=1", | ||
"name": "电视剧", | ||
"enabled": false | ||
}, | ||
{ | ||
"queryString": "cat403=1", | ||
"name": "综艺", | ||
"enabled": false | ||
}, | ||
{ | ||
"queryString": "cat404=1", | ||
"name": "纪录片", | ||
"enabled": false | ||
}, | ||
{ | ||
"queryString": "cat405=1", | ||
"name": "动漫", | ||
"enabled": false | ||
}, | ||
{ | ||
"queryString": "cat406=1", | ||
"name": "MV", | ||
"enabled": false | ||
}, | ||
{ | ||
"queryString": "cat407=1", | ||
"name": "体育", | ||
"enabled": false | ||
}, | ||
{ | ||
"queryString": "cat408=1", | ||
"name": "音轨", | ||
"enabled": false | ||
}, | ||
{ | ||
"queryString": "cat409=1", | ||
"name": "其它", | ||
"enabled": false | ||
} | ||
], | ||
"searchEntryConfig": { | ||
"merge": true, | ||
"skipIMDbId": true, | ||
"fieldSelector": { | ||
"progress": { | ||
"selector": [ | ||
"> td.rowfollow:eq(1) td.embedded:eq(1) > div:last" | ||
], | ||
"filters": [ | ||
"query ? parseFloat(query.attr('title').match(/[\\d.]+/)) : null" | ||
] | ||
}, | ||
"status": { | ||
"selector": [ | ||
"> td.rowfollow:eq(1) td.embedded:eq(1) > div:last" | ||
], | ||
"filters": [ | ||
"query ? query.attr('title') : ''", | ||
"query.indexOf('seeding') != -1 ? 2 : query.indexOf('leeching') != -1 ? 1 : query.indexOf('100%') != -1 ? 255 : 3" | ||
] | ||
} | ||
}, | ||
"categories": [ | ||
{ | ||
"entry": "torrents.php", | ||
"result": "&cat$id$=1", | ||
"category": [ | ||
{ | ||
"id": 401, | ||
"name": "电影" | ||
}, | ||
{ | ||
"id": 402, | ||
"name": "电视剧" | ||
}, | ||
{ | ||
"id": 403, | ||
"name": "综艺" | ||
}, | ||
{ | ||
"id": 404, | ||
"name": "纪录片" | ||
}, | ||
{ | ||
"id": 405, | ||
"name": "动漫" | ||
}, | ||
{ | ||
"id": 406, | ||
"name": "MV" | ||
}, | ||
{ | ||
"id": 407, | ||
"name": "体育" | ||
}, | ||
{ | ||
"id": 408, | ||
"name": "音轨" | ||
}, | ||
{ | ||
"id": 409, | ||
"name": "其它" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |