From e78fc03417d65f7633a3b2a4e4ae9d9797b12aaf Mon Sep 17 00:00:00 2001 From: Mikhail Klementyev Date: Thu, 5 Oct 2017 09:44:20 +0300 Subject: [PATCH] Disable duckduckgo redirect --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 68078cb..2dbb8c2 100644 --- a/main.go +++ b/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, "+")) } }