From 07016edb3434bebe9a5a9537d0808563f3139a44 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 24 Mar 2022 00:35:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[Searxng=20=E8=81=9A?= =?UTF-8?q?=E5=90=88=E6=90=9C=E7=B4=A2]=20=E6=94=AF=E6=8C=81;=20=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=20[Startpage=20=E6=90=9C=E7=B4=A2]=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 | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 6a923ff..059571e 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -195,12 +195,23 @@ "url": "fun.isUrlC(); if (fun.getCookie('av') != '1') {document.cookie='av=1; expires=Thu, 18 Dec 2031 12:00:00 GMT; path=/'; location.reload();}", "history": false }, + "Searxng 搜索": { + "host": "searx.owlook.com.cn", + "url": "/^\\/search/", + "history": false, + "pager": { + "nextL": "js; return fun.getNextF('.next_page')", + "pageE": "article.result", + "replaceE": "#pagination", + "scrollD": 2000 + } + }, "Startpage 搜索": { "host": ["startpage.com","www.startpage.com"], "url": "/\\/search/", - "history": true, + "history": false, "pager": { - "nextL": "js; return fun.getNextF('//div[contains(@class, 'pagination ')]/form[./button[@class='pagination__next-prev-button next']]')", + "nextL": "js; return fun.getNextF('//div[contains(@class, \"pagination\")]/form[./button[@class=\"pagination__next-prev-button next\"]]')", "pageE": "section.w-gl--desktop > div", "replaceE": ".pagination", "scrollD": 2000