Skip to content

Commit

Permalink
feat: hdtime添加做种信息
Browse files Browse the repository at this point in the history
  • Loading branch information
enigmazack committed Aug 15, 2021
1 parent 0b5d95d commit 959b5f0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions resource/sites/hdtime.org/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,26 @@
],
"schema": "NexusPHP",
"host": "hdtime.org",
"searchEntryConfig": {
"fieldSelector": {
"progress": {
"selector": ["div[title*='seeding']", "div[title*='inactivity']",""],
"switchFilters": [
["100"],
["query.attr('title').split(' ')", "query[1]?parseInt(query[1].substr(0,query[1].length-1)):undefined"],
["undefined"]
]
},
"status": {
"selector": ["div[title*='seeding']", "div[title*='inactivity']",""],
"switchFilters": [
["2"],
["3"],
["undefined"]
]
}
}
},
"searchEntry": [{
"name": "全站",
"enabled": true
Expand Down

0 comments on commit 959b5f0

Please sign in to comment.