Overview

What is this I don't even

  1. Mine John Scalzi's twitter feed for band names.
  2. ???
  3. Profit!

Installing

You'll need a unix-style environment (linux, terminal in a mac, or similar), with python and hg installed (and virtualenv if you follow my installation advice).

Installing (if you know enough to do this differently you don't need my advice):

$ hg clone https://tikitu@bitbucket.org/tikitu/my_next_band
$ cd my_next_band
$ virtualenv --no-site-packages .
$ bin/pip install zc.buildout
$ bin/buildout

Running

See the script's help for usage instructions:

$ bin/my_next_band -h

It claims that the arguments --cache-file and --output-file are optional, but that is bunkum. The first gives the filename to store progress in (in a json format, containing all tweets collected so far and a record of where in the stream we've got to), the second says where to write the html to. You probably also want to give --log-file.