From 7026bf2d0474fda09a5df445927047f2db18aff7 Mon Sep 17 00:00:00 2001 From: ted423 Date: Thu, 21 Apr 2022 14:04:04 +0800 Subject: [PATCH 1/3] =?UTF-8?q?fix:=20jpop=E6=90=9C=E7=B4=A2=E7=9A=84?= =?UTF-8?q?=E6=9C=AA=E7=99=BB=E5=BD=95=E6=A3=80=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resource/sites/jpopsuki.eu/getSearchResult.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resource/sites/jpopsuki.eu/getSearchResult.js b/resource/sites/jpopsuki.eu/getSearchResult.js index c021aef7b..9b6b7e6c8 100644 --- a/resource/sites/jpopsuki.eu/getSearchResult.js +++ b/resource/sites/jpopsuki.eu/getSearchResult.js @@ -14,7 +14,7 @@ if (!"".getQueryString) { class Parser { constructor() { this.haveData = false; - if (/auth_form/.test(options.responseText)) { + if (/You will be banned for 6 hours after your login attempts run out/.test(options.responseText)) { options.status = ESearchResultParseStatus.needLogin; //`[${options.site.name}]需要登录后再搜索`; return; } From 4ca43adaf06cf76c6f91c38a52ccc3756c63dc37 Mon Sep 17 00:00:00 2001 From: ted423 Date: Thu, 21 Apr 2022 16:06:27 +0800 Subject: [PATCH 2/3] =?UTF-8?q?fix:=20QB=E5=AD=98=E5=9C=A8=E9=87=8D?= =?UTF-8?q?=E5=A4=8D=E4=BB=BB=E5=8A=A1=E4=B8=8B=E8=BD=BD=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E4=B8=BA=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/ronggang/PT-Plugin-Plus/issues/386 --- src/background/contextMenus.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/background/contextMenus.ts b/src/background/contextMenus.ts index 43c0ae462..90150e1c0 100644 --- a/src/background/contextMenus.ts +++ b/src/background/contextMenus.ts @@ -470,7 +470,7 @@ export class ContextMenus { }); chrome.tabs.sendMessage(tabid, { action: EAction.showMessage, - data: result + data: result.status=="" ? this.service.i18n.t("service.contextMenus.sendTorrentToClientError") : result }); }) .finally(() => { From 4f1f7672f338ae167570f5c9a380da418d86186a Mon Sep 17 00:00:00 2001 From: Luy_0 Date: Wed, 27 Apr 2022 12:19:59 +0800 Subject: [PATCH 3/3] create rspt config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 西电睿思 --- .../sites/resource.xidian.edu.cn/config.json | 135 ++++++++++++++++++ 1 file changed, 135 insertions(+) create mode 100644 resource/sites/resource.xidian.edu.cn/config.json diff --git a/resource/sites/resource.xidian.edu.cn/config.json b/resource/sites/resource.xidian.edu.cn/config.json new file mode 100644 index 000000000..0c210acfc --- /dev/null +++ b/resource/sites/resource.xidian.edu.cn/config.json @@ -0,0 +1,135 @@ +{ + "name": "睿思", + "timezoneOffset": "+0800", + "description": "西电睿思PT", + "url": "http://resource.xidian.edu.cn/", + "icon": "http://resource.xidian.edu.cn/favicon.ico", + "tags": [ + "教育网", + "影视", + "综合" + ], + "schema": "NexusPHP", + "host": "resource.xidian.edu.cn", + "collaborator": "luy", + "searchEntry": [ + { + "name": "全站", + "enabled": true + }, + { + "queryString": "cat401=1", + "name": "电影", + "enabled": false + }, + { + "queryString": "cat402=1", + "name": "电视剧", + "enabled": false + }, + { + "queryString": "cat403=1", + "name": "综艺", + "enabled": false + }, + { + "queryString": "cat404=1", + "name": "纪录片", + "enabled": false + }, + { + "queryString": "cat405=1", + "name": "动漫", + "enabled": false + }, + { + "queryString": "cat406=1", + "name": "MV", + "enabled": false + }, + { + "queryString": "cat407=1", + "name": "体育", + "enabled": false + }, + { + "queryString": "cat408=1", + "name": "音乐", + "enabled": false + }, + { + "queryString": "cat410=1", + "name": "游戏", + "enabled": false + }, + { + "queryString": "cat411=1", + "name": "学习", + "enabled": false + }, + { + "queryString": "cat412=1", + "name": "软件", + "enabled": false + }, + { + "queryString": "cat409=1", + "name": "其他", + "enabled": false + } + ], + "categories": [{ + "entry": "*", + "result": "&cat$id$=1", + "category": [{ + "id": 401, + "name": "电影" + }, + { + "id": 402, + "name": "电视剧" + }, + { + "id": 403, + "name": "综艺" + }, + { + "id": 404, + "name": "纪录片" + }, + { + "id": 405, + "name": "动漫" + }, + { + "id": 406, + "name": "MV" + }, + { + "id": 407, + "name": "体育" + }, + { + "id": 408, + "name": "音乐" + }, + { + "id": 410, + "name": "游戏" + }, + { + "id": 411, + "name": "学习" + }, + { + "id": 412, + "name": "软件" + }, + { + "id": 409, + "name": "其他" + } + ] + }], + "cdn": ["http://resource.xidian.edu.cn/"] +} \ No newline at end of file