mirror of
https://github.com/wassname/chatGPTBox.git
synced 2026-06-27 19:14:37 +08:00
presearch support (#592)
This commit is contained in:
@@ -101,6 +101,7 @@ const urls = {
|
||||
searx: ['https://searx.tiekoetter.com/search?q=hello'],
|
||||
ecosia: [], // unknown verify method https://www.ecosia.org/search?q=hello
|
||||
neeva: [], // unknown verify method(FetchError: maximum redirect reached) https://neeva.com/search?q=hello
|
||||
presearch: [],
|
||||
}
|
||||
|
||||
const commonHeaders = {
|
||||
|
||||
@@ -117,6 +117,14 @@ export const config = {
|
||||
appendContainerQuery: ['.search-index__searchHeaderContainer-2JD6q'],
|
||||
resultsContainerQuery: ['.result-group-layout__component-1jzTe', '#search'],
|
||||
},
|
||||
presearch: {
|
||||
inputQuery: ["input[name='q']"],
|
||||
sidebarContainerQuery: [
|
||||
'div.w-full.\\32 lg\\:flex.\\32 lg\\:flex-row-reverse.\\32 lg\\:justify-end > div.flex.flex-col > div.z-1',
|
||||
],
|
||||
appendContainerQuery: [],
|
||||
resultsContainerQuery: ['div.text-gray-300.relative.z-1'],
|
||||
},
|
||||
bilibili: {
|
||||
inputQuery: bilibili.inputQuery,
|
||||
sidebarContainerQuery: ['#danmukuBox'],
|
||||
|
||||
Reference in New Issue
Block a user