Skip to content

Commit

Permalink
fix 白兔做种体积获取
Browse files Browse the repository at this point in the history
  • Loading branch information
ted423 committed Oct 28, 2022
1 parent 84870d6 commit e5ef2b7
Showing 1 changed file with 26 additions and 16 deletions.
42 changes: 26 additions & 16 deletions resource/sites/club.hares.top/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"merge": true,
"fields": {
"messageCount": {
"selector": [".unread"],
"selector": [ ".unread" ],
"filters": [
"query.text().match(/(\\d+)/)",
"(query && query.length>=2)?parseInt(query[1]):0"
Expand Down Expand Up @@ -182,23 +182,33 @@
},
"seeding": {
"selector": [ "i.fas.fa-upload.text-success.fa-fw + span.list-info" ],
"filters": ["query.text().trim()"]
},
"filters": [ "query.text().trim()" ]
}
}
},
"userSeedingTorrents": {
"page": "/getusertorrentlistajax.php?page=1&limit=50&uid=$user.id$&type=seeding",
"dataType": "json",
"headers": {
"Accept": "application/json, text/javascript, */*; q=0.01"
},
"fields": {
"seedingSize": {
"value": -1
"selector": [ "size" ],
"filters": [ "query.sizeToNumber()" ]
}
}
}
},
"plugins": [
{
"name": "官方列表",
"pages": ["/official.php"],
"scripts": [
"/schemas/NexusPHP/common.js",
"/schemas/NexusPHP/torrents.js"
]
}
],
"mergeSchemaTagSelectors": true
}
"plugins": [
{
"name": "官方列表",
"pages": [ "/official.php" ],
"scripts": [
"/schemas/NexusPHP/common.js",
"/schemas/NexusPHP/torrents.js"
]
}
],
"mergeSchemaTagSelectors": true
}

0 comments on commit e5ef2b7

Please sign in to comment.