From 7a7f915a8eafa9a800c1f8ef308786131bbd51d7 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 6 Apr 2022 13:53:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E6=9C=BA=E6=A0=B8=20GCOR?= =?UTF-8?q?ES]=20=E6=94=AF=E6=8C=81;=20=E4=BC=98=E5=8C=96=20[=E7=BB=85?= =?UTF-8?q?=E5=A3=AB=E4=BB=93=E5=BA=93]=20=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index ca17b3c..dd74463 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -1688,6 +1688,15 @@ "scrollD": 500 } }, + "机核 GCORES": { + "host": "www.gcores.com", + "url": "fun.isUrlC(); fun.getAllCSS('.navLayout_side, .gtabs, .loadingPlaceholder>.row').forEach(function (o) {o.innerHTML = o.innerHTML;}); return (fun.lp() != '/' && (fun.indexOF('/collections/') || !fun.indexOF(/\\/\\d+$/)))", + "pager": { + "nextL": "li.pagination_item.is_active+li>a, li.pagination_item.active+li>a", + "pageE": ".loadingPlaceholder>.row>div", + "replaceE": ".pagination" + } + }, "SpigotMC": { "host": "www.spigotmc.org", "url": "/\\/resources\\/(categories|authors)?/", @@ -5327,12 +5336,12 @@ }, "绅士仓库": { "host": "/^cangku\\./", - "url": "if (document.title.indexOf('绅士') == -1){return} fun.isUrlC(); return (fun.lp() == '/' || fun.indexOF('/user/'))", + "url": "if (document.title.indexOf('绅士') == -1){return}; fun.isUrlC(); setTimeout(`document.querySelectorAll('#header, .simple-navbar').forEach(function (o) {o.innerHTML = o.innerHTML; console.log(o);});`, 1500); return (fun.lp() == '/' || fun.indexOF('/category/') || fun.indexOF('/user/'))", "history": true, "pager": { "type": 6, "nextL": "js;return fun.getNextEP('li.number.active+li.number', 'page=', /page=\\d+/)", - "pageE": ".post-list>.row, #user-post>.row, #user-favorite>.row, #user-comment .comment-list", + "pageE": ".post-list>.row, .category-post>.row, #user-post>.row, #user-favorite>.row, #user-comment .comment-list", "replaceE": ".el-pager", "loadTime": 1500 },