mirror of
https://code.dumpstack.io/tools/wi.git
synced 2024-11-16 13:23:34 +00: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":
|
case "history":
|
||||||
commands.History(db, *historyListItems, 20, *historyListAll)
|
commands.History(db, *historyListItems, 20, *historyListAll)
|
||||||
case "search":
|
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 a new issue