新增 [Libre Search]、[4get.ca] 支持; 更新 [Startpage 搜索] 规则

This commit is contained in:
xiu2
2025-06-17 08:57:13 +08:00
parent b781f01e02
commit 1d9ad859ea
+32 -13
View File
@@ -182,11 +182,21 @@
"url": "/\\/search/",
"history": false,
"pager": {
"nextL": "js; return fun.getNextF('//div[contains(@class,\"pagination\")]/form[./button[@class=\"pagination__next-prev-button next\"]]')",
"pageE": "section.w-gl--desktop>div",
"nextL": "js; return fun.getNextF('//div[contains(@class,\"pagination\")]/form[last()]')",
"pageE": ".result,head>style[data-emotion]",
"replaceE": ".pagination"
}
},
"Libre Search": {
"host": "so.ddns-ip.net",
"url": "/^\\/search/",
"history": false,
"pager": {
"nextL": "js; return fun.getNextF('.next_page')",
"pageE": "#urls>[class^=template_group_], #urls>.result",
"replaceE": "#pagination"
}
},
"Yandex 搜索": {
"host": ["yandex.com","yandex.ru","yandex.ua","yandex.by","yandex.kz","yandex.uz","yandex.com.tr"],
"url": "/^\\/search\\//",
@@ -288,6 +298,15 @@
"replaceE": ".pagination"
}
},
"4get.ca 搜索": {
"host": "4get.ca",
"url": "/^\\/(web|images|videos|news|music)/",
"blank": 3,
"pager": {
"nextL": ".nextpage",
"pageE": ".text-result, .image-wrapper"
}
},
"百度贴吧 - 搜索页": {
"host": "tieba.baidu.com",
"url": "/^\\/f\\/search\\/res/",
@@ -342,17 +361,17 @@
"replaceE": "#paginator"
}
},
"豆瓣 - top250/分集短评/剧评影评/在看/想看/看过/作品/图片": {
"host": ["movie.douban.com","music.douban.com","book.douban.com"],
"url": "return (fun.lp() == '/top250' || fun.indexOF(/^\\/subject\\/\\d+\\/(episode|tv_discuss|reviews|photos)/) || fun.indexOF(/^\\/people\\/.+\\/(do|wish|collect)/) || fun.indexOF(/^\\/celebrity\\/\\d+\\/(movies|photos)/))",
"blank": 5,
"pager": {
"nextL": "link[rel='next']",
"pageE": ".grid_view,.article>.indent>p.ul,.article>.indent>table,#comments,.review-list,.interest-list,.grid-view,.grid_view>ul>li,.poster-col3>li",
"replaceE": ".paginator",
"scrollD": 2500
}
},
"豆瓣 - top250/分集短评/剧评影评/在看/想看/看过/作品/图片": {
"host": ["movie.douban.com","music.douban.com","book.douban.com"],
"url": "return (fun.lp() == '/top250' || fun.indexOF(/^\\/subject\\/\\d+\\/(episode|tv_discuss|reviews|photos)/) || fun.indexOF(/^\\/people\\/.+\\/(do|wish|collect)/) || fun.indexOF(/^\\/celebrity\\/\\d+\\/(movies|photos)/))",
"blank": 5,
"pager": {
"nextL": "link[rel='next']",
"pageE": ".grid_view,.article>.indent>p.ul,.article>.indent>table,#comments,.review-list,.interest-list,.grid-view,.grid_view>ul>li,.poster-col3>li",
"replaceE": ".paginator",
"scrollD": 2500
}
},
"豆瓣 - 广播/日记/书评/影评评论": {
"host": ["www.douban.com","book.douban.com","movie.douban.com"],
"url": "return ((fun.indexOF(/^\\/people\\/.+\\/status/) && (!fun.indexOF('tab=','s') || fun.indexOF('tab=comment','s'))) || (fun.indexOF(/^\\/note\\/\\d+\\//) && !fun.indexOF('type=','s')) || fun.indexOF(/^\\/review\\/\\d+\\//))",