Skip to content

Commit

Permalink
update google param
Browse files Browse the repository at this point in the history
  • Loading branch information
SchneeHertz committed Aug 29, 2023
1 parent 3cf6ef7 commit a4b33fe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,10 @@ const functionAction = {
const getInformationFromGoogle = async ({ queryString }) => {
let options = { proxy: proxyString }
let additionalQueryParam = {
lr: 'lang_zh-CN',
hl: 'zh-CN',
cr: 'countryCN',
gl: 'cn',
// lr: 'lang_zh-CN',
// hl: 'zh-CN',
// cr: 'countryCN',
// gl: 'cn',
safe: 'high'
}
let googleRes = await google({ options, disableConsole: true, query: queryString, limit: 6, additionalQueryParam })
Expand Down

0 comments on commit a4b33fe

Please sign in to comment.