Skip to content

Commit

Permalink
fix(HDB): update seeding size selector
Browse files Browse the repository at this point in the history
  • Loading branch information
Araputa authored and fzlins committed Aug 14, 2024
1 parent 185230f commit 69ddebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resource/sites/hdbits.org/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@
"filters": ["query.text().match(/([\\d.]+)/)", "(query && query.length>=1)?query[0]:''"]
},
"seedingSize": {
"selector": ["td.heading:contains('Seeding size') + td"],
"selector": ["td.rowhead:contains('Seeding size (total)') + td"],
"filters": ["query.text().replace(/,/g,'').match(/([\\d.]+ ?[ZEPTGMK]?i?B)/)", "(query && query.length>=2)?(query[1]).sizeToNumber():0"]
}
}
Expand Down

0 comments on commit 69ddebe

Please sign in to comment.