Skip to content

Commit

Permalink
fix(ecustpt&cyanbug): bonusPerHour
Browse files Browse the repository at this point in the history
  • Loading branch information
hui-shao authored and fzlins committed Jan 31, 2024
1 parent 4d1d4b5 commit da5dae2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 34 deletions.
19 changes: 2 additions & 17 deletions resource/sites/cyanbug.net/config.json
Expand Up @@ -12,7 +12,8 @@
"影视"
],
"collaborator": [
"jinglekang"
"jinglekang",
"hui-shao"
],
"levelRequirements": [
{
Expand Down Expand Up @@ -245,22 +246,6 @@
}
}
},
"bonusExtendInfo": {
"prerequisites": "!user.bonusPerHour",
"page": "/mybonus.php",
"fields": {
"bonusPerHour": {
"selector": [
"div:contains('你当前每小时能获取'):last",
"div:contains('You are currently getting'):last",
"div:contains('你當前每小時能獲取'):last"
],
"filters": [
"parseFloat(query.text().match(/[\\d.]+/)[0])"
]
}
}
},
"userSeedingTorrents": {
"page": "/getusertorrentlistajax.php?userid=$user.id$&type=seeding",
"fields": {
Expand Down
19 changes: 2 additions & 17 deletions resource/sites/ecustpt.eu.org/config.json
Expand Up @@ -12,7 +12,8 @@
"综合"
],
"collaborator": [
"EasonWong"
"EasonWong",
"hui-shao"
],
"levelRequirements": [
{
Expand Down Expand Up @@ -334,22 +335,6 @@
}
}
},
"bonusExtendInfo": {
"prerequisites": "!user.bonusPerHour",
"page": "/mybonus.php",
"fields": {
"bonusPerHour": {
"selector": [
"div:contains('你当前每小时能获取'):last",
"div:contains('You are currently getting'):last",
"div:contains('你當前每小時能獲取'):last"
],
"filters": [
"parseFloat(query.text().match(/[\\d.]+/)[0])"
]
}
}
},
"userSeedingTorrents": {
"page": "/getusertorrentlistajax.php?userid=$user.id$&type=seeding",
"fields": {
Expand Down

0 comments on commit da5dae2

Please sign in to comment.