Skip to content

Commit

Permalink
提高选择器精度
Browse files Browse the repository at this point in the history
提高选择器精度,避免选中日期列导致做种体积出错。
  • Loading branch information
luckiestone authored and Rhilip committed Oct 28, 2021
1 parent 3f9c990 commit 139a742
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resource/schemas/GazelleJSONAPI/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"page": "/torrents.php?type=seeding&userid=$user.id$",
"fields": {
"seedingSize": {
"selector": ["tr.torrent_row > td.nobr"],
"selector": ["tr.torrent_row > td.number_column.nobr"],
"filters": ["jQuery.map(query, (item)=>{return $(item).text();})", "_self.getTotalSize(query)"]
},
"bonus": {
Expand All @@ -72,4 +72,4 @@
}
}
}
}
}

0 comments on commit 139a742

Please sign in to comment.