Skip to content

Commit

Permalink
UNIT3D 模板更新,blu作为默认模板,不再单独维护,部分修复,ACM为就模板,独立配置,单独维护
Browse files Browse the repository at this point in the history
#831 相关
#979
  • Loading branch information
ted423 committed Feb 22, 2022
1 parent 6e34444 commit b63fb31
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 41 deletions.
8 changes: 6 additions & 2 deletions resource/schemas/UNIT3D/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,14 @@
"name": "种子列表",
"pages": ["^/torrents$"],
"scripts": ["/schemas/NexusPHP/common.js", "torrents.js"]
}, {
"name": "个人种子列表页面",
"pages": ["^/users/.*?/(uploads|downloads|seeds|active|torrents|unsatisfieds)"],
"scripts": ["/schemas/NexusPHP/common.js", "userTorrents.js"]
}],
"searchEntryConfig": {
"page": "/torrents/filter",
"queryString": "search=$key$",
"page": "/torrents",
"queryString": "perPage=100&name=$key$",
"area": [{
"name": "IMDB",
"keyAutoMatch": "^(tt\\d+)$",
Expand Down
File renamed without changes.
40 changes: 1 addition & 39 deletions resource/sites/blutopia.xyz/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,43 +6,5 @@
"icon": "https://blutopia.xyz/favicon.ico",
"tags": ["影视", "综合"],
"host": "blutopia.xyz",
"collaborator": ["bimzcy", "lengmianxia"],
"plugins": [{
"name": "个人种子列表页面",
"pages": ["^/users/.*?/(uploads|downloads|seeds|active|torrents|unsatisfieds)"],
"scripts": ["/schemas/NexusPHP/common.js", "userTorrents.js"]
}],
"searchEntryConfig": {
"page": "/torrents",
"queryString": "perPage=100&name=$key$",
"area": [{
"name": "IMDB",
"keyAutoMatch": "^(tt\\d+)$",
"queryString": "perPage=100&imdbId=$key$",
"replaceKey": [
"tt", ""
]
}],
"fieldSelector": {
"progress": {
"selector": ["button.btn.btn-success.btn-circle", "button.btn.btn-warning.btn-circle, button.btn.btn-info.btn-circle", ""],
"switchFilters": [
["100"],
["0"],
["null"]
]
},
"status": {
"selector": ["button.btn.btn-success.btn-circle", "button.btn.btn-warning.btn-circle", "button.btn.btn-info.btn-circle"],
"switchFilters": [
["2"],
["1"],
["3"]
]
}
},
"resultType": "html",
"parseScriptFile": "/schemas/UNIT3D/getSearchResult.js",
"resultSelector": "div.table-responsive > table:first"
}
"collaborator": ["bimzcy", "lengmianxia"]
}

0 comments on commit b63fb31

Please sign in to comment.