From 1366757f3f42c0c3afb31fe67a6ace722a8a2663 Mon Sep 17 00:00:00 2001 From: ted423 Date: Sun, 11 Sep 2022 11:31:06 +0800 Subject: [PATCH] feat(avgv): remove MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 網站資源種子和數據被删,備份被删 --- resource/sites/avgv.cc/config.json | 36 ------------------------------ resource/sites/avgv.cc/torrents.js | 35 ----------------------------- 2 files changed, 71 deletions(-) delete mode 100644 resource/sites/avgv.cc/config.json delete mode 100644 resource/sites/avgv.cc/torrents.js diff --git a/resource/sites/avgv.cc/config.json b/resource/sites/avgv.cc/config.json deleted file mode 100644 index aa5a748e1..000000000 --- a/resource/sites/avgv.cc/config.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "name": "爱薇网", - "timezoneOffset": "+0800", - "schema": "NexusPHP", - "url": "https://avgv.cc/", - "description": "新加坡华人PT站,很有特色。", - "tags": ["成人", "AV", "GAY", "LES"], - "host": "avgv.cc", - "collaborator": ["xiazhou8", "匿名网友"], - "plugins": [{ - "name": "种子列表", - "pages": ["/AV.php", "/GV.php", "/LES.php"], - "scripts": ["/schemas/NexusPHP/common.js", "/schemas/NexusPHP/torrents.js"] - }, { - "name": "种子列表封面模式", - "pages": ["/torrents.php", "/AV.php", "/GV.php", "/LES.php"], - "scripts": ["/libs/album/album.js", "torrents.js"], - "styles": ["/libs/album/style.css"] - }], - "searchEntryConfig": { - "fieldSelector": { - "progress": { - "selector": ["div.probar_b1, div.probar_b2, div.probar_b3"], - "filters": ["query.attr('style')||''", "query.match(/width:([ \\d.]+)%/)", "(query && query.length>=2)?query[1]:null"] - }, - "status": { - "selector": ["img[src='pic/ZZ.png']", "div.probar_b1", "img[src='pic/WWC.png'], img[src='pic/WC.png']"], - "switchFilters": [ - ["2"], - ["1"], - ["255"] - ] - } - } - } -} diff --git a/resource/sites/avgv.cc/torrents.js b/resource/sites/avgv.cc/torrents.js deleted file mode 100644 index 1db12183f..000000000 --- a/resource/sites/avgv.cc/torrents.js +++ /dev/null @@ -1,35 +0,0 @@ -(function($, window) { - // 添加封面模式 - PTService.addButton({ - title: PTService.i18n.t("buttons.coverTip"), //"以封面的方式进行查看", - icon: "photo", - label: PTService.i18n.t("buttons.cover"), //"封面模式", - click: (success, error) => { - // 获取目标表格 - let tables = $("table.torrentname"); - let images = []; - tables.each((index, item) => { - let img = $(".torrentimg .list > img", item); - let url = img.attr("src"); - let href = img.parent().attr("href"); - let title = $("td.embedded", item).text(); - images.push({ - url: url, - key: href, - title: title, //img.parent().attr("title"), - link: href, - }); - }); - - // 创建预览 - new album({ - images: images, - onClose: () => { - PTService.buttonBar.show(); - }, - }); - success(); - PTService.buttonBar.hide(); - }, - }); -})(jQuery, window);