random user agents
This commit is contained in:
parent
4e8ca3192f
commit
8e5f8c8a10
8 changed files with 418 additions and 12 deletions
6
text.go
6
text.go
|
@ -136,7 +136,7 @@ func fetchAndCacheTextResults(query, safe, lang string, page, resultsPerPage int
|
|||
}{
|
||||
{PerformGoogleTextSearch, "Google"},
|
||||
{PerformDuckDuckGoTextSearch, "DuckDuckGo"},
|
||||
{PerformQwantTextSearch, "Qwant"},
|
||||
// {PerformQwantTextSearch, "Qwant"},
|
||||
}
|
||||
|
||||
wg.Add(len(searchFuncs))
|
||||
|
@ -182,8 +182,8 @@ func sourceOrder(source string) int {
|
|||
return 1
|
||||
case "DuckDuckGo":
|
||||
return 2
|
||||
case "Qwant":
|
||||
return 3
|
||||
// case "Qwant":
|
||||
// return 3
|
||||
default:
|
||||
return 4
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue