Skip to content

Commit

Permalink
fix(gtru): support uploads (#1772)
Browse files Browse the repository at this point in the history
* fix(gtru): support uploads

* fix(gtru): support bonusPerHour
  • Loading branch information
haowenwu committed Mar 27, 2024
1 parent 37f17cb commit 859de99
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions resource/sites/www.gaytor.rent/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,21 @@
"selector": "td:contains('Join') + td",
"filters": ["dateTime(query.text().split(' (')[0]).valueOf()"]
},
"uploads": {
"selector": "td:contains('uploaded')",
"filters": ["query.text().match(/and (.*) uploaded/)[1]"]
},
"seedingSize": {
"selector": "#SeedingTorrents > div > table > tbody > tr:not(:first-of-type) > td:nth-of-type(3)",
"filters": ["jQuery.map(query, (item) => {return $(item).text()})", "_self.getTotalSize(query)"]
},
"seeding": {
"selector": "#SeedingTorrents > div > table > tbody > tr:not(:first-of-type)",
"filters": ["query.length"]
},
"bonusPerHour": {
"selector": "#SeedingTorrents > div > table > tbody > tr:not(:first-of-type)",
"filters": ["query.length != 0 ? 0.5 : 0"]
}
}
}
Expand Down

0 comments on commit 859de99

Please sign in to comment.