-
Notifications
You must be signed in to change notification settings - Fork 868
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
843 additions
and
6 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,48 @@ | ||
{ | ||
"name": "Sunny", | ||
"schema": "NexusPHP", | ||
"url": "https://sunnypt.top/", | ||
"description": "Sunny", | ||
"icon": "https://sunnypt.top/favicon.ico", | ||
"tags": ["综合"], | ||
"host": "sunnypt.top", | ||
"levelRequirements": [ | ||
{ | ||
"level": "1", | ||
"name": "Power User", | ||
"interval": "4", | ||
"downloaded": "50GB", | ||
"ratio": "1.05", | ||
"privilege": "直接发布种子;查看NFO文档;删除自己上传的字幕。" | ||
} | ||
], | ||
"searchEntry": [ | ||
{ | ||
"name": "全部", | ||
"enabled": true | ||
} | ||
], | ||
"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" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.