Skip to content

Commit

Permalink
feat(emp): upload counts
Browse files Browse the repository at this point in the history
  • Loading branch information
wegood9 committed Apr 15, 2024
1 parent ff1b7a8 commit 4a2c0f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resource/sites/www.empornium.is/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@
"seedingSize": {
"selector": ["ul.stats.nobullet > li:contains('Seeding Size:')"],
"filters": ["query.text().replace('Seeding Size: ', '').replace(/,/g,'')", "query.sizeToNumber()"]
},
"uploads": {
"selector": ["ul.stats.nobullet > li:contains('Uploaded:')"],
"filters": ["query.text().match(/(\\d+)/)", "(query && query.length>=1)?parseInt(query[1]):null"]
}
}
},
Expand Down

0 comments on commit 4a2c0f2

Please sign in to comment.