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": {