From dee0db5109971f3ba8f3d9730f08a0352c9553f6 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 26 Nov 2022 10:57:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20[Pixabay]=20=E8=A7=84?= =?UTF-8?q?=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 10a93d3..4167872 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -1544,13 +1544,15 @@ }, "Pixabay": { "host": "pixabay.com", + "url": "/\\/search\\//", + "blank": 4, "pager": { - "nextL": "//a[text()=\"›\"]", - "pageE": "[class^=\"results\"] >[class^=\"container\"]>div", - "replaceE": "//a[text()=\"›\"]" + "nextL": "//a[string()='›']", + "pageE": ".search-results>div", + "replaceE": "div>.paginator" }, "function": { - "bF": "return fun.src_bF(pageE, [0, 'img[data-lazy-src]', 'data-lazy-src'])" + "bF": "return fun.src_bF(pageE, [0, 'img[data-lazy]', 'data-lazy'])" } }, "Pngtree": {