Skip to content

Commit f723272

Browse files
committed
新增 [观察者网] 等网站支持
1 parent 60c8cf9 commit f723272

1 file changed

Lines changed: 37 additions & 2 deletions

File tree

other/Autopage/rules.json

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2929,7 +2929,7 @@
29292929
"url": "fun.isUrlC(); return (fun.indexOF(/^\\/(soft|article)\\/.+\\/p\\d/))",
29302930
"style": ".app-content-bottom {display: none !important;}",
29312931
"pager": {
2932-
"nextL": "js;return fun.getNextUPN(/(?<=\\/p)\\d*$/, /p\\d*$/, 'p', '', '2', 'li.number:not(.active):last-of-type')",
2932+
"nextL": "js;return fun.getNextUPN(/(?<=\\/p)\\d*$/, /p\\d*$/, 'p', '', '2', fun.getCSS('li.number:not(.active):last-of-type').textContent)",
29332933
"pageE": ".list-animation-leftIn"
29342934
},
29352935
"function": {
@@ -3995,6 +3995,15 @@
39953995
"nextText": "查看更多"
39963996
}
39973997
},
3998+
"观察者网": {
3999+
"host": "www.guancha.cn",
4000+
"url": "/\\/list_/",
4001+
"pager": {
4002+
"nextL": "js;return fun.getNextUPN(/(?<=\\/list_)\\d+(?=\\.shtml)/, /\\/list_.+/, '/list_', '.shtml', '2', fun.getXpath('id(\"Pagination\")/*[contains(@class,\"next\")]/preceding-sibling::*[1]').textContent)",
4003+
"pageE": ".column-list > li",
4004+
"scrollD": 1000
4005+
}
4006+
},
39984007
"ScienceAlert": {
39994008
"host": "www.sciencealert.com",
40004009
"pager": {
@@ -5104,5 +5113,31 @@
51045113
"replaceE": ".article_page",
51055114
"scrollD": 1000
51065115
}
5116+
},
5117+
"凹凸吧": {
5118+
"host": [
5119+
"www.tuaom.cc",
5120+
"www.tuaow.xyz"
5121+
],
5122+
"url": "/^\\/post/",
5123+
"pager": {
5124+
"nextL": "li.next-page > a",
5125+
"pageE": ".entry img, .article-content img",
5126+
"replaceE": "#dm-fy",
5127+
"scrollD": 4000
5128+
}
5129+
},
5130+
"高清尤物网": {
5131+
"host": [
5132+
"www.gqywt.com",
5133+
"www.jjtaotu.com"
5134+
],
5135+
"url": "/\\/\\d{8}\\/\\d{3,}/",
5136+
"pager": {
5137+
"nextL": "//div[@class='pagelist']//a[text()='下一页']",
5138+
"pageE": "#picg img",
5139+
"replaceE": ".page .pagelist",
5140+
"scrollD": 4500
5141+
}
51075142
}
5108-
}
5143+
}

0 commit comments

Comments
 (0)