Skip to content

Commit 2fa78cd

Browse files
committed
新增 [423down - 文章内评论] 支持; 优化 [轻狂志]、[黑域基地] 规则
1 parent 8277376 commit 2fa78cd

1 file changed

Lines changed: 8 additions & 10 deletions

File tree

other/Autopage/rules.json

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3200,14 +3200,12 @@
32003200
"scrollD": 2000
32013201
}
32023202
},
3203-
"_423down": {
3203+
"423down": {
32043204
"host": "www.423down.com",
3205-
"url": "return (!fun.indexOF('.html'))",
32063205
"pager": {
3207-
"nextL": "//div[@class='paging']//a[contains(text(),'下一页')]",
3208-
"pageE": "div.content-wrap ul.excerpt>li",
3209-
"replaceE": "div.paging",
3210-
"scrollD": 2000
3206+
"nextL": "//span[@class='current']/following-sibling::a[1] | //span[@class='page-numbers current']/preceding-sibling::a[1]",
3207+
"pageE": ".content>.excerpt, .commentlist>li",
3208+
"replaceE": ".paging, .pagenav"
32113209
}
32123210
},
32133211
"不死鸟": {
@@ -3271,18 +3269,18 @@
32713269
},
32723270
"轻狂志": {
32733271
"host": "www.flighty.cn",
3274-
"url": "return (fun.lp() != '/')",
3272+
"url": "/^\\/./",
32753273
"pager": {
3276-
"nextL": "//div[@class='pages']//a[text()='下一页']",
3274+
"nextL": ".pages .thisclass+li>a",
32773275
"pageE": ".items",
32783276
"replaceE": ".pages"
32793277
}
32803278
},
32813279
"黑域基地": {
32823280
"host": "www.hybase.com",
3283-
"url": "return (!fun.indexOF(/\\/\\d+\\.html/))",
3281+
"url": "return (fun.getCSS('#pages') != null)",
32843282
"pager": {
3285-
"nextL": "id('pages')/a[text()='下一页']",
3283+
"nextL": "#pages>b+a",
32863284
"pageE": ".entry",
32873285
"replaceE": "#pages"
32883286
}

0 commit comments

Comments
 (0)