# 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