Skip to content

Commit 5deca7d

Browse files
committed
新增 [游民星空] 其他页面支持并优化合并规则
1 parent 094cf11 commit 5deca7d

1 file changed

Lines changed: 5 additions & 31 deletions

File tree

other/Autopage/rules.json

Lines changed: 5 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1879,46 +1879,20 @@
18791879
},
18801880
"游民星空": {
18811881
"host": "www.gamersky.com",
1882-
"url": "/^\\/ent\\//",
1883-
"pager": {
1884-
"type": 3,
1885-
"nextL": "//div[@class='page_css']/a[text()='下一页']",
1886-
"pageE": ".Mid2L_con>*:not(.gs_nc_editor):not(.pagecss):not(.page_css):not(.gs_ccs_solve):not(.post_ding)",
1887-
"insertP": [".page_css",1],
1888-
"replaceE": ".page_css",
1889-
"scrollE": ".page_css",
1890-
"scrollD": 100
1891-
}
1892-
},
1893-
"游民星空 - 攻略页": {
1894-
"host": "www.gamersky.com",
1895-
"url": "/^\\/handbook\\//",
1882+
"url": "/^\\/(zl|ent|handbook|hardware)\\/.+\\.shtml/",
18961883
"blank": 3,
18971884
"pager": {
18981885
"type": 3,
18991886
"nextL": "//div[@class='page_css']/a[text()='下一页']",
1900-
"pageE": ".Mid2L_con>*:not(.gs_nc_editor):not(.pagecss):not(.gs_ccs_solve):not(.post_ding)",
1901-
"insertP": [".gs_nc_editor",1],
1887+
"pageE": ".Mid2L_con>*:not(.gs_nc_editor):not(.pagecss):not(.page_css):not(.gs_ccs_solve):not(.post_ding)",
1888+
"insertP": [".Mid2L_con>.pagecss, .Mid2L_con>.page_css",1],
19021889
"replaceE": ".page_css",
19031890
"scrollE": ".page_css",
19041891
"forceHTTPS": true,
1905-
"scrollD": 100
1892+
"scrollD": 200
19061893
},
19071894
"function": {
1908-
"bF": "pageE.forEach(function (one) {if (one.tagName === 'P' && one.textContent.indexOf('更多相关内容请关注') > -1) {one.style.display = 'none';}}); return fun.src_bF(pageE)"
1909-
}
1910-
},
1911-
"游民星空 - 专栏文章页": {
1912-
"host": "www.gamersky.com",
1913-
"url": "/^\\/zl\\/.+\\.shtml/",
1914-
"pager": {
1915-
"type": 3,
1916-
"nextL": "//div[@class='page_css']/a[text()='下一页']",
1917-
"pageE": ".Mid2L_con>*:not(.gs_nc_editor):not(.pagecss):not(.gs_ccs_solve):not(.post_ding)",
1918-
"insertP": [".pagecss",1],
1919-
"replaceE": ".page_css",
1920-
"scrollE": ".page_css",
1921-
"scrollD": 500
1895+
"bF": "pageE.forEach(function (one) {if (one.tagName === 'P' && one.textContent.indexOf('更多相关') > -1) {one.style.display = 'none';}}); return fun.src_bF(pageE)"
19221896
}
19231897
},
19241898
"机核 GCORES": {

0 commit comments

Comments
 (0)