From b5cc2a83f294f0b40bbae151b8809327fcadc4c2 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 1 May 2023 14:58:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20[xHamster]=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 | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 539e56a..9f8140e 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -5476,14 +5476,15 @@ } }, "xHamster": { - "host": "/xhamster(\\d+)?\\.com$/", - "url": "return (document.title.indexOf('xHamster') > -1 && !fun.indexOF('/videos/') && !fun.indexOF('/photos/'))", + "host": ["/^[a-z]{2}\\.xhamster\\.com$/","/^[a-z]{2}\\..*(xh).*\\.[a-z]{2,}$/"], + "url": "return ((document.title.indexOf('xHamster') > -1 || fun.getCSS('meta[name=application-name][content=xHamster]')) && !fun.indexOF('/videos/') && !fun.indexOF('/photos/gallery'))", "blank": 3, "pager": { - "nextL": "li.next>a", - "pageE": ".thumb-list", + "type": 3, + "nextL": "li.next>a,a[rel=next]", + "pageE": ".thumb-list,.channels-thumbs", "replaceE": ".pager-section", - "scrollD": 2500 + "scrollD": 500 } }, "EPORNER": {