Skip to content

Commit dee0db5

Browse files
committed
更新 [Pixabay] 规则
1 parent 551fe61 commit dee0db5

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

other/Autopage/rules.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1544,13 +1544,15 @@
15441544
},
15451545
"Pixabay": {
15461546
"host": "pixabay.com",
1547+
"url": "/\\/search\\//",
1548+
"blank": 4,
15471549
"pager": {
1548-
"nextL": "//a[text()=\"\"]",
1549-
"pageE": "[class^=\"results\"] >[class^=\"container\"]>div",
1550-
"replaceE": "//a[text()=\"\"]"
1550+
"nextL": "//a[string()='›']",
1551+
"pageE": ".search-results>div",
1552+
"replaceE": "div>.paginator"
15511553
},
15521554
"function": {
1553-
"bF": "return fun.src_bF(pageE, [0, 'img[data-lazy-src]', 'data-lazy-src'])"
1555+
"bF": "return fun.src_bF(pageE, [0, 'img[data-lazy]', 'data-lazy'])"
15541556
}
15551557
},
15561558
"Pngtree": {

0 commit comments

Comments
 (0)