新增 [游民星空] 其他页面支持并优化合并规则

This commit is contained in:
xiu2
2022-07-01 21:45:32 +08:00
parent 094cf11181
commit 5deca7d0c8
+5 -31
View File
@@ -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": {