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
Block a user