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
1 parent
53715da
commit 62267bc
Showing
3 changed files
with
116 additions
and
97 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
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 |
---|---|---|
@@ -1,23 +1,44 @@ | ||
{ | ||
"name": "HDFans", | ||
"timezoneOffset": "+0800", | ||
"description": "与志同道合之人前行 分享更多值得珍藏的资源", | ||
"url": "https://hdfans.org", | ||
"icon": "https://hdfans.org/favicon.ico", | ||
"tags": ["综合", "电影", "电视剧", "纪录片"], | ||
"schema": "NexusPHP", | ||
"host": "hdfans.org", | ||
"collaborator": "csi0n", | ||
"searchEntryConfig": { | ||
"fieldSelector": { | ||
"progress": { | ||
"selector": ["> td:eq(9)"], | ||
"filters": ["query.text()=='--'?null:parseFloat(query.text())"] | ||
"name": "HDFans", | ||
"timezoneOffset": "+0800", | ||
"description": "与志同道合之人前行 分享更多值得珍藏的资源", | ||
"url": "https://hdfans.org", | ||
"icon": "https://hdfans.org/favicon.ico", | ||
"tags": ["综合", "电影", "电视剧", "纪录片"], | ||
"schema": "NexusPHP", | ||
"host": "hdfans.org", | ||
"collaborator": "csi0n", | ||
"selectors": { | ||
"userSeedingTorrents": { | ||
"page": "/getusertorrentlistajax.php?userid=$user.id$&type=seeding", | ||
"fields": { | ||
"seeding": { | ||
"selector": ["b:first"], | ||
"filters": ["query.text()"] | ||
}, | ||
"status": { | ||
"selector": ["> td:eq(9)"], | ||
"filters": ["query.text()==='--'?null:(parseFloat(query.text())==100?255:3)"] | ||
"seedingSize": { | ||
"selector": "", | ||
"filters": [ | ||
"query.text().match(/总大小:(.*?)</g)", | ||
"(query && query.length>0 ) ? query[0].replace('总大小:', '').replace('<', '').trim() : 0", | ||
"(query != 0) ? _self.getTotalSize([query]) : 0" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"searchEntryConfig": { | ||
"fieldSelector": { | ||
"progress": { | ||
"selector": ["> td:eq(9)"], | ||
"filters": ["query.text()=='--'?null:parseFloat(query.text())"] | ||
}, | ||
"status": { | ||
"selector": ["> td:eq(9)"], | ||
"filters": [ | ||
"query.text()==='--'?null:(parseFloat(query.text())==100?255:3)" | ||
] | ||
} | ||
} | ||
} | ||
} |
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