Skip to content

Commit

Permalink
fix(MTV): uploades
Browse files Browse the repository at this point in the history
  • Loading branch information
fzlins committed Nov 11, 2023
1 parent 4d1a7b8 commit 9a851f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resource/sites/www.morethantv.me/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@
"userExtendInfo": {
"page": "/user.php?id=$user.id$",
"fields": {
"uploades": {
"selector": "ul.stats > li:contains('Uploads Snatched')",
"filters": ["query.text().replace(/,/g,'').match(/Uploads Snatched:.+?([\\d]+)/)", "(query && query.length>=2)?query[1]:null"]
},
"uploaded": {
"selector": "ul.stats > li:contains('Uploaded')",
"filters": ["query.text().replace(/,/g,'').match(/Uploaded.+?([\\d.]+ ?[ZEPTGMK]?i?B)/)", "(query && query.length>=2)?(query[1]).sizeToNumber():null"]
Expand Down

0 comments on commit 9a851f9

Please sign in to comment.