From ac6fce657a6f252a1f7494c1c3c51d610e02eb5c Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Tue, 14 Feb 2023 20:25:30 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=20[Z-Library]=20=E5=85=B6?= =?UTF-8?q?=E4=BB=96=E5=9F=9F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 637f16a..430f998 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -4328,12 +4328,12 @@ } }, "Z-Library": { - "host": "/(\\dlib|b-ok\\d?|booksc|z-lib)\\./", + "host": "/(^lib-.+\\.\\d+lib\\.[a-z]+$|(\\dlib|b-ok\\d?|booksc|z-lib)\\.)/", "url": "return (document.title.indexOf('Z-Library') > -1 && fun.indexOF('/s/'))", "blank": 3, "history": true, "pager": { - "nextL": "//div[@class='paginator']//span/strong/parent::span/parent::td/following-sibling::td[1]//a", + "nextL": "//div[@class='paginator ' or @class='paginator']//span/strong/../../following-sibling::td[1]//a", "pageE": "//*[@id='searchResultBox'] | //script[contains(string(), 'pagerOptions')]", "replaceE": ".paginator", "scriptT": 2