Skip to content

Commit f4eeb2c

Browse files
committed
优化 [百度贴吧 - 搜索页] 规则
1 parent a957beb commit f4eeb2c

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

other/Autopage/rules.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,15 @@
342342
"loadTime": 1000
343343
}
344344
},
345+
"百度贴吧 - 搜索页": {
346+
"host": "tieba.baidu.com",
347+
"url": "/^\\/f\\/search\\/res/",
348+
"pager": {
349+
"nextL": "a.next",
350+
"pageE": ".s_post_list > div",
351+
"replaceE": ".pager"
352+
}
353+
},
345354
"百度贴吧 - 帖子内": {
346355
"host": ["tieba.baidu.com","jump2.bdimg.com"],
347356
"url": "if (location.hostname == 'jump2.bdimg.com') location.hostname = 'tieba.baidu.com'; return (fun.indexOF('/p/')) ",
@@ -370,15 +379,6 @@
370379
"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))"
371380
}
372381
},
373-
"百度贴吧 - 搜索页": {
374-
"host": "tieba.baidu.com",
375-
"url": "/^\\/f\\/search\\/res/",
376-
"pager": {
377-
"nextL": "a.next",
378-
"pageE": ".s_post_list > div",
379-
"replaceE": ".pager"
380-
}
381-
},
382382
"豆瓣 - 短评": {
383383
"host": "movie.douban.com",
384384
"url": "/^\\/subject\\/\\d+\\/comments/",

0 commit comments

Comments
 (0)