From f4eeb2cfb04f90fcc13f206858b52f4fafe03495 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 12 May 2022 17:38:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[=E7=99=BE=E5=BA=A6?= =?UTF-8?q?=E8=B4=B4=E5=90=A7=20-=20=E6=90=9C=E7=B4=A2=E9=A1=B5]=20?= =?UTF-8?q?=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 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 1d0181f..3d3f21c 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -342,6 +342,15 @@ "loadTime": 1000 } }, + "百度贴吧 - 搜索页": { + "host": "tieba.baidu.com", + "url": "/^\\/f\\/search\\/res/", + "pager": { + "nextL": "a.next", + "pageE": ".s_post_list > div", + "replaceE": ".pager" + } + }, "百度贴吧 - 帖子内": { "host": ["tieba.baidu.com","jump2.bdimg.com"], "url": "if (location.hostname == 'jump2.bdimg.com') location.hostname = 'tieba.baidu.com'; return (fun.indexOF('/p/')) ", @@ -370,15 +379,6 @@ "bF": "let scriptText = pageE[0].textContent.replace('Bigpipe.register(\"frs-list/pagelet/thread_list\", ',''); scriptText = scriptText.slice(0, scriptText.indexOf(').')); let temp = document.createElement('div'); temp.innerHTML = JSON.parse(scriptText).content; fun.getCSS('#frs_list_pager').innerHTML = fun.getCSS('#frs_list_pager',temp).innerHTML; return fun.src_bF(fun.getAllCSS('#thread_list>li',temp))" } }, - "百度贴吧 - 搜索页": { - "host": "tieba.baidu.com", - "url": "/^\\/f\\/search\\/res/", - "pager": { - "nextL": "a.next", - "pageE": ".s_post_list > div", - "replaceE": ".pager" - } - }, "豆瓣 - 短评": { "host": "movie.douban.com", "url": "/^\\/subject\\/\\d+\\/comments/",