IRC bot in Twisted
See requirements.txt for... the requirements. The easiest way to install them is with pip. Built using python 2.7.3.
Setup instructions:
- Install dependencies with
pip install -r requirements.txt
. - create a config.cfg file with keys for 'wolfram' and 'rottentomatoes' sections.*
- create a files directory with messages.json and user_info.json inside of it.
- create a log directory for the log files.
*your config file should be in the standard cfg/ini format http://en.wikipedia.org/wiki/INI_file#Example.
If you don't have pip, use easy install or apt-get to get it
You will probably need the libxml2-dev and libxslt-dev packages (for BeautifulSoup, used for scrapers).
apt-get install libxml2-dev libxslt-dev
You will need Xcode with commandline tools installed and (probably?) the libxml packages mentioned above
If you get it running on windows and have easy to follow steps, feel free to udpate this.
python AL.py <server> <port> <channel> <logfile>