Skip to content

Commit cec2c22

Browse files
committed
新增 [汽车之家论坛] 支持; 优化 [爱卡汽车论坛] 规则
1 parent 6f450cc commit cec2c22

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

other/Autopage/rules.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -856,9 +856,21 @@
856856
"bF": "return fun.src_bF(pageE, [0, 'img[original]', 'original'])"
857857
}
858858
},
859+
"汽车之家论坛": {
860+
"host": "club.autohome.com.cn",
861+
"url": "fun.isUrlC(); return fun.indexOF('/bbs/forum')",
862+
"blank": 3,
863+
"pager": {
864+
"type": 6,
865+
"nextL": "js; return fun.getNextUPN(/(?<=-)\\d+(?=\\.html)/,/-\\d+\\.html$/,'-','.html','2',fun.getCSS('.athm-page__num>a:last-of-type').textContent)",
866+
"pageE": ".post-list>li",
867+
"loadTime": 1000,
868+
"scrollD": 3000
869+
}
870+
},
859871
"爱卡汽车网论坛": {
860872
"host": "www.xcar.com.cn",
861-
"url": "return (fun.lp() == '/bbs/forumdisplay.php')",
873+
"url": "return (fun.lp() == '/bbs/forumdisplay.php' && !fun.getCSS('.article_more_item'))",
862874
"pager": {
863875
"nextL": "a.page_down",
864876
"pageE": ".table-section>dl:not(.table_head)",

0 commit comments

Comments
 (0)