Merge pull request #78 from conor-f/patch-1

(search) Fix broken !ddg handling
This commit is contained in:
Viktor 2024-02-08 13:45:38 +01:00 committed by GitHub
commit 06997ff255
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,7 +20,7 @@ public class BangCommand implements SearchCommandInterface {
public BangCommand()
{
bangsToPattern.put("!g", "https://www.google.com/search?q=%s");
bangsToPattern.put("!ddg", "https://duckduckgo.com/search?q=%s");
bangsToPattern.put("!ddg", "https://duckduckgo.com/?q=%s");
bangsToPattern.put("!w", "https://search.marginalia.nu/search?query=%s+site:en.wikipedia.org&profile=wiki");
}