Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(UBits): 解决了UBits的搜索结果不显示种子进度的问题 #1604

Merged
merged 1 commit into from
Sep 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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