Skip to content

Commit

Permalink
fix: update GPW
Browse files Browse the repository at this point in the history
  • Loading branch information
gpw7593889699 committed Aug 4, 2022
1 parent 918e898 commit 06702d9
Showing 1 changed file with 20 additions and 14 deletions.
34 changes: 20 additions & 14 deletions resource/sites/greatposterwall.com/config.json
Expand Up @@ -24,25 +24,31 @@
"enabled": true
}],
"selectors": {
"userSeedingTorrents": {
"page": "/bonus.php?action=bprates",
"userBaseInfo": {
"page": "/ajax.php?action=index",
"dataType": "json",
"merge": true,
"fields": {
"seedingSize": {
"selector": [
"#seeding-size-value"
],
"filters": [
"query.data('value')"
]
"selector": ["response.userstats.seedingSize"]
},
"bonus": {
"selector": [
"#bp-value"
],
"filters": [
"query.data('value')"
]
"selector": ["response.userstats.bonusPoints"]
},
"joinTime": {
"selector": ["response.userstats.joinedDate"]
},
"seeding": {
"selector": ["response.userstats.seedingCount"]
}
}
},
"userExtendInfo": {
"disabled": true
},
"userSeedingTorrents": {
"page": "/bonus.php?action=bprates",
"fields": {
"seedingList": {
"selector": ["a[href*='torrentid=']"],
"filters": ["jQuery.map(query, item=>$(item).attr('href').match(/torrentid=(\\d+)/)[1])"]
Expand Down

0 comments on commit 06702d9

Please sign in to comment.