Disable duckduckgo redirect

This commit is contained in:
Mikhail Klementyev 2017-10-05 09:44:20 +03:00
parent b95b24b6f4
commit e78fc03417

View File

@ -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, "+"))
}
}