mirror of
https://code.dumpstack.io/tools/wi.git
synced 2024-11-14 06:19:19 +02:00
Disable duckduckgo redirect
This commit is contained in:
parent
b95b24b6f4
commit
e78fc03417
2
main.go
2
main.go
|
@ -103,6 +103,6 @@ func main() {
|
|||
case "history":
|
||||
commands.History(db, *historyListItems, 20, *historyListAll)
|
||||
case "search":
|
||||
commands.Get(db, jar, "https://duckduckgo.com/html/?q="+strings.Join(*searchArgs, "+"))
|
||||
commands.Get(db, jar, "https://duckduckgo.com/html/?kd=-1&q="+strings.Join(*searchArgs, "+"))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue