From 9a851f9db135aa877c83d50ce94e2c5cfd9fc9c0 Mon Sep 17 00:00:00 2001 From: fzlins Date: Sat, 11 Nov 2023 08:02:30 -0500 Subject: [PATCH] fix(MTV): uploades --- resource/sites/www.morethantv.me/config.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resource/sites/www.morethantv.me/config.json b/resource/sites/www.morethantv.me/config.json index 1e835a0ea..b2e5f3198 100644 --- a/resource/sites/www.morethantv.me/config.json +++ b/resource/sites/www.morethantv.me/config.json @@ -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"]