From 7ab45d9dc45adb1db471d189004dbdbf06c280c8 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 5 Mar 2022 11:30:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E8=B1=86=E7=93=A3=20-=20?= =?UTF-8?q?=E8=AE=A8=E8=AE=BA=E5=8C=BA=E5=8F=8A=E5=B8=96=E5=AD=90=E5=86=85?= =?UTF-8?q?]=20=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 220cdce..e1e8e8e 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -333,23 +333,25 @@ "replaceE": ".paginator" } }, - "豆瓣 - 小组帖子内": { - "host": "www.douban.com", - "url": "return (fun.indexOF('/group/topic/'))", + "豆瓣 - 小组/讨论区 - 帖子内": { + "host": ["www.douban.com", "movie.douban.com"], + "url": "return (fun.indexOF('/group/topic/') || fun.indexOF(/\\/subject\\/\\d+\\/discussion\\/\\d+/))", "thread": true, "pager": { "nextL": "span.next > a", - "pageE": "#comments > li", - "replaceE": ".paginator" + "pageE": "#comments > .comment-item", + "replaceE": ".paginator", + "scrollD": 2500 } }, - "豆瓣 - 小组": { - "host": "www.douban.com", - "url": "return (fun.indexOF('/group/') && fun.indexOF('/discussion'))", + "豆瓣 - 小组/讨论区": { + "host": ["www.douban.com", "movie.douban.com"], + "url": "return ((fun.indexOF('/group/') || fun.indexOF('/subject/')) && fun.indexOF('/discussion'))", "pager": { "nextL": "span.next > a", - "pageE": "table.olt > tbody > tr:not(.th)", - "replaceE": ".paginator" + "pageE": "table.olt > tbody > tr:not(:first-of-type)", + "replaceE": ".paginator", + "scrollD": 1000 } }, "知乎 - 用户主页/收藏夹": {