Skip to content

Commit

Permalink
适配蝴蝶做种数 做种体积
Browse files Browse the repository at this point in the history
  • Loading branch information
SHL-COOL committed Jul 3, 2022
1 parent f519bc1 commit 73e4270
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions resource/schemas/NexusPHP/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@
"fields": {
"seeding": {
"selector": ["tr:not(:eq(0))"],
"filters": ["query.find('td.rowfollow:eq(2)').length"]
"filters": ["query.find('td.rowfollow:eq(2)').length != 0 ? query.find('td.rowfollow:eq(2)').length : query.length"]
},
"seedingSize": {
"selector": ["tr:not(:eq(0))"],
"filters": ["jQuery.map(query.find('td.rowfollow:eq(2)'), (item)=>{return $(item).text();})", "_self.getTotalSize(query)"]
"filters": ["query.find('td.rowfollow:eq(2)').length != 0 ? jQuery.map(query.find('td.rowfollow:eq(2)'), (item)=>{return $(item).text();}) : jQuery.map(query.find('td:eq(2)'), (item)=>{return $(item).text();})", "_self.getTotalSize(query)"]
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion resource/sites/hudbt.hust.edu.cn/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
],
"schema": "NexusPHP",
"host": "hudbt.hust.edu.cn",
"collaborator": "Rhilip",
"collaborator": ["Rhilip", "枕头啊枕头"],
"searchEntry": [{
"name": "全站",
"enabled": true
Expand Down

0 comments on commit 73e4270

Please sign in to comment.