From 5deca7d0c8b279fe77e99625fe69896bc1f25246 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 1 Jul 2022 21:45:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E6=B8=B8=E6=B0=91?= =?UTF-8?q?=E6=98=9F=E7=A9=BA]=20=E5=85=B6=E4=BB=96=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=B9=B6=E4=BC=98=E5=8C=96=E5=90=88=E5=B9=B6?= =?UTF-8?q?=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 | 36 +++++------------------------------- 1 file changed, 5 insertions(+), 31 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index d357254..0fbc50c 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -1879,46 +1879,20 @@ }, "游民星空": { "host": "www.gamersky.com", - "url": "/^\\/ent\\//", - "pager": { - "type": 3, - "nextL": "//div[@class='page_css']/a[text()='下一页']", - "pageE": ".Mid2L_con>*:not(.gs_nc_editor):not(.pagecss):not(.page_css):not(.gs_ccs_solve):not(.post_ding)", - "insertP": [".page_css",1], - "replaceE": ".page_css", - "scrollE": ".page_css", - "scrollD": 100 - } - }, - "游民星空 - 攻略页": { - "host": "www.gamersky.com", - "url": "/^\\/handbook\\//", + "url": "/^\\/(zl|ent|handbook|hardware)\\/.+\\.shtml/", "blank": 3, "pager": { "type": 3, "nextL": "//div[@class='page_css']/a[text()='下一页']", - "pageE": ".Mid2L_con>*:not(.gs_nc_editor):not(.pagecss):not(.gs_ccs_solve):not(.post_ding)", - "insertP": [".gs_nc_editor",1], + "pageE": ".Mid2L_con>*:not(.gs_nc_editor):not(.pagecss):not(.page_css):not(.gs_ccs_solve):not(.post_ding)", + "insertP": [".Mid2L_con>.pagecss, .Mid2L_con>.page_css",1], "replaceE": ".page_css", "scrollE": ".page_css", "forceHTTPS": true, - "scrollD": 100 + "scrollD": 200 }, "function": { - "bF": "pageE.forEach(function (one) {if (one.tagName === 'P' && one.textContent.indexOf('更多相关内容请关注') > -1) {one.style.display = 'none';}}); return fun.src_bF(pageE)" - } - }, - "游民星空 - 专栏文章页": { - "host": "www.gamersky.com", - "url": "/^\\/zl\\/.+\\.shtml/", - "pager": { - "type": 3, - "nextL": "//div[@class='page_css']/a[text()='下一页']", - "pageE": ".Mid2L_con>*:not(.gs_nc_editor):not(.pagecss):not(.gs_ccs_solve):not(.post_ding)", - "insertP": [".pagecss",1], - "replaceE": ".page_css", - "scrollE": ".page_css", - "scrollD": 500 + "bF": "pageE.forEach(function (one) {if (one.tagName === 'P' && one.textContent.indexOf('更多相关') > -1) {one.style.display = 'none';}}); return fun.src_bF(pageE)" } }, "机核 GCORES": {