Skip to content

Commit 075d9d9

Browse files
committed
新增 [CurseForge - legacy] 支持; 更新 [CurseForge] 规则
1 parent 1c79cac commit 075d9d9

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

other/Autopage/rules.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2030,11 +2030,22 @@
20302030
},
20312031
"CurseForge": {
20322032
"host": "www.curseforge.com",
2033+
"url": "return fun.isPager()",
2034+
"blank": 3,
2035+
"pager": {
2036+
"nextL": ".btn-next",
2037+
"pageE": ".results-container>div",
2038+
"replaceE": ".pagination"
2039+
}
2040+
},
2041+
"CurseForge - legacy": {
2042+
"host": "legacy.curseforge.com",
2043+
"url": "return fun.isPager()",
2044+
"blank": 3,
20332045
"pager": {
20342046
"nextL": ".pagination-next>a",
20352047
"pageE": "div.my-2",
2036-
"replaceE": ".pagination",
2037-
"scrollD": 2500
2048+
"replaceE": ".pagination"
20382049
}
20392050
},
20402051
"Planet Minecraft": {

0 commit comments

Comments
 (0)