chiark / gitweb /
use google.co.uk for definitions
authorMatthew Vernon <matthew@rapun.sel.cam.ac.uk>
Fri, 7 Aug 2009 14:19:41 +0000 (15:19 +0100)
committerMatthew Vernon <matthew@rapun.sel.cam.ac.uk>
Fri, 7 Aug 2009 14:19:41 +0000 (15:19 +0100)
commands.py

index fa80e00e74851c7880260ca50f17b70bc14987b5..7e4a94c130ddee2eb090ca3ccb7ab8bd2332709d 100644 (file)
@@ -233,7 +233,7 @@ def googleq(bot, cmd, nick, conn, public):
 # Look up the definition of something using google
 def defineq(bot, cmd, nick, conn, public):
     cmdrest = string.join(cmd.split()[1:])
-    targ = ("http://www.google.com/search?q=define%%3A%s&ie=utf-8&oe=utf-8"
+    targ = ("http://www.google.co.uk/search?q=define%%3A%s&ie=utf-8&oe=utf-8"
             % urllib.quote_plus(cmdrest))
     try:
         # Just slurp everything into a string