Skip to content

Commit

Permalink
fix(UBits): 正确显示种子状态及进度
Browse files Browse the repository at this point in the history
  • Loading branch information
cddjr authored and fzlins committed Sep 28, 2023
1 parent 7de8d0c commit 1505695
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resource/sites/ubits.club/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@
"searchEntryConfig": {
"fieldSelector": {
"progress": {
"selector": ["> td.rowfollow:eq(1) td.embedded:eq(1) > div:last"],
"selector": ["> td.rowfollow:eq(1) td.embedded:eq(0) > div:last"],
"filters": ["query ? parseFloat(query.attr('title').match(/[\\d.]+/)) : null"]
},
"status": {
"selector": ["> td.rowfollow:eq(1) td.embedded:eq(1) > div:last"],
"selector": ["> td.rowfollow:eq(1) td.embedded:eq(0) > div:last"],
"filters": [
"query ? query.attr('title') : ''",
"query.indexOf('seeding') != -1 ? 2 : query.indexOf('leeching') != -1 ? 1 : query.indexOf('100%') != -1 ? 255 : 3"
Expand Down

0 comments on commit 1505695

Please sign in to comment.