From 92670eabdc70eaae8a4a0ef8cf7fe2d47921187a Mon Sep 17 00:00:00 2001 From: ted423 Date: Tue, 29 Mar 2022 18:42:01 +0800 Subject: [PATCH 1/4] =?UTF-8?q?fix:=20=E6=B5=B7=E5=B8=A6=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E7=9A=84=E6=98=BE=E7=A4=BA=E5=81=9A=E7=A7=8D=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resource/sites/hd.ai/getSearchResult.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/resource/sites/hd.ai/getSearchResult.js b/resource/sites/hd.ai/getSearchResult.js index 108645c23..298497c8e 100644 --- a/resource/sites/hd.ai/getSearchResult.js +++ b/resource/sites/hd.ai/getSearchResult.js @@ -62,9 +62,7 @@ site: site, tags: this.getTags(item), entryName: options.entry.name, - category: item.category, - progress: "", - status: "" + category: item.category }; results.push(data); }); From 7d33947ea64fb25d4dccad502e9baaae3e854846 Mon Sep 17 00:00:00 2001 From: ted423 Date: Tue, 29 Mar 2022 19:25:22 +0800 Subject: [PATCH 2/4] =?UTF-8?q?fix:=20ACM=E4=B8=AD=E6=96=87=E4=B8=8B?= =?UTF-8?q?=E8=AF=86=E5=88=AB=E9=97=AE=E9=A2=98(=E5=BC=95=E7=94=A8?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/ronggang/PT-Plugin-Plus/issues/980 --- resource/sites/asiancinema.me/config.json | 34 ----------------------- 1 file changed, 34 deletions(-) diff --git a/resource/sites/asiancinema.me/config.json b/resource/sites/asiancinema.me/config.json index 24a49e131..00a0e2b0a 100644 --- a/resource/sites/asiancinema.me/config.json +++ b/resource/sites/asiancinema.me/config.json @@ -69,40 +69,6 @@ "filters": ["query.text().trim().replace(/,|\\n/g,'')"] } } - }, - "userExtendInfo": { - "page": "/users/$user.name$", - "fields": { - "seedingSize": { - "selector": ["table.table-condensed.table-striped.table-bordered:first td:contains('Seeding Size') + td"], - "filters": ["query.text().trim().replace(/,/g,'').sizeToNumber()"] - }, - "levelName": { - "selector": "div.content span.badge-user" - }, - "messageCount": { - "selector": [".point"], - "filters": ["query.length?'11':'0'"] - }, - "joinTime": { - "selector": ["div.content h4:contains('Registration date')", "div.content h4:contains('注册日期')", "div.content h4:contains('註冊日期')"], - "filters": ["query.text().replace(/(Registration date|注册日期|註冊日期)/g, '').trim()", "dateTime(query).isValid()?dateTime(query).valueOf():query"] - } - } - }, - "common": { - "page": "/torrents/", - "merge": true, - "fields": { - "size": { - "selector": ["td.col-sm-2:contains('Size') + td"], - "filters": ["query.text().replace(/,/g,'').match(/([\\d.]+ ?[ZEPTGMK]?i?B)/)", "(query && query.length>1)?(query[1]).sizeToNumber():0"] - }, - "sayThanksButton": { - "selector": ["a.btn.btn-xs[data-original-title='Thank']"], - "filters": ["query"] - } - } } } } \ No newline at end of file From b754e5b55e2fede290f2591992a863bd6ee54c62 Mon Sep 17 00:00:00 2001 From: ted423 Date: Tue, 29 Mar 2022 19:29:04 +0800 Subject: [PATCH 3/4] fix: U3D thank button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 就是感觉没啥意义 --- resource/schemas/UNIT3D/config.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resource/schemas/UNIT3D/config.json b/resource/schemas/UNIT3D/config.json index 7c877906a..660d9d58b 100644 --- a/resource/schemas/UNIT3D/config.json +++ b/resource/schemas/UNIT3D/config.json @@ -115,6 +115,10 @@ "size": { "selector": ["td.col-sm-2:contains('Size') + td"], "filters": ["query.text().replace(/,/g,'').match(/([\\d.]+ ?[ZEPTGMK]?i?B)/)", "(query && query.length>1)?(query[1]).sizeToNumber():0"] + }, + "sayThanksButton": { + "selector": [".button-block button.btn.btn-sm.btn-primary"], + "filters": ["query"] } } } From 608d9271ca0706ba73d89f21ef6de2b07486d440 Mon Sep 17 00:00:00 2001 From: ted423 Date: Tue, 29 Mar 2022 19:34:47 +0800 Subject: [PATCH 4/4] =?UTF-8?q?fix:=20U3D=E8=AF=AF=E5=87=BB=E5=85=B6?= =?UTF-8?q?=E4=BB=96=E6=8C=89=E9=92=AE=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resource/schemas/UNIT3D/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resource/schemas/UNIT3D/config.json b/resource/schemas/UNIT3D/config.json index 660d9d58b..50d39ce6b 100644 --- a/resource/schemas/UNIT3D/config.json +++ b/resource/schemas/UNIT3D/config.json @@ -118,7 +118,7 @@ }, "sayThanksButton": { "selector": [".button-block button.btn.btn-sm.btn-primary"], - "filters": ["query"] + "filters": ["$(query[0])"] } } }