From ee79df08f00f239be4ae49cf2c3a3d813aa7f82a Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 22 May 2022 12:22:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[SubHD]=E3=80=81[A4k]?= =?UTF-8?q?=E3=80=81[MINI4K]=E3=80=81[=E8=99=8E=E6=89=91=E8=AE=BA=E5=9D=9B?= =?UTF-8?q?]=20=E8=A7=84=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, 5 insertions(+), 5 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 87e12c0..ae5c6bd 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -517,7 +517,7 @@ }, "虎扑社区 - 帖子内": { "host": "bbs.hupu.com", - "url": "return (fun.indexOF('.html'))", + "url": "return fun.indexOF('.html')", "thread": true, "pager": { "nextL": "li.hupu-rc-pagination-next>a", @@ -527,7 +527,7 @@ }, "虎扑社区": { "host": "bbs.hupu.com", - "url": "return (fun.lp() != '/' && !fun.indexOF('/all-'))", + "url": "return fun.getCSS('ul.hupu-rc-pagination')", "pager": { "nextL": "js; let next = fun.getCSS('li.hupu-rc-pagination-item-active+li.hupu-rc-pagination-item>a'); if (next) return (location.origin + location.pathname.replace(/-\\d+/,'') + '-' + next.textContent)", "pageE": "li.bbs-sl-web-post-body", @@ -2613,7 +2613,7 @@ }, "MINI4K": { "host": "www.mini4k.com", - "url": "return (fun.lp() != '/' && !fun.indexOF(/\\/\\d{3,}/))", + "url": "return fun.getCSS('.pagination')", "blank": 3, "pager": { "nextL": "a.pager__item--next", @@ -2633,7 +2633,7 @@ }, "A4k 字幕网": { "host": "www.a4k.net", - "url": "return (!fun.indexOF('/subtitle/'))", + "url": "return !fun.indexOF('/subtitle/')", "blank": 3, "pager": { "nextL": "a.pager__item--next", @@ -2652,7 +2652,7 @@ }, "SubHD": { "host": ["subhd.tv","subhdtw.com","subhd.la","subhd.cc","subhd.me"], - "url": "return (fun.lp() != '/' && fun.lp() != '/zu' && !fun.indexOF('/a/') && !fun.indexOF('/d/') && !fun.indexOF('/forum/'))", + "url": "return fun.getCSS('nav.clearfix')", "pager": { "nextL": "//a[@class='page-link'][contains(text(), '下一页')]", "pageE": ".bg-white.shadow-sm.rounded-3",