Skip to content

Commit 0ee0b5f

Browse files
committed
Update pagetualRules.json
1 parent 345e20d commit 0ee0b5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Pagetual/pagetualRules.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4783,7 +4783,7 @@
47834783
"pageBar": "pageBar.classList.add('j_thread_list');pageBar.dataset.field='{}'",
47844784
"url": "^https?://tieba\\.baidu\\.com/.+",
47854785
"pageElement": "ul#thread_list>li",
4786-
"pageNum": "&pn={50*($p-1)}",
4786+
"pageNum": "[\\?&]pn={50*($p-1)}",
47874787
"nextLink": ".next.pagination-item "
47884788
},
47894789
{
@@ -4792,7 +4792,7 @@
47924792
"nextLink": "//div[@class=\"pb_footer\"]//a[starts-with(text(), '下一页')]",
47934793
"pageElement": "//div[@class=\"p_postlist\"]/div[starts-with(@class, 'l_post')]",
47944794
"action": 1,
4795-
"pageNum": "&pn={$p}",
4795+
"pageNum": "[\\?&]pn={$p}",
47964796
"url": "^https?://tieba\\.baidu\\.com/p/.+",
47974797
"wait": "if(doc==document)return true;let lzl=doc.querySelector('div.hideLzl');if(lzl){var actualTop=lzl.offsetTop;var current=lzl.offsetParent;while(current!==null){actualTop+=current.offsetTop;current=current.offsetParent;}doc.body.scrollTop=actualTop;doc.documentElement.scrollTop=actualTop;return false}else{return true}",
47984798
"history": 0

0 commit comments

Comments
 (0)