Limnoria/plugins/Google
Gordon Shumway 6e47278b9f
Google: Set User-Agent override. (#1426)
With a custom (globally-configured) user-agent, Google may serve a different page, which breaks this plugin.

This override disables this custom user-agent and uses a predefined one, which is known to work.
2020-07-14 14:44:43 +02:00
..
locales Fix msgfmt warnings. 2020-03-26 22:10:28 +01:00
__init__.py Use importlib instead of imp. 2020-01-26 12:00:08 +01:00
config.py Google: Set default value of maximumResults to 3 2014-10-20 14:19:18 +02:00
messages.pot Squashed commit of the following: 2014-12-20 14:37:27 +01:00
parser.py Google: Fix plugin. 2020-07-01 10:37:22 +02:00
plugin.py Google: Set User-Agent override. (#1426) 2020-07-14 14:44:43 +02:00
README.md changed the link to markdown format 2016-02-09 20:09:35 +02:00
test.py Google: Update, with a proper HTML parser. 2020-05-24 18:57:27 +02:00

This is a simple plugin to provide access to the Google services we all know and love from our favorite IRC bot.

Commands: cache, calc, fight, google, lucky, phonebook, and translate

Basic usage

  1. google

Searches for a string and gives you 3 results from Google search >!google something

  1. lucky

Return the first result (Googles “Im Feeling Lucky” search) >!lucky something

  1. calc

Does mathematic calculations >!calc 5+4

  1. translate

Translates a string >!translate en ar test

Check: Supported language codes