Skip to content

Commit

Permalink
fix: GPW做种体积和积分值
Browse files Browse the repository at this point in the history
  • Loading branch information
sabersalv committed Jun 17, 2022
1 parent dac283f commit ffa6a89
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions resource/sites/greatposterwall.com/config.json
Expand Up @@ -29,20 +29,18 @@
"fields": {
"seedingSize": {
"selector": [
"table#bprates_overview > tbody > tr > td:eq(1)"
"#seeding-size-value"
],
"filters": [
"query.text().replace(/,/g,'').match(/([\\d.]+ ?[ZEPTGMK]?i?B)/)",
"(query && query.length>=2)?(query[1]).sizeToNumber():0"
"query.data('value')"
]
},
"bonus": {
"selector": [
"div#content > div.header > h3"
"#bp-value"
],
"filters": [
"query.text().replace(/,/g,'').match(/.+?([\\d.]+)/)",
"(query && query.length>=2)?query[1]:0"
"query.data('value')"
]
},
"seedingList": {
Expand Down

0 comments on commit ffa6a89

Please sign in to comment.